[greenstone-users] GLI faiure (version 2.80) on Mac OSX and thanks

From Ma, Hongyan
DateFri Feb 29 11:30:41 2008
Subject [greenstone-users] GLI faiure (version 2.80) on Mac OSX and thanks
In-Reply-To (2501-150-135-161-45-1204231349-squirrel-webmail-scms-waikato-ac-nz)
Hi, Quan,

I followed your instructions. Again, it didn't work. :-( See below:
>You need to cd to the gsdl/collect/yourcollect/index/text folder first,
>then do "db2txt yourcollect.bdb > yourcollect.txt"
nicole-alemannes-powerbook-g4-15:/opt/greenstone/collect/demo/index/text
nicole$ db2txt demo.bdb > demo.txt
-bash: db2txt: command not found

>"source setup.bash" is to setup the greenstone environment. "import.pl"
>should be found from the environment path after that. So you can check to
>see whether the path has included gsdl/bin/script.
Yes, I did it. Then I got:
"GSDLHOME not set " error.
However, when I did "source setup.bash" it said "Your environment is
already set up for Greenstone! ".

>Do you have permission to read and write the gsdl/collect folder?

Yes.

Now, I'm really lost. :-(
Hongyan

> >
> > What's the next? Hongyan
> >
> > At 04:41 PM 2/27/2008, qq6@cs.waikato.ac.nz wrote:
> >>Hi
> >>
> >>It seams something wrong with the gdbm database. I suspected that
> >> matadata
> >>values have not been stored into database successfully. But you can check
> >>it by outputting the database
> >>(GSDL/collect/YOURCOLLECT/index/text/YOURCOLLECT.dbd) into a text file
> >>using greenstone utility "db2txt".
> >>
> >>cd to your Greenstone directory and run setup.bash :
> >>cd /usr/local/gsdl
> >>source setup.bash
> >>db2txt YOURCOLLECT.bdb > YOURCOLLECT.txt
> >>
> >>In addition, you can use command line to import and build the collection
> >>to get error message.
> >>cd to your Greenstone directory and run setup.bash:
> >>cd /usr/local/gsdl
> >>source setup.bash
> >>perl import.pl YOURCOLLECT
> >>perl buildcol.pl YOURCOLLECT
> >>
> >>Regards
> >>Quan
> >>
> >>
> >> > I have a Mac PowerBook G4. And it seemed that I've got Greenstone
> >> > 2.80 working. But I have some problems with GLI. Please help me out.
> >> > Thanks a lot.
> >> >
> >> > I have the Librarian Interface running, but I can't seem to get it to
> >> > do anything. For example, I can create a new collection, but then I
> >> > can't open it and work in it (when I try to open a newly created
> >> > collection the program just hangs). I can't get into the demo
> >> > collection through the Librarian Interface either. Sometimes it
> >> > doesn't hang, but I end up with a message that it can't open the
> >> > collection. I think I can't get it to point to the right place--I've
> >> > tried several different folders, but I'm really just guessing at what
> >> > the problem is and what the solution would be. Other times, when I
> >> > try to open the demo collection the program hangs instead of giving
> >> > me the error message.
> >> >
> >> > But I can search the demo collection using the Greenstone Demo web
> >> > page that I access through http://localhost/gli/cgi-bin/library.
> >> >
> >> > It seemed to be a PATH problem. I searched for build.cfg and found
> >> > that it's in the folder "opt/greenstone/collect/demo/"
> >> > The error log, /opt/greenstone/etc/error.txt, contains the following
> >> > information:
> >> > Warning: redefinition of Search terms[l=fr] on line
> >> > 607 of /opt/greenstone/macros/french.dm
> >> > Warning: redefinition of Search terms[l=fr] on line
> >> > 607 of /opt/greenstone/macros/french.dm
> >> > Warning: redefinition of Search terms[l=fr] on line
> >> > 607 of /opt/greenstone/macros/french.dm
> >> > Warning: redefinition of Search terms[l=fr] on line
> >> > 607 of /opt/greenstone/macros/french.dm
> >> > Warning: redefinition of Search terms[l=fr] on line
> >> > 607 of /opt/greenstone/macros/french.dm
> >> > Warning: redefinition of Search terms[l=fr] on line
> >> > 607 of /opt/greenstone/macros/french.dm
> >> > Warning: redefinition of Search terms[l=fr] on line
> >> > 607 of /opt/greenstone/macros/french.dm
> >> > Warning: redefinition of Search terms[l=fr] on line
> >> > 607 of /opt/greenstone/macros/french.dm
> >> > Warning: redefinition of Search terms[l=fr] on line
> >> > 607 of /opt/greenstone/macros/french.dm
> >> > Warning: redefinition of Search terms[l=fr] on line
> >> > 607 of /opt/greenstone/macros/french.dm
> >> > Warning: redefinition of Search terms[l=fr] on line
> >> > 607 of /opt/greenstone/macros/french.dm
> >> > Warning: redefinition of Search terms[l=fr] on line
> >> > 607 of /opt/greenstone/macros/french.dm
> >> > Warning: redefinition of Search terms[l=fr] on line
> >> > 607 of /opt/greenstone/macros/french.dm
> >> > Warning: couldn't read build.cfg file for collection "backdrop",
> >> > gsdlhome="/opt/greenstone"
> >> > Warning: couldn't read build.cfg file for collection "test",
> >> > gsdlhome="/opt/greenstone"
> >> > Warning: redefinition of Search terms[l=fr] on line
> >> > 607 of /opt/greenstone/macros/french.dm
> >> > Warning: couldn't read build.cfg file for collection "backdrop",
> >> > gsdlhome="/opt/greenstone"
> >> > Warning: couldn't read build.cfg file for collection "test",
> >> > gsdlhome="/opt/greenstone"
> >> > Warning: redefinition of Search terms[l=fr] on line
> >> > 607 of /opt/greenstone/macros/french.dm
> >> > Warning: couldn't read build.cfg file for collection "backdrop",
> >> > gsdlhome="/opt/greenstone"
> >> > Warning: couldn't read build.cfg file for collection "test",
> >> > gsdlhome="/opt/greenstone"
> >> > Warning: redefinition of Search terms[l=fr] on line
> >> > 607 of /opt/greenstone/macros/french.dm
> >> > Warning: couldn't read build.cfg file for collection "backdrop",
> >> > gsdlhome="/opt/greenstone"
> >> > Warning: couldn't read build.cfg file for collection "test",
> >> > gsdlhome="/opt/greenstone"
> >> > Warning: redefinition of Search terms[l=fr] on line
> >> > 607 of /opt/greenstone/macros/french.dm
> >> > Warning: couldn't read build.cfg file for collection "backdrop",
> >> > gsdlhome="/opt/greenstone"
> >> > Warning: couldn't read build.cfg file for collection "test",
> >> > gsdlhome="/opt/greenstone"
> >> > database open failed on:
> >> > system problem: open on gdbm database "" failed
> >> >
> >> > Error: call to filter failed for in OIDtools::get_children (system
> >> > problem)
> >> > database open failed on:
> >> > system problem: open on gdbm database "" failed
> >> >
> >> > Error: call to filter failed for collection in OIDtools::get_info
> >> > (system problem)
> >> > Warning: redefinition of Search terms[l=fr] on line
> >> > 607 of /opt/greenstone/macros/french.dm
> >> > Warning: couldn't read build.cfg file for collection "backdrop",
> >> > gsdlhome="/opt/greenstone"
> >> > Warning: couldn't read build.cfg file for collection "test",
> >> > gsdlhome="/opt/greenstone"
> >> >
> >> > FYI, I briefly described my installation process below:
> >> > I accepted the default installation (Web Library) and the default
> >> > location (/opt/greenstone)
> >> > For server configuration:
> >> > 1. Edit the http.conf file by opening a hidden folder called /etc
> >> > Do this by
> >> > 1. choosing "Go to folder..." from the "Go" menu in the
> >> Finder.
> >> > 2. entering /etc
> >> > 3. scrolling down to the httpd folder and opening it.
> >> > 4. opening httpd.conf with TextEdit.
> >> > 5. Copy and paste the following lines into the very end of
> >> the
> >> > file:
> >> >
> >> > #Start copying here.
> >> > ScriptAlias /gsdl/cgi-bin "/opt/greenstone/cgi-bin"
> >> > <Directory "/opt/greenstone/cgi-bin">
> >> > Options None
> >> > AllowOverride None
> >> > </Directory>
> >> >
> >> > Alias /gsdl "/opt/greenstone"
> >> > <Directory "/opt/greenstone">
> >> > Options Indexes MultiViews FollowSymLinks
> >> > AllowOverride None
> >> > Order allow,deny
> >> > Allow from all
> >> > </Directory>
> >> >
> >> > #Stop copying here!
> >> >
> >> > 6. Save the file.
> >> >
> >> >
> >> > _______________________________________________
> >> > greenstone-users mailing list
> >> > greenstone-users@list.scms.waikato.ac.nz
> >> > https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
> >> >
> >
> >
> >