[OPEN-ILS-GENERAL] error connecting to evergreen using srfsh

Wolf Halton wolf.halton at gmail.com
Wed Jul 11 15:29:29 EDT 2012


On Tue, Jul 3, 2012 at 2:50 PM, St-Jacques, Patrick <
Patrick.St-Jacques at cra-arc.gc.ca> wrote:

>  Thank you all, I fixed my perl error. I am now at the testing phase and
> I got the following errors when I run****
>
> ** **
>
> srfsh% login egadmin <egadmin_password_I_put_in>****
>
> ** **
>
> I need help as soon as possible ** **
>
> ** **
>
> Here is the log:****
>
> ** **
>
> srfsh 2012-07-03 14:45:50
> [DEBG:9319:osrf_app_session.c:1070:134134110093190] AppSession in
> queue_wait with timeout 120****
>
> srfsh 2012-07-03 14:45:50
> [INFO:9319:transport_session.c:649:134134110093190] Received <error>
> message with type cancel and code 503****
>
> srfsh 2012-07-03 14:45:50 [DEBG:9319:osrf_stack.c:44:134134110093190]
> Received message from transport code from router at private.localhost/open-**
> **
>
> ils.auth****
>
> srfsh 2012-07-03 14:45:50 [DEBG:9319:osrf_stack.c:87:134134110093190]
> Transport handler received new message****
>
> from router at private.localhost/open-ils.auth to opensrf at private.localhost/_EC0GLZ1220_1341341100.274587_9319
> with body****
>
> ** **
>
>
> [{"__c":"osrfMessage","__p":{"threadTrace":"1","locale":"en-US","ingress":"srfsh","type":"REQUEST","payload":{"__c":"osrfMethod","__p":{"metho
> ****
>
> d":"open-ils.auth.authenticate.init","params":["egadmin"]}}}}]****
>
> ** **
>
> srfsh 2012-07-03 14:45:50 [DEBG:9319:osrf_stack.c:123:134134110093190] We
> received 1 messages from router at private.localhost/open-ils.auth****
>
> srfsh 2012-07-03 14:45:50 [WARN:9319:osrf_stack.c:134:134134110093190]
> !!! Received Jabber layer error message****
>
> srfsh 2012-07-03 14:45:50 [WARN:9319:osrf_stack.c:144:134134110093190]  *
> Jabber Error is for top level remote  id [router at private.localhost/o****
>
> pen-ils.auth], no one to send my message to!  Cutting request short...****
>
> srfsh 2012-07-03 14:45:50 [INFO:9319:osrf_stack.c:163:134134110093190]
> Message processing duration 0.000180****
>
> srfsh 2012-07-03 14:45:50 [DEBG:9319:osrf_stack.c:166:134134110093190]
> after msg delete****
>
> srfsh 2012-07-03 14:45:50 [ERR
> :9319:osrf_app_session.c:304:134134110093190] Transport error in recv()***
> *
>
> srfsh 2012-07-03 14:45:50
> [DEBG:9319:osrf_app_session.c:1089:134134110093190] AppSession
> [open-ils.auth] [1341341150.488472.13413411509319] de****
>
> stroying self and deleting requests****
>
> srfsh 2012-07-03 14:45:56 [DEBG:9319:socket_bundle.c:482:134134110093190]
> removing socket 3****
>


Are you checking to make sure all your apps are starting when you run as
the opensrf user the start-up command?  It doesn't look like you are
getting to the password verification on srfsh

*osrf_ctl.sh -l -a start_all

check your running processes by:
as opensrf user:
mkdir /openils/var/log/old; mv /openils/var/log/*.log  old/
osrf_ctl.sh -l -a stop_all

as root user:
/etc/init.d/ejabberd restart; /etc/init.d/memcached restart

Now you have a clean slate and clean logs to look into.

as opensrf user again:

**osrf_ctl.sh -l -a start_router; ps auxf | grep -i router

If you have at least 3 returned lines including "ps auxf | grep -i router
you have got the router running.
--example--
wolf at goofy-01:~$ ps auxf | grep -i router
wolf     27664  0.0  0.0   7548   856 pts/0    S+   15:09   0:00
       \_ grep -i router
opensrf   1713  0.0  0.0  27868  1924 ?        Ss   Jun25   3:12
OpenSRF Router
opensrf   1714  0.0  0.0  28044  2160 ?        Ss   Jun25  18:18 OpenSRF Router


now you can look at the router log in /openils/var/log and see if
there are any surprises.

Now start the perl services as the settings command that the c parts
will need is one of the perl scripts
**osrf_ctl.sh -l -a start_perl

ps auxf | grep -i open-ils
this example is pretty long and shows we have a lot of listeners on the system.
*---example
wolf at goofy-01:~$ ps auxf | grep -i open-ils
wolf     27713  0.0  0.0   7548   860 pts/0    S+   15:12   0:00
       \_ grep -i open-ils
opensrf   7369  0.0  0.1 103812 26940 ?        S    Jul02   0:46  \_
OpenSRF Listener [open-ils.auth]
opensrf  26056  0.0  0.2 121220 43152 ?        S    14:09   0:00  |
\_ OpenSRF Drone [open-ils.auth]
opensrf  26057  0.0  0.2 121236 43152 ?        S    14:09   0:00  |
\_ OpenSRF Drone [open-ils.auth]
opensrf  26058  0.0  0.2 121248 43132 ?        S    14:09   0:00  |
\_ OpenSRF Drone [open-ils.auth]
opensrf  26059  0.0  0.2 121320 43132 ?        S    14:09   0:00  |
\_ OpenSRF Drone [open-ils.auth]
opensrf  26060  0.0  0.2 121224 43144 ?        S    14:09   0:00  |
\_ OpenSRF Drone [open-ils.auth]
opensrf   7371  0.0  0.1 115644 31348 ?        S    Jul02   0:00  \_
OpenSRF Listener [open-ils.reporter-store]
opensrf   7376  0.0  0.2 119404 33628 ?        S    Jul02   0:00  |
\_ OpenSRF Drone [open-ils.reporter-store]
opensrf   8469  0.0  0.2 123136 37424 ?        S    Jul02   0:00  |
\_ OpenSRF Drone [open-ils.reporter-store]
opensrf   8470  0.0  0.2 120572 34864 ?        S    Jul02   0:00  |
\_ OpenSRF Drone [open-ils.reporter-store]
opensrf   6556  0.0  0.2 120320 34600 ?        S    Jul03   0:00  |
\_ OpenSRF Drone [open-ils.reporter-store]
opensrf   7372  0.0  0.1 116960 32672 ?        S    Jul02   0:02  \_
OpenSRF Listener [open-ils.pcrud]
opensrf  20782  0.0  0.2 120296 34488 ?        S    11:01   0:01
\_ OpenSRF Drone [open-ils.pcrud]
opensrf  27468  0.0  0.1 117988 32180 ?        S    15:03   0:00
\_ OpenSRF Drone [open-ils.pcrud]
opensrf  27570  0.0  0.1 117992 32144 ?        S    15:07   0:00
\_ OpenSRF Drone [open-ils.pcrud]
opensrf  27571  0.0  0.1 117988 32136 ?        S    15:07   0:00
\_ OpenSRF Drone [open-ils.pcrud]
opensrf  18989  0.0  0.3 161000 55968 ?        Ss   Jul06   0:00
OpenSRF Listener [open-ils.acq]
opensrf  19054  0.0  0.3 161000 53756 ?        S    Jul06   0:00  \_
OpenSRF Drone [open-ils.acq]
opensrf  18990  0.0  0.2 131528 38984 ?        Ss   Jul06   0:13
OpenSRF Listener [open-ils.booking]
opensrf  19340  0.0  0.2 134644 41072 ?        S    10:03   0:08  \_
OpenSRF Drone [open-ils.booking]
opensrf  20984  0.0  0.2 134884 41300 ?        S    11:08   0:09  \_
OpenSRF Drone [open-ils.booking]
opensrf  18992  0.0  0.2 136256 41604 ?        Ss   Jul06   0:10
OpenSRF Listener [open-ils.cat]
opensrf  31228  0.0  0.2 141068 45784 ?        S    Jul10   0:12  \_
OpenSRF Drone [open-ils.cat]
opensrf  24870  0.0  0.2 141144 45908 ?        S    13:30   0:03  \_
OpenSRF Drone [open-ils.cat]
opensrf  18994  0.0  0.2 132852 40340 ?        Ss   Jul06   0:58
OpenSRF Listener [open-ils.supercat]
opensrf  24919  0.1  0.3 150284 56972 ?        S    13:31   0:06  \_
OpenSRF Drone [open-ils.supercat]
opensrf  27275  0.1  0.3 150284 56956 ?        S    14:57   0:00  \_
OpenSRF Drone [open-ils.supercat]
opensrf  27323  0.0  0.3 150284 56968 ?        S    14:59   0:00  \_
OpenSRF Drone [open-ils.supercat]
opensrf  27389  0.0  0.3 150284 56976 ?        S    15:00   0:00  \_
OpenSRF Drone [open-ils.supercat]
opensrf  27390  0.0  0.3 150284 56976 ?        S    15:00   0:00  \_
OpenSRF Drone [open-ils.supercat]
opensrf  18996  0.0  0.3 178416 56292 ?        Ss   Jul06   2:18
OpenSRF Listener [open-ils.search]
opensrf  27342  0.1  0.4 188956 66028 ?        S    15:00   0:01  \_
OpenSRF Drone [open-ils.search]
opensrf  27487  0.1  0.3 184168 60552 ?        S    15:05   0:00  \_
OpenSRF Drone [open-ils.search]
opensrf  27492  0.1  0.3 186196 62568 ?        S    15:05   0:00  \_
OpenSRF Drone [open-ils.search]
opensrf  27513  0.1  0.3 186184 62504 ?        S    15:05   0:00  \_
OpenSRF Drone [open-ils.search]
opensrf  27671  0.1  0.3 183300 59512 ?        S    15:09   0:00  \_
OpenSRF Drone [open-ils.search]
opensrf  18997  0.0  0.3 162704 60920 ?        Ss   Jul06   0:49
OpenSRF Listener [open-ils.circ]
opensrf  27491  0.5  0.4 170968 66892 ?        S    15:05   0:02  \_
OpenSRF Drone [open-ils.circ]
opensrf  27566  0.5  0.4 172656 68620 ?        S    15:07   0:01  \_
OpenSRF Drone [open-ils.circ]
opensrf  27567  0.6  0.4 172816 68784 ?        S    15:07   0:01  \_
OpenSRF Drone [open-ils.circ]
opensrf  27569  0.3  0.4 172904 68844 ?        S    15:07   0:00  \_
OpenSRF Drone [open-ils.circ]
opensrf  27609  0.0  0.3 162704 58584 ?        S    15:08   0:00  \_
OpenSRF Drone [open-ils.circ]
opensrf  18998  0.0  0.3 145068 50508 ?        Ss   Jul06   2:42
OpenSRF Listener [open-ils.actor]
opensrf  27573  0.6  0.3 152944 57744 ?        S    15:07   0:01  \_
OpenSRF Drone [open-ils.actor]
opensrf  27603  0.7  0.3 150636 55456 ?        S    15:08   0:01  \_
OpenSRF Drone [open-ils.actor]
opensrf  27605  0.2  0.3 149940 54360 ?        S    15:08   0:00  \_
OpenSRF Drone [open-ils.actor]
opensrf  27613  0.3  0.3 150004 54444 ?        S    15:08   0:00  \_
OpenSRF Drone [open-ils.actor]
opensrf  27674  0.4  0.3 149952 54388 ?        S    15:10   0:00  \_
OpenSRF Drone [open-ils.actor]
opensrf  18999  0.0  0.7 231888 121872 ?       Ss   Jul06   0:55
OpenSRF Listener [open-ils.storage]
opensrf  23737  0.6  0.8 292240 146380 ?       S    12:47   0:53  \_
OpenSRF Drone [open-ils.storage]
opensrf  24205  1.0  0.8 293408 147500 ?       S    13:03   1:19  \_
OpenSRF Drone [open-ils.storage]
opensrf  27456  0.3  0.8 288412 142524 ?       S    15:03   0:01  \_
OpenSRF Drone [open-ils.storage]
opensrf  27490  1.3  0.8 288712 142672 ?       S    15:05   0:05  \_
OpenSRF Drone [open-ils.storage]
opensrf  27511  0.9  0.8 288924 142992 ?       S    15:05   0:03  \_
OpenSRF Drone [open-ils.storage]
opensrf  19000  0.0  0.2 131016 38420 ?        Ss   Jul06   0:00
OpenSRF Listener [open-ils.penalty]
opensrf  19043  0.0  0.2 131016 36376 ?        S    Jul06   0:00  \_
OpenSRF Drone [open-ils.penalty]
opensrf  19001  0.0  0.2 131404 38780 ?        Ss   Jul06   0:00
OpenSRF Listener [open-ils.collections]
opensrf  19025  0.0  0.3 145020 51516 ?        S    Jul06   0:39  \_
OpenSRF Drone [open-ils.collections]
opensrf  22734  0.0  0.3 144076 50528 ?        S    Jul06   0:22  \_
OpenSRF Drone [open-ils.collections]
opensrf  19002  0.0  0.2 143756 43908 ?        Ss   Jul06   0:00
OpenSRF Listener [open-ils.ingest]
opensrf  19038  0.0  0.2 143756 41696 ?        S    Jul06   0:00  \_
OpenSRF Drone [open-ils.ingest]
opensrf  19039  0.0  0.2 143756 41696 ?        S    Jul06   0:00  \_
OpenSRF Drone [open-ils.ingest]
opensrf  19040  0.0  0.2 143756 41696 ?        S    Jul06   0:00  \_
OpenSRF Drone [open-ils.ingest]
opensrf  19041  0.0  0.2 143756 41696 ?        S    Jul06   0:00  \_
OpenSRF Drone [open-ils.ingest]
opensrf  19042  0.0  0.2 143756 41696 ?        S    Jul06   0:00  \_
OpenSRF Drone [open-ils.ingest]
opensrf  19005  0.0  0.2 131432 38824 ?        Ss   Jul06   0:00
OpenSRF Listener [open-ils.reporter]
opensrf  19044  0.0  0.2 136860 43412 ?        S    Jul06   0:02  \_
OpenSRF Drone [open-ils.reporter]
opensrf  22018  0.0  0.2 136496 42900 ?        S    Jul06   0:04  \_
OpenSRF Drone [open-ils.reporter]
opensrf  22019  0.0  0.2 136912 43396 ?        S    Jul06   0:03  \_
OpenSRF Drone [open-ils.reporter]
opensrf  22020  0.0  0.2 137412 43804 ?        S    Jul06   0:03  \_
OpenSRF Drone [open-ils.reporter]
opensrf  22021  0.0  0.2 131296 36624 ?        S    Jul06   0:00  \_
OpenSRF Drone [open-ils.reporter]
opensrf  19007  0.0  0.2 140504 47992 ?        Ss   Jul06   0:00
OpenSRF Listener [open-ils.permacrud]
opensrf  19046  0.0  0.2 140376 45788 ?        S    Jul06   0:00  \_
OpenSRF Drone [open-ils.permacrud]
opensrf  19047  0.0  0.2 140376 45788 ?        S    Jul06   0:00  \_
OpenSRF Drone [open-ils.permacrud]
opensrf  19048  0.0  0.2 140376 45788 ?        S    Jul06   0:00  \_
OpenSRF Drone [open-ils.permacrud]
opensrf  19049  0.0  0.2 140376 45788 ?        S    Jul06   0:00  \_
OpenSRF Drone [open-ils.permacrud]
opensrf  19051  0.0  0.2 140376 45796 ?        S    Jul06   0:00  \_
OpenSRF Drone [open-ils.permacrud]
opensrf  19008  0.0  0.2 137124 40412 ?        Ss   Jul06   0:22
OpenSRF Listener [open-ils.trigger]
opensrf  19377  0.0  0.2 142024 44236 ?        S    10:04   0:07  \_
OpenSRF Drone [open-ils.trigger]
opensrf  20784  0.0  0.2 142044 44264 ?        S    11:02   0:07  \_
OpenSRF Drone [open-ils.trigger]
opensrf  23374  0.0  0.2 142044 44264 ?        S    12:38   0:08  \_
OpenSRF Drone [open-ils.trigger]
opensrf  19009  0.0  0.2 138956 46584 ?        Ss   Jul06   0:17
OpenSRF Listener [open-ils.fielder]
opensrf   4981  0.0  0.2 141524 46124 ?        S    Jul07   0:00  \_
OpenSRF Drone [open-ils.fielder]
opensrf  32323  0.0  0.2 141972 46548 ?        S    Jul08   0:01  \_
OpenSRF Drone [open-ils.fielder]
opensrf  31604  0.0  0.2 141768 46476 ?        S    Jul09   0:02  \_
OpenSRF Drone [open-ils.fielder]
opensrf  24794  0.0  0.2 141664 46484 ?        S    13:26   0:02  \_
OpenSRF Drone [open-ils.fielder]
opensrf  25541  0.0  0.2 141732 46392 ?        S    13:52   0:01  \_
OpenSRF Drone [open-ils.fielder]
opensrf  19010  0.0  0.2 141876 43140 ?        Ss   Jul06   0:00
OpenSRF Listener [open-ils.vandelay]
opensrf  19045  0.0  0.2 141876 41036 ?        S    Jul06   0:00  \_
OpenSRF Drone [open-ils.vandelay]
opensrf  19011  0.0  0.2 143976 45260 ?        Ss   Jul06   0:00
OpenSRF Listener [open-ils.serial]
opensrf  19033  0.0  0.2 143976 43112 ?        S    Jul06   0:00  \_
OpenSRF Drone [open-ils.serial]
opensrf  19034  0.0  0.2 143976 43112 ?        S    Jul06   0:00  \_
OpenSRF Drone [open-ils.serial]
opensrf  19035  0.0  0.2 143976 43112 ?        S    Jul06   0:00  \_
OpenSRF Drone [open-ils.serial]
opensrf  19036  0.0  0.2 143976 43112 ?        S    Jul06   0:00  \_
OpenSRF Drone [open-ils.serial]
opensrf  19037  0.0  0.2 143976 43112 ?        S    Jul06   0:00  \_
OpenSRF Drone [open-ils.serial]

Then you start the C processes;
osrf_ctl.sh -l -a start_c
ps auxf | grep -i cstore

---example
wolf at goofy-01:~$ ps auxf | grep -i cstore
wolf     28091  0.0  0.0   7548   860 pts/0    S+   15:23   0:00
       \_ grep -i cstore
opensrf   7370  0.0  0.2 119012 34728 ?        S    Jul02   3:38  \_
OpenSRF Listener [open-ils.cstore]
opensrf  26825  0.0  0.3 148452 62760 ?        S    14:39   0:02  |
\_ OpenSRF Drone [open-ils.cstore]
opensrf  26826  0.0  0.2 132912 47160 ?        S    14:39   0:01  |
\_ OpenSRF Drone [open-ils.cstore]
opensrf  27037  0.1  0.3 144664 58952 ?        S    14:49   0:02  |
\_ OpenSRF Drone [open-ils.cstore]
opensrf  27326  0.0  0.2 124324 38604 ?        S    14:59   0:00  |
\_ OpenSRF Drone [open-ils.cstore]
opensrf  27460  0.0  0.2 120712 34936 ?        S    15:03   0:00  |
\_ OpenSRF Drone [open-ils.cstore]
opensrf  27496  0.1  0.2 130844 45060 ?        S    15:05   0:01  |
\_ OpenSRF Drone [open-ils.cstore]
opensrf  27497  0.1  0.3 137348 51648 ?        S    15:05   0:01  |
\_ OpenSRF Drone [open-ils.cstore]
opensrf  27498  0.0  0.2 119740 33916 ?        S    15:05   0:00  |
\_ OpenSRF Drone [open-ils.cstore]
opensrf  27499  0.1  0.3 138632 52932 ?        S    15:05   0:01  |
\_ OpenSRF Drone [open-ils.cstore]
opensrf  27500  0.0  0.2 119740 33920 ?        S    15:05   0:00  |
\_ OpenSRF Drone [open-ils.cstore]
opensrf  27501  0.2  0.4 155316 69620 ?        S    15:05   0:02  |
\_ OpenSRF Drone [open-ils.cstore]
opensrf  27502  0.1  0.2 130960 45260 ?        S    15:05   0:01  |
\_ OpenSRF Drone [open-ils.cstore]
opensrf  27503  0.0  0.2 119740 33836 ?        S    15:05   0:00  |
\_ OpenSRF Drone [open-ils.cstore]
opensrf  27504  0.1  0.3 137032 51328 ?        S    15:05   0:01  |
\_ OpenSRF Drone [open-ils.cstore]
opensrf  27505  0.0  0.2 119736 33920 ?        S    15:05   0:00  |
\_ OpenSRF Drone [open-ils.cstore]
opensrf  27506  0.0  0.2 119736 33924 ?        S    15:05   0:00  |
\_ OpenSRF Drone [open-ils.cstore]


-- 
This Apt Has Super Cow Powers - http://sourcefreedom.com
Open-Source Software in Libraries - http://FOSS4Lib.org
Advancing Libraries Together - http://LYRASIS.org
Apache Open Office Developer wolfhalton at apache.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20120711/af05f75c/attachment-0001.htm>


More information about the Open-ils-general mailing list