[OPEN-ILS-DEV] Installing Evergreen on Ubuntu Xenial

Job Diógenes Ribeiro Borges job at nupelia.uem.br
Sun Jan 8 11:23:16 EST 2017


Dear Francois,

I had experience with this that you are doing.
Perhaps I use Ubuntu and Linux mint in my desktop and laptop computers.
In
My servers (virtual machine KVM),
I now use Debian.

In any way, it's not so different, just few adjustments.

but I could test, in next week yours configuration in a new virtual server
to see.

Until then.

Job






Em 8 de jan de 2017 1:06 PM, "françois" <f.posseik at riseup.net> escreveu:

Dear all,

I am new to evergreen and I am trying to install it, with the aim of
using it together with VuFind at a later stage.

I started the installation on an updated and freshly installed
Ubuntu-xenial server. I install Evergreen 2.11 and openSRF 2.5.0.

I followed the installation instructions (of very good quality!) very
closely almost up to the end. I got stuck at the point where I should
start Evergreen
(http://docs.evergreen-ils.org/2.11/_starting_evergreen.html)

But let me start with the various steps of the troubleshooting page:

Now I tried the follow the troubleshooting page:
https://wiki.evergreen-ils.org/doku.php?id=troubleshooting:checking_for_
errors

==============  STEP 1:
Stopping apache and openSRF is ok.

==============  STEP 3:
$ ps -aef | grep ejabberd
ejabberd  1176     1  0 13:52 ?        00:00:03
/usr/lib/erlang/erts-7.3/bin/beam.smp -K true -P 250000 -- -root
/usr/lib/erlang -progname erl -- -home /var/lib/ejabberd -- -sname
ejabberd -noshell -noinput -noshell -noinput -mnesia dir
"/var/lib/ejabberd" -ejabberd log_rate_limit 100 log_rotate_size 0
log_rotate_date "" -s ejabberd -smp auto start
ejabberd  1286  1176  0 13:52 ?        00:00:00 inet_gethost 4
ejabberd  1287  1286  0 13:52 ?        00:00:00 inet_gethost 4

NOTE:
/usr/lib/erlang/erts-5.5.5/bin/epmd -daemon
is missing

$ ps -aef | grep memcached
memcache  1102     1  0 13:52 ?        00:00:00 /usr/bin/memcached -m 64
-p 11211 -u memcache -l 127.0.0.1

==============  STEP 5: Start the openSRF router:
$ osrf_control --localhost --start-all
* starting router and services for localhost
* starting services for localhost
* starting service pid=1832 opensrf.settings
* starting service pid=1840 open-ils.acq
* starting service pid=1853 open-ils.booking
* starting service pid=1861 open-ils.cat
* starting service pid=1869 open-ils.supercat
* starting service pid=1877 open-ils.search
* starting service pid=1885 open-ils.circ
* starting service pid=1893 open-ils.actor
* starting service pid=1901 open-ils.auth_proxy
* starting service pid=1909 open-ils.storage
* starting service pid=1917 open-ils.justintime
* starting service pid=1925 open-ils.collections
* starting service pid=1933 open-ils.reporter
* starting service pid=1941 open-ils.permacrud
* starting service pid=1949 open-ils.trigger
* starting service pid=1957 open-ils.url_verify
* starting service pid=1965 open-ils.fielder
* starting service pid=1973 open-ils.vandelay
* starting service pid=1981 open-ils.serial
* starting service pid=1990 opensrf.math
* starting service pid=2000 opensrf.dbmath
* starting service pid=2010 open-ils.auth
* starting service pid=2019 open-ils.auth_internal
* starting service pid=2028 open-ils.cstore
* starting service pid=2037 open-ils.reporter-store
* starting service pid=2047 open-ils.pcrud


$ grep ERR /openils/var/log/*router.log
grep: /openils/var/log/*router.log: No such file or directory

$ ps -aef | grep Router
opensrf   1824     1  0 14:25 ?        00:00:00 OpenSRF Router
opensrf   1825     1  0 14:25 ?        00:00:00 OpenSRF Router


==============  STEP 6:
These log files do not exist:
/openils/var/log/router.log
/openils/var/log/osrfsys.log
I attached the following files, replacing passwords by Xs:
/openils/conf/opensrf.xml
/openils/conf/opensrf_core.xml


$ ps -aef | grep -i opensrf
gives a good output.

==============  STEP 7:
I don't know how to open "the OpenSRF C services" as
/openils/bin/osrf_ctl.sh does not exist in my version of opensrf.

$ grep ERR /openils/var/log/*.log
I copied the output in the attached ERR_in_osrfsys.log file.
I guess the line:
"/openils/bin/osrf_control [ERR :1909:CDBI.pm:30:] Your version of
Class::DBI, 3.0.17, is too new and incompatible with Evergreen." is the
main problem. Shall I really downgrade???

$ ps -aef | grep -i opensrf
Here the line with "OpenSRF System-C" is missing!


==============  STEP 8:
$ /openils/bin/autogen.sh -c /openils/conf/opensrf_core.xml -u
/openils/bin/autogen.sh: illegal option -- c
Updating Evergreen organization tree and IDL

Updating fieldmapper
 -> /openils/var/web/opac/common/js//fmall.js
Updating web_fieldmapper
 -> /openils/var/web/opac/common/js//fmcore.js
Updating OrgTree
removing OrgTree from the cache for locale hy-AM...
removing OrgTree from the cache for locale cs-CZ...
removing OrgTree from the cache for locale en-CA...
removing OrgTree from the cache for locale en-US...
removing OrgTree from the cache for locale fi-FI...
removing OrgTree from the cache for locale fr-CA...
removing OrgTree from the cache for locale ru-RU...
removing OrgTree from the cache for locale es-ES...
 -> /openils/var/web/opac/common/js//*/OrgTree.js
Updating OrgTree HTML
 -> /openils/var/web/opac/extras/slimpac//*/lib_list.inc
Updating locales selection HTML
 -> /openils/var/web/opac/extras/slimpac//locales.inc

Current Evergreen cache key: aa4663
Done

==============  STEP 9:
The test connection to Evergreen is successful with:
srfsh% login <admin-user> <admin-pass>


==============  STEP 10:
Issuing the command:
%sudo /etc/init.d/apache2 restart
[ ok ] Restarting apache2 (via systemctl): apache2.service.
could not start apache: the web-site is down.

I found two possible sources of error. The first is a problem with
loading /etc/apache2/eg_startup
The command sudo journalctl -xe returns:

Jan 08 12:53:36 Ubuntu-1604-xenial-64-minimal apache2[8565]:
[perl:error] [pid 8565] Can't load Perl file: /etc/apache2/eg_startup
for server localhost:0, exiting...
Jan 08 12:53:36 Ubuntu-1604-xenial-64-minimal apache2[8551]: Action
'start' failed.

There might also be a problem with my ssh key, but I not sure if it is
decisive. In /var/log/apache2/error.log I get the following messages:

[Thu Jan 05 06:25:03.382097 2017] [ssl:warn] [pid 29247] AH01906:
88.99.87.170:443:0 server certificate is a CA certificate
(BasicConstraints: CA == TRUE !?)
[Thu Jan 05 06:25:03.382363 2017] [ssl:error] [pid 29247] AH02217:
ssl_stapling_init_cert: can't retrieve issuer certificate! [subject:
CN=88.99.87.170,O=Alternative Bibliotek,ST=Some-State,C=
DE / issuer: CN=88.99.87.170,O=Alternative Bibliotek,ST=Some-State,C=DE
/ serial: 82AF5F69439281BF / notbefore: Jan  4 13:05:06 2017 GMT /
notafter: Jan  4 13:05:06 2018 GMT]
[Thu Jan 05 06:25:03.382377 2017] [ssl:error] [pid 29247] AH02604:
Unable to configure certificate 88.99.87.170:443:0 for stapling

I use at the moment a self signed SSL certificate. Shall I care about
this error message?

of course, there is nothing in:
$ ps -aef | grep -i apache

I attached the files:
/etc/apache2/eg_vhost.conf
/etc/apache2/sites-available/eg.conf




I guess I stop here for now.

Thank you in advance for the support!

Best wishes
François
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20170108/2fca0a7d/attachment.html>


More information about the Open-ils-dev mailing list