[greenstone-users] Issues in using "The Depositor"

From Cathy Chang
DateWed Jan 19 15:39:03 2011
Subject [greenstone-users] Issues in using "The Depositor"
In-Reply-To (4D3622BD-3020302-farpan-net)
Thanks, Michael!

I checked the error log and found the error message like this:

[Wed Jan 19 15:16:31 2011] [error] [client 127.0.0.1] Premature end of script headers: library.cgi, referer: http://localhost/greenstone/cgi-bin/library.cgi?e=p-00000-00---off-0--00-----0-10-0---0---0direct-10---4-------0-1l--10-en-50---20-home---0--1-00-0-0-01-1-0utfZz-8-00&a=depositor&p=select

I found the answer in our archive folder and copy that into http.conf file, but still it does not work for me.

ScriptAlias /greenstone/cgi-bin "C:/Greenstone/cgi-bin"
<Directory "C:/Greenstone/cgi-bin">
Options None
Options +ExecCGI
AllowOverride None
Order deny,allow
Allow from all
Allow from 127.0.0.1 10.1.1.5
</Directory>

Alias /greenstone "C:/Greenstone"
<Directory "C:/Greenstone">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
Allow from 127.0.0.1 10.1.1.5
</Directory>

<Directory "C:/Greenstone/cgi-bin">
Options +ExecCGI
</Directory>

And also I download 2.83-windows-library.cgi<http://wiki.greenstone.org/wiki/gsdoc/patches/2.83-windows-library.cgi> and 2.83-windows-oaiserver.cgi<http://wiki.greenstone.org/wiki/gsdoc/patches/2.83-windows-oaiserver.cgi> and copy into cgi-bin folder. But still the same error message comes out. There is note about using Depositor saying

"You might need to set permissions for the GSDLHOME/tmp and GSDLHOME/collect or GSDLHOME/collect/your_accessable_collection directory." Does anyone know how to set up this permission? And also I use Window7, is it the main concern? Does anyone encounter this problem? Your suggestions are very appreciated.

Cheers,
Cathy

From: Michael Silver [mailto:farpan@gmail.com] On Behalf Of Michael Silver
Sent: Wednesday, 19 January 2011 12:31 p.m.
To: Cathy Chang
Subject: Re: [greenstone-users] Issues in using "The Depositor"

Hi Cathy,

I'm sure there are others on the list that may have more specific recommendations, but here's what I would do.

1) Look at your Apache config in (usually) httpd.conf. It may "work", but it hasn't been truly set up correctly, IMHO. A server should provide a meaningful email address for contact. At bare minimum, the email address "admin@example.com"<mailto:admin@example.com> should be replaced with an actual email address so users have someone to contact if problems crop up. This may indicate that certain defaults have been left in the system that are interfering with Greenstone functioning correctly. Of course, that will be easier to locate once you find out what's gone wrong, so ...

2) Look at the error logs. The http.conf file may overwrite where they exist, but generally you can get there from /etc/httpd/logs/. My guesses would be a permission error (httpd user not allowed to read or write in a folder) or a location error. By location, I mean anything that will give a file or directory not found error. This could be a case difference (e.g., folder is named Greenstone instead of greenstone) or a simple location difference (the files are in a different directory location altogether). Finding the error in the logs will save a whole whack of guesswork.

Hope this helps...

Michael

On 18/01/2011 2:02 PM, Cathy Chang wrote:
Hi, all!
I am having trouble in using the Depositor. The Apache web server has been set up and it works. When I use the depositor to deposit the item, I chose one of the collections, then the following message comes out. The same error as when I use collector. I guess something is wrong with collection permission set-up in Apache web server. But I cannot figure it out. Can anyone give me some details on this? Thanks!
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@example.com<mailto:admin@example.com> and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log."

Cheers,
Cathy


________________________________
Happy New Year, Happy New You! Join us from 4pm 19 January 2011 in our Student Enrolment & Information Centre (City Campus) to get the information you need to create a happy new you. Visit www.wintec.ac.nz/newyou<http://www.wintec.ac.nz/newyou> for more info.


_______________________________________________

greenstone-users mailing list

greenstone-users@list.scms.waikato.ac.nz<mailto:greenstone-users@list.scms.waikato.ac.nz>

https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users


________________________________
Happy New Year, Happy New You! Join us from 4pm 19 January 2011 in our Student Enrolment & Information Centre (City Campus) to get the information you need to create a happy new you. Visit www.wintec.ac.nz/newyou for more info.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20110119/46f9364d/attachment.html