[OPEN-ILS-DEV] Evergreen installation problems

Keith Kelley keith.kelley at wmich.edu
Thu Feb 14 09:01:34 EST 2008


I have been trying to install evergreen for something like two
weeks now, and have had nothing but problems. Let me start with the
ones I've overcome, so that others will not fall into this same
pit:

(1) Apache 2.2.x will not work, Apache 2.0.x must be used.
(2) Postgres 8.3 will not work, Postgres 8.0, 8.1, or 8.2 must be
used.
(3) mod_perl must be downloaded and installed after apache (I
wouldn't have run into this problem if I didn't start with apache
2.2.x)
(4) libmemcache must be installed (a separate thing from
memcached)
(5) There are no installation instructions for OpenSRF (the link
from the installation page goes to a new document)
(6) The installation document for evergreen itself is buried very
deep and called "generic installation"

Where I really got stuck was at the apache configuration. I gather
one is supposed to use the eg_vhost.conf, as included from eg.conf.
Even if you click on the "Original Format" link you end up with an
html page. You cannot cut and paste this document either, as that
grabs line numbers as well. I think the only way to get this file is
the svn command line client. Also, one must delete the ScriptAlias
directive from the existing httpd.conf before including eg.conf or
apache won't start. Also, the directive OSRFGatewayLegacyJSON must
be commented out as it is not recognized and will also cause apache
to not start -- the comments say it is important, but it's clearly
not since it's not even valid (as of OpenSRF-0.9). 

Then, the opensrf_core.xml page doesn't tell what directory to copy
the example file to.

At some point during editing all these config files it became
painfully obvious that to put evergreen in /opt/openils rather than
/openils was a mistake.

The page regarding opensrf.xml is actually titled openils.xml, so
there enters even more confusion.

All of the links under "5. Bootstrapping the System" are wrong.

To test the apache config files and even get this far it was
necessary to have memcached running or I got only a misleading error
about a missing library.

Now, after finally getting it installed and trying to configure the
system I'm left with these errors in the error.log:

Thu Feb 14 08:47:49 2008] [error] [client 141.218.31.28]
actor::org_unit_type can't SELECT id, name, opac_label, depth,
parent, can_have_vols, can_have_users, referer:
http://wlib128.wmlib.wmich.edu/cgi-bin/config.cgi
[Thu Feb 14 08:47:49 2008] [error] [client 141.218.31.28] FROM  
actor.org_unit_type, referer:
http://wlib128.wmlib.wmich.edu/cgi-bin/config.cgi
[Thu Feb 14 08:47:49 2008] [error] [client 141.218.31.28] :
DBD::Pg::st execute failed: ERROR:  schema "actor" does not exist,
referer: http://wlib128.wmlib.wmich.edu/cgi-bin/config.cgi
[Thu Feb 14 08:47:49 2008] [error] [client 141.218.31.28]  [for
Statement "SELECT id, name, opac_label, depth, parent,
can_have_vols, can_have_users, referer:
http://wlib128.wmlib.wmich.edu/cgi-bin/config.cgi
[Thu Feb 14 08:47:49 2008] [error] [client 141.218.31.28] FROM  
actor.org_unit_type, referer:
http://wlib128.wmlib.wmich.edu/cgi-bin/config.cgi
[Thu Feb 14 08:47:49 2008] [error] [client 141.218.31.28] "] at
/usr/lib/perl5/site_perl/5.8.8/DBIx/ContextualFetch.pm line 52.,
referer: http://wlib128.wmlib.wmich.edu/cgi-bin/config.cgi
[Thu Feb 14 08:47:49 2008] [error] [client 141.218.31.28]  at
/opt/openils/var/cgi-bin/org_unit_types.cgi line 117, referer:
http://wlib128.wmlib.wmich.edu/cgi-bin/config.cgi

Any ideas?





More information about the Open-ils-dev mailing list