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

From qq6@cs.waikato.ac.nz
DateThu Feb 28 10:41:14 2008
Subject [greenstone-users] GLI faiure (version 2.80) on Mac OSX and thanks
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&#64;list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>