[OPEN-ILS-DEV] FreeBSD progress

Bill Ott bott at grpl.org
Tue Apr 3 15:14:46 EDT 2007


Things are looking promising on the FreeBSD front.  I've got everything 
to compile and run ...almost.

I'm having a problem with cstore, and the only place I can see it 
complain is when running a command from srfsh (see below).

Another issue involves seeing what's running.  The c-apps processes all 
show up like this:
   39617  p0  I      0:00.00 /openils/bin/opensrf-c ev.grpl.org 
/openils/conf//opensrf_core.xml opensrf

making it hard to determine what is or isn't running.  Does anyone have 
a trick for getting them to show me which service their providing, 
similar to the Perl apps ?
  e.g.
   39575  p0  I      0:00.04 OpenSRF drone [opensrf.settings] (perl5.8.8)



srfsh.log, following a "request open-ils.cstore 
open-ils.cstore.direct.actor.user.retrieve 1"

srfsh 2007-04-03 15:06:02 [INFO:39688:osrf_system.c:195:] Bootstrapping 
system with domain ev.grpl.org, port 5222, and unixpath (null)
srfsh 2007-04-03 15:06:02 [INT :39688:socket_bundle.c:46:] Adding socket 
node with fd 3
srfsh 2007-04-03 15:06:02 [INT :39688:socket_bundle.c:470:] 1 active 
sockets after select()
srfsh 2007-04-03 15:06:02 [INT :39688:socket_bundle.c:642:] 39688 : 
Received data at 1175627162.237146

srfsh 2007-04-03 15:06:02 [INT :39688:socket_bundle.c:645:] Socket 3 
Read 185 bytes and data: <?xml version='1.0'?><stream:stream 
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' 
from='ev.grpl.org' version='1.0' 
id='7052648f978745fd7f3f7ed0c9ac5efe2c06faa4'>
srfsh 2007-04-03 15:06:02 [INT :39688:socket_bundle.c:470:] 1 active 
sockets after select()
srfsh 2007-04-03 15:06:02 [INT :39688:socket_bundle.c:642:] 39688 : 
Received data at 1175627162.237493

srfsh 2007-04-03 15:06:02 [INT :39688:socket_bundle.c:645:] Socket 3 
Read 57 bytes and data: <iq xmlns='jabber:client' id='0123456789' 
type='result'/>
srfsh 2007-04-03 15:06:14 [DEBG:39688:osrf_app_session.c:215:] 
open-ils.cstore session is stateless
srfsh 2007-04-03 15:06:14 [DEBG:39688:osrf_app_session.c:227:] Building 
a new client session with id [open-ils.cstore] 
[1175627174.063533.117562717439688]
srfsh 2007-04-03 15:06:14 [DEBG:39688:osrf_app_session.c:411:] 
AppSession connecting to router at ev.grpl.org/open-ils.cstore
srfsh 2007-04-03 15:06:14 [DEBG:39688:osrf_app_session.c:367:] App 
Session [open-ils.cstore] [1175627174.063533.117562717439688] resetting 
remote id to router at ev.grpl.org/open-ils.cstore
srfsh 2007-04-03 15:06:14 [DEBG:39688:osrf_app_session.c:547:] 
AppSession in queue_wait with timeout 0
srfsh 2007-04-03 15:06:14 [INT :39688:socket_bundle.c:470:] 0 active 
sockets after select()
srfsh 2007-04-03 15:06:14 [INT :39688:socket_bundle.c:642:] 39688 : 
Received data at 1175627174.063706

srfsh 2007-04-03 15:06:14 [DEBG:39688:osrf_app_session.c:367:] App 
Session [open-ils.cstore] [1175627174.063533.117562717439688] resetting 
remote id to router at ev.grpl.org/open-ils.cstore
srfsh 2007-04-03 15:06:14 [INFO:39688:osrf_app_session.c:515:] 
[open-ils.cstore] sent 80 bytes of data to 
router at ev.grpl.org/open-ils.cstore
srfsh 2007-04-03 15:06:14 [DEBG:39688:osrf_app_session.c:518:] Sent: 
[/*--S osrfMessage--*/{"threadTrace":"0","type":"CONNECT"}/*--E 
osrfMessage--*/]
srfsh 2007-04-03 15:06:14 [DEBG:39688:osrf_app_session.c:547:] 
AppSession in queue_wait with timeout 5
srfsh 2007-04-03 15:06:14 [INT :39688:socket_bundle.c:470:] 1 active 
sockets after select()
srfsh 2007-04-03 15:06:14 [INT :39688:socket_bundle.c:642:] 39688 : 
Received data at 1175627174.064439

srfsh 2007-04-03 15:06:14 [INT :39688:socket_bundle.c:645:] Socket 3 
Read 273 bytes and data: <message xmlns='jabber:client' type='error' 
from='router at ev.grpl.org/open-ils.cstore' 
to='osrf at ev.grpl.org/__1175627162.236471_39688'><error type='cancel' 
code='404'><item-not-found 
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error><body>NOT ADDING 
BODY</body></message>
srfsh 2007-04-03 15:06:14 [INFO:39688:transport_session.c:406:] Received 
<error> message with type cancel and code 404
srfsh 2007-04-03 15:06:14 [DEBG:39688:osrf_stack.c:17:] Received message 
from transport code from router at ev.grpl.org/open-ils.cstore
srfsh 2007-04-03 15:06:14 [DEBG:39688:osrf_stack.c:43:] Transport 
handler received new message
from router at ev.grpl.org/open-ils.cstore to 
osrf at ev.grpl.org/__1175627162.236471_39688 with body

NOT ADDING BODY

srfsh 2007-04-03 15:06:14 [INT :39688:socket_bundle.c:470:] 0 active 
sockets after select()
srfsh 2007-04-03 15:06:14 [INT :39688:socket_bundle.c:642:] 39688 : 
Received data at 1175627174.064632

srfsh 2007-04-03 15:06:14 [DEBG:39688:osrf_app_session.c:547:] 
AppSession in queue_wait with timeout 5
srfsh 2007-04-03 15:06:18 [INT :39688:socket_bundle.c:470:] 0 active 
sockets after select()
srfsh 2007-04-03 15:06:18 [INT :39688:socket_bundle.c:642:] 39688 : 
Received data at 1175627178.941713

srfsh 2007-04-03 15:06:19 [INT :39688:socket_bundle.c:470:] 0 active 
sockets after select()
srfsh 2007-04-03 15:06:19 [INT :39688:socket_bundle.c:642:] 39688 : 
Received data at 1175627179.918021

srfsh 2007-04-03 15:06:19 [DEBG:39688:osrf_app_session.c:547:] 
AppSession in queue_wait with timeout 0
srfsh 2007-04-03 15:06:19 [INT :39688:socket_bundle.c:470:] 0 active 
sockets after select()
srfsh 2007-04-03 15:06:19 [INT :39688:socket_bundle.c:642:] 39688 : 
Received data at 1175627179.918118

srfsh 2007-04-03 15:06:19 [WARN:39688:srfsh.c:539:] Unable to connect to 
remote service open-ils.cstore



More information about the Open-ils-dev mailing list