[OPEN-ILS-DEV] Trouble installing Evergreen 2.1.1
Wolf Halton
wolf.halton at gmail.com
Fri Mar 2 03:47:30 EST 2012
On Fri, Jan 27, 2012 at 9:17 AM, Sivagaami Shanmugam
<shaansika.220110 at gmail.com> wrote:
>> Hi Team,
>
>
> Am trying to install the latest version of evergreen 2.1.1... Everything
> went on smooth until I started with the postgresql part. I constantly get
> this error message when i try creating the DB with the the script
>
>
> perl Open-ILS/src/support-scripts/eg_db_config.pl --update-config --service
> all --create-database --create-schema --create-offline --user evergreen
> --password evergreen --hostname localhost --port 5432 --database evergreen
> --admin-user <admin> --admin-pass <>
> Backed up original configuration file to
> '/openils/conf/opensrf.xml.2012.1.27.19.38.14'
> DROP DATABASE
> CREATE DATABASE
> You are now connected to database "evergreen".
> psql:Open-ILS/src/support-scripts/../sql/Pg/create_database.sql:17: ERROR:
> could not access file "$libdir/plperl": No such file or directory
> psql:Open-ILS/src/support-scripts/../sql/Pg/create_database.sql:18: ERROR:
> could not access file "$libdir/plperl": No such file or directory
> psql:Open-ILS/src/support-scripts/../sql/Pg/create_database.sql:24:
> /usr/share/postgresql/9.1/contrib/tablefunc.sql: No such file or directory
> psql:Open-ILS/src/support-scripts/../sql/Pg/create_database.sql:26:
> /usr/share/postgresql/9.1/contrib/tsearch2.sql: No such file or directory
> psql:Open-ILS/src/support-scripts/../sql/Pg/create_database.sql:28:
> /usr/share/postgresql/9.1/contrib/pgxml.sql: No such file or directory
> psql:Open-ILS/src/support-scripts/../sql/Pg/create_database.sql:30:
> /usr/share/postgresql/9.1/contrib/hstore.sql: No such file or directory
>
> ------------------------------------------------------------------------------
> There was a problem creating the database.
> See above for more information.
>
> You may need to install the postgresql contrib package on this server.
>
> Followed the exact steps from this link.
>
> http://open-ils.org/documentation/install/README_2_1_1.html
>
> there is no such folder called /usr/share/postgresql/9.1/.. I have only 9.0
> and 8.4.
> Tried configuring with "--with-perl" option as well.
>
> Can someone help me with this please?
>
> Regards,
> Shiva.
>
I am going to make the dangerous assumption that you are still stuck
at this point and that you are using a debian/ubuntu OS. If not, them
this will not be all that useful.
If you did the install of the database with 90 as the end of the string:
make -f Open-ILS/src/extras/Makefile.install install_pgsql_server_debs_90
it will not ask for any postgresql 9.1 info
This is the step you are probably missing if you are having problems with
> perl Open-ILS/src/support-scripts/eg_db_config.pl --update-config --service
> all --create-database --create-schema --create-offline --user evergreen
> --password evergreen --hostname localhost --port 5432 --database evergreen
> --admin-user <admin> --admin-pass <>
You also need to put in an admin-user (without the "<>") for your
evergreen front end and password, or you will have issues logging into
the staff-client and website.
Hope late is better than never.
Wolf
--
This Apt Has Super Cow Powers - http://sourcefreedom.com
Advancing Libraries Together - http://LYRASIS.org
More information about the Open-ils-dev
mailing list