[OPEN-ILS-DEV] 500 Internal Server Error

Andrew McMenemy elvish.scout at gmail.com
Thu Dec 11 17:05:31 EST 2008


Hello again,

Thanks for the advice. I removed the IP address in the opensrf.xml file and
replaced it with localhost and then again with the name of the server on the
internal network, but unfortunately, in both cases I'm still running up
against the same errors. The "internal server error" page directed me to
check Apache's error log, and this is what turned up in the log file
(error.log) the last time I tried to access the search results page:

[Thu Dec 11 16:23:14 2008] [debug] ssl_engine_kernel.c(1752): OpenSSL:
Handshake: start
[Thu Dec 11 16:23:14 2008] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop:
before/accept initialization
[Thu Dec 11 16:23:14 2008] [debug] ssl_engine_io.c(1817): OpenSSL: read
11/11 bytes from BIO#957bfa8 [mem: 95d97d8] (BIO dump follows)
[Thu Dec 11 16:23:14 2008] [debug] ssl_engine_io.c(1750):
+-------------------------------------------------------------------------+
[Thu Dec 11 16:23:14 2008] [debug] ssl_engine_io.c(1789): | 0000: 4f 50 54
49 4f 4e 53 20-2a 20 48                 OPTIONS * H      |
[Thu Dec 11 16:23:14 2008] [debug] ssl_engine_io.c(1795):
+-------------------------------------------------------------------------+
[Thu Dec 11 16:23:14 2008] [debug] ssl_engine_kernel.c(1789): OpenSSL: Exit:
error in SSLv2/v3 read client hello A
[Thu Dec 11 16:23:14 2008] [info] [client 127.0.0.1] SSL library error 1 in
handshake (server localhost:443)
[Thu Dec 11 16:23:14 2008] [info] SSL Library Error: 336027900
error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol speaking
not SSL to HTTPS port!?
[Thu Dec 11 16:23:14 2008] [info] [client 127.0.0.1] Connection closed to
child 1 with abortive shutdown (server localhost:443)
[Thu Dec 11 16:23:15 2008] [info] [client 127.0.0.1] Connection to child 4
established (server localhost:443)
[Thu Dec 11 16:23:15 2008] [info] Seeding PRNG with 648 bytes of entropy
[Thu Dec 11 16:23:15 2008] [debug] ssl_engine_kernel.c(1752): OpenSSL:
Handshake: start
[Thu Dec 11 16:23:15 2008] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop:
before/accept initialization
[Thu Dec 11 16:23:15 2008] [debug] ssl_engine_io.c(1817): OpenSSL: read
11/11 bytes from BIO#957bfa8 [mem: 95d97d8] (BIO dump follows)
[Thu Dec 11 16:23:15 2008] [debug] ssl_engine_io.c(1750):
+-------------------------------------------------------------------------+
[Thu Dec 11 16:23:15 2008] [debug] ssl_engine_io.c(1789): | 0000: 4f 50 54
49 4f 4e 53 20-2a 20 48                 OPTIONS * H      |
[Thu Dec 11 16:23:15 2008] [debug] ssl_engine_io.c(1795):
+-------------------------------------------------------------------------+
[Thu Dec 11 16:23:15 2008] [debug] ssl_engine_kernel.c(1789): OpenSSL: Exit:
error in SSLv2/v3 read client hello A
[Thu Dec 11 16:23:15 2008] [info] [client 127.0.0.1] SSL library error 1 in
handshake (server localhost:443)
[Thu Dec 11 16:23:15 2008] [info] SSL Library Error: 336027900
error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol speaking
not SSL to HTTPS port!?
[Thu Dec 11 16:23:15 2008] [info] [client 127.0.0.1] Connection closed to
child 4 with abortive shutdown (server localhost:443)
[Thu Dec 11 16:23:16 2008] [info] [client 127.0.0.1] Connection to child 3
established (server localhost:443)
[Thu Dec 11 16:23:16 2008] [info] Seeding PRNG with 648 bytes of entropy
[Thu Dec 11 16:23:16 2008] [debug] ssl_engine_kernel.c(1752): OpenSSL:
Handshake: start
[Thu Dec 11 16:23:16 2008] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop:
before/accept initialization
[Thu Dec 11 16:23:16 2008] [debug] ssl_engine_io.c(1817): OpenSSL: read
11/11 bytes from BIO#957bfa8 [mem: 95d97d8] (BIO dump follows)
[Thu Dec 11 16:23:16 2008] [debug] ssl_engine_io.c(1750):
+-------------------------------------------------------------------------+
[Thu Dec 11 16:23:16 2008] [debug] ssl_engine_io.c(1789): | 0000: 4f 50 54
49 4f 4e 53 20-2a 20 48                 OPTIONS * H      |
[Thu Dec 11 16:23:16 2008] [debug] ssl_engine_io.c(1795):
+-------------------------------------------------------------------------+
[Thu Dec 11 16:23:16 2008] [debug] ssl_engine_kernel.c(1789): OpenSSL: Exit:
error in SSLv2/v3 read client hello A
[Thu Dec 11 16:23:16 2008] [info] [client 127.0.0.1] SSL library error 1 in
handshake (server localhost:443)
[Thu Dec 11 16:23:16 2008] [info] SSL Library Error: 336027900
error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol speaking
not SSL to HTTPS port!?
[Thu Dec 11 16:23:16 2008] [info] [client 127.0.0.1] Connection closed to
child 3 with abortive shutdown (server localhost:443)
Use of uninitialized value in string eq at
/openils/lib/perl5/OpenILS/WWW/SuperCat.pm line 917.
Use of uninitialized value in string eq at
/openils/lib/perl5/OpenILS/WWW/SuperCat.pm line 977.
[Thu Dec 11 16:24:59 2008] [error] [client 192.168.1.127] Can't call method
"request" on an undefined value at
/openils/lib/perl5/OpenILS/WWW/SuperCat.pm line 983.\n, referer:
http://192.168.1.15/opac/extras/slimpac/start.html
Use of uninitialized value in string eq at
/openils/lib/perl5/OpenILS/WWW/SuperCat.pm line 917.
Use of uninitialized value in string eq at
/openils/lib/perl5/OpenILS/WWW/SuperCat.pm line 977.
[Thu Dec 11 16:25:14 2008] [error] [client 192.168.1.127] Can't call method
"request" on an undefined value at
/openils/lib/perl5/OpenILS/WWW/SuperCat.pm line 983.\n, referer:
http://192.168.1.15/opac/extras/slimpac/start.html

So far, I've only tried to access the server from within the network (for
the first semester or so it's likely that we'll only be doing checkouts and
searches from workstations within the college campus and won't need to
access the server from without).

Also, in the interest of providing possibly relevant info, here's what the
500 Internal Server Error page itself listed at the bottom line of the page:

Apache/2.2.8 (Ubuntu) mod_ssl/2.2.8 OpenSSL/0.9.8g mod_perl/2.0.3
Perl/v5.8.8 Server at 192.168.1.15 Port 80

I can't help but think that the internal server error page and the inability
to log in with the staff client might be connected, but I'm 100% clueless
when it comes to Perl, and only slightly more knowledgeable when it comes to
Apache.

I understand that this is a bit much, and sorry to bother you with such a
gnarled mass of problems, out-of-the-blue, but I'm at a dead end and any
leads you could give me would be greatly appreciated.

Thanks again for your time,
Andrew

On Wed, Dec 10, 2008 at 9:18 AM, Dan Wells <dbw2 at calvin.edu> wrote:

> Hello Andrew,
>
> >>> I've changed the host in opensrf.xml to the server's internal ip, as we
> don't yet have a locally hosted domain (still transitioning from externall
> hosted website), but made no other changes from the install instructions
> before this happened.
>
> It seems you do have some error in your xml, and this might be it.  If you
> are talking about changing:
>
> <localhost></localhost>
>
> to:
>
> <192.168.1.234></192.168.1.234>  (with these being just sample IPs, of
> course)
>
> that isn't going to work in any strict XML parser, as valid XML entity
> names cannot start with numbers.
>
> I suggest keeping it as localhost, getting it to work locally, then
> renaming only if necessary for your situation.
>
> Good luck,
> DW
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20081211/1a9148c9/attachment-0001.htm 


More information about the Open-ils-dev mailing list