[OPEN-ILS-GENERAL] Problem with Pg password authentication in 'make install'

Warren A. Layton warren.layton at gmail.com
Sat Sep 13 15:24:54 EDT 2008


I'm attempting to install Evergreen 1.2.3.0 on an Ubuntu 8.04 machine.
I've been following the steps on the DokuWiki for Ubuntu 7.10 and I'm
near the end of the process. I'm now at the point of executing `make
install` under the Evergreen-1.2.3.0 directory and getting the
following error in the "storage-bootstrap" target in
Evergreen-ILS-1.2.3.0/Open-ILS/src/Makefile:

==================
(...)
Installing XSL files to /openils//var/xsl
c_apps-install
install
circ_rules-install
storage-bootstrap

WARNING!

storage-bootstrap will DESTROY all data within all of the ILS tables
in your database.
The database this script will touch has a DBI DSN of
    dbi:Pg:host=127.0.0.1;dbname=evergreen;port=5432
Type control-c to avoid destroying all of the data.  Type enter to continue...


/bin/sh: <my chosen DB password, with the first two characters chopped
off>: command not found
make[1]: *** [storage-bootstrap] Error 127

Now run: chown -R opensrf:opensrf /openils/
root at bodleian:/home/opensrf/src/Evergreen-ILS-1.2.3.0# cd
./extras/import/../../sql/Pg/;
/home/opensrf/src/Evergreen-ILS-1.2.3.0/Open-ILS/src/sql/Pg
psql: FATAL:  password authentication failed for user "evergreen"
psql: FATAL:  password authentication failed for user "evergreen"

<repeated many times>
============

The scripts seems to be omitting the first two characters of my DB
password, which is causing this error. The culprit seems likely to be
either:
Evergreen-ILS-1.2.3.0/Open-ILS/src/sql/Pg/build-db.sh
or
Evergreen-ILS-1.2.3.0/Open-ILS/src/extras/import/build-oils-db.sh

If it makes a difference, the password I chose contains two special
characters: an '&' and a '#'.

Let me know if you need more info.

Cheers,
  Warren


More information about the Open-ils-general mailing list