[OPEN-ILS-DEV] 500 Internal Server Error

Andrew McMenemy elvish.scout at gmail.com
Tue Dec 16 10:53:58 EST 2008


Here's the output, starting with the command:

opensrf at evgtest:~$
/home/opensrf/Evergreen-ILS-1.2.3.1/Open-ILS/src/support-scripts/settings-tester.pl
LWP::UserAgent version 2.036
XML::LibXML version 1.69
XML::LibXML::XPathContext version 1.69
XML::LibXSLT version 1.62
Net::Server::PreFork version 0.90
Cache::Memcached version 1.20
Class::DBI version 3.0.17
Class::DBI::AbstractSearch version 0.07
Template version 2.19
DBD::Pg version 1.49
Net::Z3950::ZOOM version 1.25
MARC::Record version 2.0.0
MARC::Charset version 1.0
MARC::File::XML version 0.88
Text::Aspell version 0.04
CGI version 3.15
DateTime::TimeZone version 0.70
DateTime version 0.41
DateTime::Format::ISO8601 version 0.06
DateTime::Format::Mail version 0.3001
Unix::Syslog version 1.0
GD::Graph3d version 0.63
JavaScript::SpiderMonkey version 0.19
Log::Log4perl version 1.15
Email::Send version 2.192
Text::CSV_XS version 0.32
Spreadsheet::WriteExcel::Big version 2.20
Tie::IxHash version 1.21

Checking Jabber connection
* Jabber successfully connected

Checking database connections
* WARNING: Deprecated <password> element used for the <reporter> entry.
Please use <pw> instead.
DBI
connect('dbname=evergreen;host=evgtest.asterisk.local;port=5432','evergreen',...)
failed: could not translate host name "evgtest.asterisk.local" to address:
Name or service not known
 at
/home/opensrf/Evergreen-ILS-1.2.3.1/Open-ILS/src/support-scripts/settings-tester.pl
line 216
* /opensrf/default/reporter/setup :: Unable to connect to database
dbi:Pg:dbname=evergreen;host=evgtest.asterisk.local;port=5432,
user=evergreen, password=evergreen
* /opensrf/default/reporter/setup :: Unable to connect to database
dbi:Pg:dbname=evergreen;host=evgtest.asterisk.local;port=5432,
user=evergreen, password=evergreen
SCALAR(0x8738ef8)
Use of uninitialized value in pattern match (m//) at
/home/opensrf/Evergreen-ILS-1.2.3.1/Open-ILS/src/support-scripts/settings-tester.pl
line 243, <DATA> line 29.
Use of uninitialized value in concatenation (.) or string at
/home/opensrf/Evergreen-ILS-1.2.3.1/Open-ILS/src/support-scripts/settings-tester.pl
line 244, <DATA> line 29.
Use of uninitialized value in concatenation (.) or string at
/home/opensrf/Evergreen-ILS-1.2.3.1/Open-ILS/src/support-scripts/settings-tester.pl
line 245, <DATA> line 29.
* ERROR: /opensrf/default/reporter/setup :: Database
dbi:Pg:dbname=evergreen;host=evgtest.asterisk.local;port=5432 has encoding
instead of UTF8 or UNICODE.
  * ERROR: Language 'plpgsql' is not enabled in the target database
  * ERROR: Language 'plperlu' is not enabled in the target database
  * ERROR: Language 'plperl' is not enabled in the target database
DBI
connect('dbname=evergreen;host=evgtest.asterisk.local;port=5432','evergreen',...)
failed: could not translate host name "evgtest.asterisk.local" to address:
Name or service not known
 at
/home/opensrf/Evergreen-ILS-1.2.3.1/Open-ILS/src/support-scripts/settings-tester.pl
line 216
* /opensrf/default/apps/open-ils.storage/app_settings/databases :: Unable to
connect to database
dbi:Pg:dbname=evergreen;host=evgtest.asterisk.local;port=5432,
user=evergreen, password=evergreen
* /opensrf/default/apps/open-ils.storage/app_settings/databases :: Unable to
connect to database
dbi:Pg:dbname=evergreen;host=evgtest.asterisk.local;port=5432,
user=evergreen, password=evergreen
SCALAR(0x8738ef8)
Use of uninitialized value in pattern match (m//) at
/home/opensrf/Evergreen-ILS-1.2.3.1/Open-ILS/src/support-scripts/settings-tester.pl
line 243, <DATA> line 29.
Use of uninitialized value in concatenation (.) or string at
/home/opensrf/Evergreen-ILS-1.2.3.1/Open-ILS/src/support-scripts/settings-tester.pl
line 244, <DATA> line 29.
Use of uninitialized value in concatenation (.) or string at
/home/opensrf/Evergreen-ILS-1.2.3.1/Open-ILS/src/support-scripts/settings-tester.pl
line 245, <DATA> line 29.
* ERROR: /opensrf/default/apps/open-ils.storage/app_settings/databases ::
Database dbi:Pg:dbname=evergreen;host=evgtest.asterisk.local;port=5432 has
encoding  instead of UTF8 or UNICODE.
  * ERROR: Language 'plpgsql' is not enabled in the target database
  * ERROR: Language 'plperlu' is not enabled in the target database
  * ERROR: Language 'plperl' is not enabled in the target database
DBI
connect('dbname=evergreen;host=evgtest.asterisk.local;port=5432','evergreen',...)
failed: could not translate host name "evgtest.asterisk.local" to address:
Name or service not known
 at
/home/opensrf/Evergreen-ILS-1.2.3.1/Open-ILS/src/support-scripts/settings-tester.pl
line 216
* /opensrf/default/apps/open-ils.cstore/app_settings :: Unable to connect to
database dbi:Pg:dbname=evergreen;host=evgtest.asterisk.local;port=5432,
user=evergreen, password=evergreen
* /opensrf/default/apps/open-ils.cstore/app_settings :: Unable to connect to
database dbi:Pg:dbname=evergreen;host=evgtest.asterisk.local;port=5432,
user=evergreen, password=evergreen
SCALAR(0x8738ef8)
Use of uninitialized value in pattern match (m//) at
/home/opensrf/Evergreen-ILS-1.2.3.1/Open-ILS/src/support-scripts/settings-tester.pl
line 243, <DATA> line 29.
Use of uninitialized value in concatenation (.) or string at
/home/opensrf/Evergreen-ILS-1.2.3.1/Open-ILS/src/support-scripts/settings-tester.pl
line 244, <DATA> line 29.
Use of uninitialized value in concatenation (.) or string at
/home/opensrf/Evergreen-ILS-1.2.3.1/Open-ILS/src/support-scripts/settings-tester.pl
line 245, <DATA> line 29.
* ERROR: /opensrf/default/apps/open-ils.cstore/app_settings :: Database
dbi:Pg:dbname=evergreen;host=evgtest.asterisk.local;port=5432 has encoding
instead of UTF8 or UNICODE.
  * ERROR: Language 'plpgsql' is not enabled in the target database
  * ERROR: Language 'plperlu' is not enabled in the target database
  * ERROR: Language 'plperl' is not enabled in the target database
DBI
connect('dbname=evergreen;host=evgtest.asterisk.local;port=5432','evergreen',...)
failed: could not translate host name "evgtest.asterisk.local" to address:
Name or service not known
 at
/home/opensrf/Evergreen-ILS-1.2.3.1/Open-ILS/src/support-scripts/settings-tester.pl
line 216
* /opensrf/default/apps/open-ils.reporter-store/app_settings :: Unable to
connect to database
dbi:Pg:dbname=evergreen;host=evgtest.asterisk.local;port=5432,
user=evergreen, password=evergreen
* /opensrf/default/apps/open-ils.reporter-store/app_settings :: Unable to
connect to database
dbi:Pg:dbname=evergreen;host=evgtest.asterisk.local;port=5432,
user=evergreen, password=evergreen
SCALAR(0x8738ef8)
Use of uninitialized value in pattern match (m//) at
/home/opensrf/Evergreen-ILS-1.2.3.1/Open-ILS/src/support-scripts/settings-tester.pl
line 243, <DATA> line 29.
Use of uninitialized value in concatenation (.) or string at
/home/opensrf/Evergreen-ILS-1.2.3.1/Open-ILS/src/support-scripts/settings-tester.pl
line 244, <DATA> line 29.
Use of uninitialized value in concatenation (.) or string at
/home/opensrf/Evergreen-ILS-1.2.3.1/Open-ILS/src/support-scripts/settings-tester.pl
line 245, <DATA> line 29.
* ERROR: /opensrf/default/apps/open-ils.reporter-store/app_settings ::
Database dbi:Pg:dbname=evergreen;host=evgtest.asterisk.local;port=5432 has
encoding  instead of UTF8 or UNICODE.
  * ERROR: Language 'plpgsql' is not enabled in the target database
  * ERROR: Language 'plperlu' is not enabled in the target database
  * ERROR: Language 'plperl' is not enabled in the target database

Checking database drivers to ensure <driver> matches <language>
* OK: Pg language is undefined for reporter base configuration
* OK: Pg language is perl in /opensrf/default/apps/open-ils.storage/language
* OK: pgsql language is C in /opensrf/default/apps/open-ils.cstore/language
* OK: pgsql language is C in
/opensrf/default/apps/open-ils.reporter-store/language

Checking libdbi and libdbi-drivers
/usr/local/lib/dbd/libdbdpgsql.so
 was not linked against libdbi - you probably need to compile libdbi-drivers
from source with the --enable-libdbi configure switch.

Checking hostname
 * OK: found hostname 'evgtest.asterisk.local' in <hosts> section of
opensrf.xml
opensrf at evgtest:~$



Language not enabled? This is a shot in the dark from my relatively clueless
self, but might that have something to do with it? If so, how would such a
thing be remedied?

Thanks,
Andrew

On Mon, Dec 15, 2008 at 8:51 AM, Jason Etheridge <jason at esilibrary.com>wrote:

> > 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:
>
> Andrew, could you re-run settings-tester.pl at this point?
>
> --
> Jason Etheridge
>  | VP, Community Support and Advocacy
>  | Equinox Software, Inc. / The Evergreen Experts
>  | phone:  1-877-OPEN-ILS (673-6457)
>  | email:  jason at esilibrary.com
>  | web:  http://www.esilibrary.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20081216/0618b1b2/attachment.htm 


More information about the Open-ils-dev mailing list