[OPEN-ILS-DEV] Errors at testing stage of OpenSRF installation (OpenSRF trunk)

Bradley Peters bdp+eg at moberley.com
Mon Jan 4 17:11:57 EST 2010


On Sun, Jan 3, 2010 at 7:59 PM, Dan Scott <dan at coffeecode.net> wrote:
> Bradley, can you step back and try the OpenSRF call used by the OpenSRF
> C services to get their config information?
>
> srfsh# request opensrf.settings opensrf.settings.host_config.get
> "localhost"

I tried running this call and got the same response.

srfsh# request opensrf.settings opensrf.settings.host_config.get "localhost"
Unable to communicate with service opensrf.settings

I have attached the new log files.

I did notice that some of the time when I ran the osrf_ctl.sh stop_all
command there was an OpenSRF C process id. I've tried both start_all
and using the separate start commands, but I haven't been able to
determine why there is sometimes a process and sometimes not.

In any case, there it doesn't seem to make any difference with the
output in srfsh as it remains the same.

Based on the first response I received on the list, I did try stopping
and starting all the individual pieces again including ejabberd and
memcached. This also had no apparent effect on the results I was
getting.

I did notice something else when I started OpenSRF Perl, my CPU usage
went very high. (I'm not sure if this was happening the other day and
I just didn't notice.) Today I checked and when I started OpenSRF Perl
it wen almost immediately to 99.9% (according to top).

I did run "ps -aef | grep OpenSRF" as mentioned in the troubleshooting
wiki to check on unkilled processes but nothing came up there.

> Let us know if you get any results from this; this should help us narrow
> down the problem (for example, if one of the four opensrf / router
> ejabberd accounts managed to get the wrong password in opensrf_core.xml
> or didn't get registered).

I found a reference to settings-tester.pl from Evergreen being useful
to test OpenSRF. I've run that and it claims no problems with Jabber.
It did report some Perl modules not installed, but presumably those
are for Evergreen. I've attached a log in case someone sees something
important there.

$ ./settings-tester.pl > settings-tester.log
Please install one of the following modules: Net::Z3950 Net::Z3950::ZOOM
Please install MARC::Record
Please install MARC::Charset
Please install MARC::File::XML
Please install Text::Aspell
Please install DateTime::Format::Mail
Please install GD::Graph3d
Please install JavaScript::SpiderMonkey
Please install Email::Send
Please install Text::CSV
Please install Spreadsheet::WriteExcel::Big
Please install Parse::RecDescent
Please install SRU

> .srfsh.xml should point to private.localhost, as that will enable you to
> invoke methods on both private and public OpenSRF services.

I do have private.localhost in .srfsh.xml.

Thanks for the assistance.

Sincerely,
Bradley Peters.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opensrf.persist_unix.log
Type: text/x-log
Size: 300 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20100104/825b748d/attachment-0005.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opensrf.settings_unix.log
Type: text/x-log
Size: 301 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20100104/825b748d/attachment-0006.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osrfsys.log
Type: text/x-log
Size: 6421 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20100104/825b748d/attachment-0007.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: router.log
Type: text/x-log
Size: 5649 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20100104/825b748d/attachment-0008.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: settings-tester.log
Type: text/x-log
Size: 1318 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20100104/825b748d/attachment-0009.bin 


More information about the Open-ils-dev mailing list