[OPEN-ILS-DEV] Regarding installation of Evergreen 1.0.4

Dibyendra Hyoju dibyendra at gmail.com
Thu May 7 01:42:46 EDT 2009


Hello everyone,

I have been trying to install Evergreen 1.4.0 on Ubuntu 8.04 Hardy Heron
since couple of days ago. I have successfully installed PostgreSQL 8.2
database system from the source code. Also, installation of the OpenSRF
1.0.6 was successful. After coming back to the installation of Evergreen
1.4.0, I have followed the provided 15 steps, as provided on
http://open-ils.org/dokuwiki/doku.php?id=server:1.4.0:install, but couldn't
succeed in starting Evergreen due to the problem occured in step 4, relating
to PostgreSQL.

While issuing the following command, following error occurs, although the
two configuration files contain correct authentication parameters for
PostgreSQL:

root at dibyendra-laptop:/home/opensrf/Evergreen-ILS-1.4.0.4#  perl
Open-ILS/src/support-scripts/eg_db_config.pl --update-config --service-all
--create-schema --create-bootstrap --create-offline --user evergreen
--password evergreendb --hostname localhost --port 5432 -- database
evergreen
Unknown option: service-all
Backed up original configuration file to
'/openils/conf/opensrf.xml.2009.5.7.11.16.10'
psql: FATAL:  role "evergreendb" does not exist
********************************************************************************
* Could not determine the version of PostgreSQL you have installed.  Our
best  *
* guess
was:                                                                   *
*
* which didn't make any sense.  For assistance, please
email                   *
* open-ils-general at list.georgialibraries.org or join #OpenILS-Evergreen on
the *
* freenode IRC
network.                                                        *
********************************************************************************
Writing database bootstrapping configuration to
/openils/conf/live-db-setup.pl
Writing offline database configuration to /openils/conf/offline-config.pl

-----------------

I have also attached result generated from settings-tester.pl so that the
problem can be traced easily. Any help will be appreciated.

Thank you.

-- 
With Best Regards,
Dibyendra Hyoju

Madan Puraskar Pustakalaya
Patan Dhoka, Lalitpur
Nepal
Phone: 977-1-15549948
Fax: 977-1-5536390
URL: www.madanpuraskar.org
Email: info at mpp.org.np
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20090507/1fd0e617/attachment.htm 
-------------- next part --------------
opensrf at dibyendra-laptop:~/Evergreen-ILS-1.4.0.4/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.68
Net::Server::PreFork version 0.90
Cache::Memcached version 1.20
Class::DBI version 0.96
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.90
DateTime version 0.47
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
Parse::RecDescent version 1.95.1
SRU version 0.97
JSON::XS version 2.232

Checking Jabber connection for user opensrf, domain private.localhost
* Jabber successfully connected

Checking Jabber connection for user opensrf, domain public.localhost
* Jabber successfully connected

Checking Jabber connection for user router, domain public.localhost
* Jabber successfully connected

Checking Jabber connection for user router, domain private.localhost
* Jabber successfully connected

Checking database connections
DBI connect('dbname=;host=;port=','',...) failed: FATAL:  database "host=" does not exist
 at ./settings-tester.pl line 205
* /opensrf/default/reporter/setup :: Unable to connect to database dbi:Pg:dbname=;host=;port=, user=, password=
* /opensrf/default/reporter/setup :: Unable to connect to database dbi:Pg:dbname=;host=;port=, user=, password=
SCALAR(0x87a7cb4)
Use of uninitialized value in pattern match (m//) at ./settings-tester.pl line 232, <DATA> line 32.
Use of uninitialized value in concatenation (.) or string at ./settings-tester.pl line 233, <DATA> line 32.
Use of uninitialized value in concatenation (.) or string at ./settings-tester.pl line 234, <DATA> line 32.
* ERROR: /opensrf/default/reporter/setup :: Database dbi:Pg:dbname=;host=;port= 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=;host=;port=','',...) failed: FATAL:  database "host=" does not exist
 at ./settings-tester.pl line 205
* /opensrf/default/apps/open-ils.storage/app_settings/databases :: Unable to connect to database dbi:Pg:dbname=;host=;port=, user=, password=
* /opensrf/default/apps/open-ils.storage/app_settings/databases :: Unable to connect to database dbi:Pg:dbname=;host=;port=, user=, password=
SCALAR(0x87a7cb4)
Use of uninitialized value in pattern match (m//) at ./settings-tester.pl line 232, <DATA> line 32.
Use of uninitialized value in concatenation (.) or string at ./settings-tester.pl line 233, <DATA> line 32.
Use of uninitialized value in concatenation (.) or string at ./settings-tester.pl line 234, <DATA> line 32.
* ERROR: /opensrf/default/apps/open-ils.storage/app_settings/databases :: Database dbi:Pg:dbname=;host=;port= 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=;host=;port=','',...) failed: FATAL:  database "host=" does not exist
 at ./settings-tester.pl line 205
* /opensrf/default/apps/open-ils.cstore/app_settings :: Unable to connect to database dbi:Pg:dbname=;host=;port=, user=, password=
* /opensrf/default/apps/open-ils.cstore/app_settings :: Unable to connect to database dbi:Pg:dbname=;host=;port=, user=, password=
SCALAR(0x87a7cb4)
Use of uninitialized value in pattern match (m//) at ./settings-tester.pl line 232, <DATA> line 32.
Use of uninitialized value in concatenation (.) or string at ./settings-tester.pl line 233, <DATA> line 32.
Use of uninitialized value in concatenation (.) or string at ./settings-tester.pl line 234, <DATA> line 32.
* ERROR: /opensrf/default/apps/open-ils.cstore/app_settings :: Database dbi:Pg:dbname=;host=;port= 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=;host=;port=','',...) failed: FATAL:  database "host=" does not exist
 at ./settings-tester.pl line 205
* /opensrf/default/apps/open-ils.reporter-store/app_settings :: Unable to connect to database dbi:Pg:dbname=;host=;port=, user=, password=
* /opensrf/default/apps/open-ils.reporter-store/app_settings :: Unable to connect to database dbi:Pg:dbname=;host=;port=, user=, password=
SCALAR(0x87a7cb4)
Use of uninitialized value in pattern match (m//) at ./settings-tester.pl line 232, <DATA> line 32.
Use of uninitialized value in concatenation (.) or string at ./settings-tester.pl line 233, <DATA> line 32.
Use of uninitialized value in concatenation (.) or string at ./settings-tester.pl line 234, <DATA> line 32.
* ERROR: /opensrf/default/apps/open-ils.reporter-store/app_settings :: Database dbi:Pg:dbname=;host=;port= 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
  * OK - found locally installed libdbi.so and libdbdpgsql.so in shared library path

Checking hostname
 * OK: found hostname 'localhost' in <hosts> section of opensrf.xml


More information about the Open-ils-dev mailing list