[Koha] Koha 2.29, HTTP 500 internal server error with Amazon AWS
Charles N Burns
charlesnburns at gmail.com
Wed Jul 23 16:33:21 NZST 2008
Please cc this email to my email address as I am not subscribed to the
list. I would subscribe, but I am setting up Koha for a friend's
community elementary school's library, but have no library of my own.
When I enable AWS (Amazon Web Services) with "AmazonContent = 1", any
attempt to view a book from search is met with the familiar:
"Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request."
An example of a URL that crashes Koha is this:
(So the problem seems to be in opac-detail.pl)
When I execute opac-detail.pl directly in the command line:
# export PERL5LIB=/usr/local/koha/intranet/modules
could not retrieve
at /usr/local/koha/intranet/modules/C4/Amazon.pm line 64.
Could not find opac-detail.xml in /usr/local/koha/opac/cgi-bin/ at
/usr/local/koha/intranet/modules/C4/Amazon.pm line 66
No log files mention anything special other than the access log, which
is pretty worthless:
# cat opac-access_log
10.0.0.196 - - [22/Jul/2008:22:22:25 -0600] "GET
/cgi-bin/koha/opac-detail.pl?bib=5338 HTTP/1.1" 500 663
Ubuntu Hardy 8.04 with most recent updates
Apache ID string: "Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.2 with
Suhosin-Patch Server at 10.0.0.161 Port 80"
So it looks like either Amazon isn't providing some XML file, or the
request generated by Koha is not correct.
Either way, I think it's extremely bad that the results of a request
to an external website (Amazon.com) had the effect of basically
"crashing" Koha. I think Koha really ought to handle this, though I
don't actually know if it's something Koha can prevent.
So the question is:
How do I get AWS to work with Koha?
"Be who you are and say what you feel, because those who mind don't
matter and those who matter don't mind." --Dr. Seuss
More information about the Koha