[OPEN-ILS-DEV] Errors at testing stage of OpenSRF installation (OpenSRF trunk)
Bradley Peters
bdp+eg at moberley.com
Fri Jan 1 14:42:08 EST 2010
I have been attempting to set up an installation of Evergreen on
Ubuntu 9.10 but have run into some difficulty with OpenSRF. I used a
checkout from trunk (1879) because 1.2.0 didn't have a prerequisites
target for ubuntu-karmic whereas trunk did.
I followed the instructions on the wiki [1] for 1.2.0, except for the
configure program. I changed the prefix to install in /opt/openils. I
have not yet retried the installation with the /openils prefix.
$ ./configure --prefix=/opt/openils --sysconfdir=/opt/openils/conf
--enable-python
At the testing connection step, srfsh was unable to communicate and
returned this message:
srfsh# request opensrf.math add 2 2
Unable to communicate with service opensrf.math
I tested this with both the public.localhost and private.localhost
servers in the srfsh.xml file and got the same response.
I went through the troubleshooting steps on the wiki [2] and it
appears the problem is occurring with the OpenSRF C part. First off,
when I noticed that OpenSRF C was not running but the other parts
apparently were running when I ran the stop_all command.
$ /opt/openils/bin/osrf_ctl.sh -c /opt/openils/conf/opensrf_core.xml
-l -a stop_all
OpenSRF C not running
Stopping OpenSRF Perl
* stopping all services for localhost
* stopping service pid=8921 opensrf.persist
* stopping service pid=8910 opensrf.settings
Stopping OpenSRF Router process 8863 8864...
I ran the three separate start commands as documented on the
troubleshooting wiki. I did not find any errors on the first 2 steps
(start_router and start_perl). However, the start_c step did produce
some errors in the logs.
$ /opt/openils/bin/osrf_ctl.sh -c /opt/openils/conf/opensrf_core.xml
-l -a start_c
Starting OpenSRF C (host=localhost)
opensrf at ichabod:/opt/openils$ grep ERR
var/log/*.logvar/log/osrfsys.log:opensrf 2010-01-01 13:31:34 [ERR
:14047:osrf_settings.c:117:] No osrfMessage received from host
localhost (timeout?)
var/log/osrfsys.log:opensrf 2010-01-01 13:31:34 [ERR
:14047:osrf_settings.c:136:] Unable to load config for host localhost
var/log/osrfsys.log:opensrf 2010-01-01 13:31:34 [ERR
:14047:osrf_system.c:105:] Unable to retrieve settings for host
localhost from configuration file /opt/openils/conf/opensrf_core.xml
var/log/osrfsys.log:opensrf 2010-01-01 13:31:34 [ERR
:14047:opensrf.c:23:] Server Loop returned an error condition, exiting
with -1
Per the instructions on the troubleshooting page I am sending this
report and copies of my log files to open-ils-dev. What is my next
step?
Sincerely,
Bradley Peters
1. http://www.open-ils.org/dokuwiki/doku.php?id=opensrf:1.2:install
2. http://evergreen-ils.org/dokuwiki/doku.php?id=troubleshooting:checking_for_errors
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opensrf.persist_unix.log
Type: text/x-log
Size: 265 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20100101/6022aa72/attachment-0006.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opensrf.settings_unix.log
Type: text/x-log
Size: 266 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20100101/6022aa72/attachment-0007.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osrfsys.log
Type: text/x-log
Size: 6368 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20100101/6022aa72/attachment-0008.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: router.log
Type: text/x-log
Size: 3993 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20100101/6022aa72/attachment-0009.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opensrf.xml
Type: text/xml
Size: 6905 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20100101/6022aa72/attachment-0010.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opensrf_core.xml
Type: text/xml
Size: 5381 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20100101/6022aa72/attachment-0011.bin
More information about the Open-ils-dev
mailing list