[OPEN-ILS-DEV] opensrf-c crashing
Harry Bochner
Harry.Bochner at biogenidec.com
Wed Mar 28 12:24:20 EDT 2007
When I run "opensrf_all start", most things seem to start OK, but
opensrf-c
core dumps:
> + /var/www/openils/bin/opensrf-c camlxlib02.biogenidec.com
/var/www/openils/conf//opensrf_core.xml opensrf
> Loading OpenSRF host camlxlib02.biogenidec.com with bootstrap config
/var/www/openils/conf//opensrf_core.xml and config context opensrf
> ./opensrf_all: line 89: 25752 Segmentation fault "$BINDIR/opensrf-c"
$(hostname -f) "$ETCDIR//opensrf_core.xml" "opensrf"
The segmentation violation comes at line 15 of osrf_settings.c,
because the config variable is null. And that's because the earlier
call to osrf_settings_retrieve failed to recognize the hostname; in
osrfsys.log I find:
> opensrf 2007-03-28 11:30:34 [ERR :25942:osrf_settings.c:41:] Unable to
load config for host camlxlib02.biogenidec.com
Presumably this just reflects something wrong in the config files, but
I haven't spotted it. I've got this in openils.xml:
<hosts>
<camlxlib02.biogenidec.com> <!-- must match "hostname -f" of the
hosting machine -->
Maybe there's some other place where I was supposed to replace
"localhost" with the hostname?
Or maybe it has something to do with this interesting message I find
later in osrfsys.log:
> opensrf 2007-03-28 11:37:38 [DEBG:26128:osrf_stack.c:43:] Transport
handler received new message
> from
jabber_username at localhost/opensrf.settings_drone_at_camlxlib02.biogenidec.com_25716
to
client at localhost/settings_grabber_camlxlib02.biogenidec.com_1175096162.353980_26128
with body
>
> [/*--S osrfMessage--*/{"payload":/*--S
osrfBrokenSession--*/{"status":"Connection seems to be mangled: Got
REQUEST instead of CONNECT","statusCode":417}/*--E
osrfBrokenSession--*/,"threadTrace":1,"type":"STATUS"}/*--E
osrfMessage--*/]
I don't understand that one at all.
Thanks for any pointers!
--
Harry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.georgialibraries.org/pipermail/open-ils-dev/attachments/20070328/04a61879/attachment.html
More information about the Open-ils-dev
mailing list