[OPEN-ILS-DEV] EG client login error

Tom Patterson tpatterson at tfc.edu
Wed Apr 30 08:43:24 EDT 2008


Dan,
I followed the directions below but still got error messages when doing the finalize step. The logs are attached.

Thanks for the help.

Tom Patterson
________________________________________
From: open-ils-dev-bounces at list.georgialibraries.org [open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of Dan Wells [dbw2 at calvin.edu]
Sent: Tuesday, April 29, 2008 4:42 PM
To: open-ils-dev at list.georgialibraries.org
Subject: RE: [OPEN-ILS-DEV] EG client login error

Hello Tom,

Your router log looks fine for what little is in there.  John's advice to run the settings_tester.pl is always a good thing to try, though make sure you set your PERL5LIB for the shell before you run it ( export PERL5LIB=/openils/lib/perl5 ) since the Ubuntu wiki page doesn't alter any .bashrc files.

It sounds like you have been careful in checking your settings, though, so I would recommend just trying to stop and start the whole stack again and seeing what happens.  First:

sudo -u opensrf /openils/bin/osrf_ctl.sh -c /openils/conf/opensrf_core.xml -a stop_all

After the machine comes to rest, run:

ps ax | grep "OpenSRF"

and kill any lingering processes listed there which sometimes get stuck for a bit.

After that, I would recommend deleting or moving aside all the current log files, then restarting the system one step at a time:

sudo -u opensrf /openils/bin/osrf_ctl.sh -c /openils/conf/opensrf_core.xml -a start_router
sudo -u opensrf /openils/bin/osrf_ctl.sh -c /openils/conf/opensrf_core.xml -a start_perl
sudo -u opensrf /openils/bin/osrf_ctl.sh -c /openils/conf/opensrf_core.xml -a start_c
sudo /etc/init.d/apache2 restart

After that, try the OPAC finalize step ( sudo -u opensrf ./autogen.sh /openils/conf/opensrf_core.xml ), and if that works, try to logging in using srfsh:

/openils/bin/srfsh
srfsh% login admin open-ils


If any of the above doesn't work, tar up your fresh log directory and send it along.

Thanks,
DW


>>> Tom Patterson <tpatterson at tfc.edu> 4/29/2008 8:30 AM >>>
Dan,

I have checked the settings in the opensrf_core.xml file and the opensrf.xml file and as far as I can see they are set correctly. When starting the router there were no errors. Here is the log output after executing the commands below and trying to use client:

router 2008-04-28 17:04:05 [INFO:12410:osrf_router_main.c:83:] Router adding trusted server: epworth-eg
router 2008-04-28 17:04:05 [INFO:12410:osrf_router_main.c:86:] Router adding trusted client: epworth-eg
router 2008-04-29 07:33:51 [WARN:12411:osrf_router_main.c:10:] Received signal [2], cleaning up...
router 2008-04-29 07:33:51 [WARN:12411:osrf_router.c:64:] Top level select call failed with errno 4
router 2008-04-29 07:34:00 [INFO:15935:osrf_router_main.c:70:] Router connecting as: server: epworth-eg port: 5222 user: router resource: router
router 2008-04-29 07:34:00 [INFO:15935:osrf_router_main.c:83:] Router adding trusted server: epworth-eg
router 2008-04-29 07:34:00 [INFO:15935:osrf_router_main.c:86:] Router adding trusted client: epworth-eg

Thanks,
Tom Patterson
________________________________________
From: open-ils-dev-bounces at list.georgialibraries.org [open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of Dan Wells [dbw2 at calvin.edu]
Sent: Monday, April 28, 2008 4:02 PM
To: open-ils-dev at list.georgialibraries.org
Subject: RE: [OPEN-ILS-DEV] EG client login error

Tom,

Double check your opensrf_core.xml file and make sure your passwords are all set properly.  After that, try:

sudo -u opensrf /openils/bin/osrf_ctl.sh -c /openils/conf/opensrf_core.xml -a stop_router

then:

sudo -u opensrf /openils/bin/osrf_ctl.sh -c /openils/conf/opensrf_core.xml -a start_router

Let us know if the router starts without error, and also if you get any ERR or WARN lines in the router.log file.

DW








-------------- next part --------------
A non-text attachment was scrubbed...
Name: epworth_log.tgz
Type: application/x-compressed-tar
Size: 1724 bytes
Desc: epworth_log.tgz
Url : http://list.georgialibraries.org/pipermail/open-ils-dev/attachments/20080430/60067b3d/epworth_log.bin


More information about the Open-ils-dev mailing list