[OPEN-ILS-GENERAL] PostgreSQL/Perl config script

mart steinholz mdsteinholz at gmail.com
Thu Dec 5 22:32:07 EST 2013


So..., I'm getting close to getting my first install up and running, but am
stuck at setting up the database. When running the following script (as
listed in the official documentation for 2.5.1)...I get the error listed a
little furher down.

Here is the script...

perl Open-ILS/src/support-scripts/eg_db_config --update-config \

> --service all --create-database --create-schema --create-offline \

> --user evergreen --password evergreen --hostname localhost –port \

> --database 1 --admin-user egadmin --admin-pass egadmin

Note: I have used a variety of things for "database" (name) and have also
done this with and without a port number (port 5222)

I have uninstalled all versions of PostgreSQL on my machine and am now
runninge 9.1. Here is the error message I receive.


Any help would be greatly appreciated.


Matthias


...I get the following error

===================================

Backed up original configuration file to
'/openils/conf/opensrf.xml.2013.12.5.22.19.16'

psql: received invalid response to SSL negotiation: <

Argument "" isn't numeric in numeric ge (>=) at
Open-ILS/src/support-scripts/eg_db_config line 153.

psql: received invalid response to SSL negotiation: <

********************************************************************************


* 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 #Evergreen on the *

* freenode IRC network. *

********************************************************************************


install_driver(Pg) failed: Can't locate DBD/Pg.pm in @INC (@INC contains:
/etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl .) at (eval 9) line 3.

Perhaps the DBD::Pg perl module hasn't been fully installed,

or perhaps the capitalisation of 'Pg' isn't right.

Available drivers: AnyData, DBM, ExampleP, File, Gofer, Proxy, SQLite,
Sponge.

at Open-ILS/src/support-scripts/eg_db_config line 220
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20131205/6c840375/attachment-0001.htm>


More information about the Open-ils-general mailing list