[OPEN-ILS-DEV] restoring evergreen to an empty state

Nella Lall ndlall at ucalgary.ca
Fri Mar 14 15:40:09 EDT 2008


Jason,

Sorry, I was unable to get back to you immediately.

Well, I don't even get to the srfsh# prompt.  My error messages are instant:

evergreen-admin at eg-server:~$ pwd
/home/evergreen-admin
evergreen-admin at eg-server:~$ ls -lt .srfsh.xml
-rw-r--r-- 1 evergreen-admin evergreen-admin 379 2007-11-14 12:03 .srfsh.xml


evergreen-admin at eg-server:~$ sudo /openils/bin/srfsh
Unable to fopen log file /path/to/log/srfsh.log for writing; logging to 
standard error
srfsh 2008-03-14 11:27:22 [INFO:9528:osrf_system.c:267:] Bootstrapping 
system with domain 127.0.0.1, port 5222, and unixpath (none)
Unable to fopen log file /path/to/log/srfsh.log for writing; logging to 
standard error
srfsh 2008-03-14 11:27:22 [WARN:9528:transport_session.c:386:] Received 
<stream:error> message from Jabber server
Unable to fopen log file /path/to/log/srfsh.log for writing; logging to 
standard error
srfsh 2008-03-14 11:27:22 [DEBG:9528:socket_bundle.c:367:] removing socket 3
Unable to bootstrap client for requests
Unable to fopen log file /path/to/log/srfsh.log for writing; logging to 
standard error
srfsh 2008-03-14 11:27:22 [ERR :9528:srfsh.c:21:] Unable to bootstrap 
client for requests


And the ps -aef command gives:

evergreen-admin at eg-server:~$ ps -aef | grep opensrf.settings
opensrf   6047  6045  0 Mar11 ?        00:00:02 OpenSRF master 
[opensrf.settings]
opensrf   6053  6045  0 Mar11 ?        00:00:00 OpenSRF listener 
[opensrf.settings]
opensrf   6135  6047  0 Mar11 ?        00:00:00 OpenSRF drone 
[opensrf.settings]
opensrf   6150  6047  0 Mar11 ?        00:00:00 OpenSRF drone 
[opensrf.settings]
opensrf   6153  6047  0 Mar11 ?        00:00:00 OpenSRF drone 
[opensrf.settings]
opensrf   6215  6047  0 Mar11 ?        00:00:00 OpenSRF drone 
[opensrf.settings]
opensrf   9543  6047  0 11:29 ?        00:00:00 OpenSRF drone 
[opensrf.settings]
1000      9545  9415  0 11:29 pts/1    00:00:00 grep opensrf.settings
opensrf  19898 19896  0 Mar12 ?        00:00:00 OpenSRF listener 
[opensrf.settings]
opensrf  20004  6047  0 Mar12 ?        00:00:00 OpenSRF drone 
[opensrf.settings]
evergreen-admin at eg-server:~$


New insights with this information?  Is it time to give up and do a full 
re-install of evergreen???

Nella

Jason Etheridge wrote:
>>  So, I think things are bit happier but the Connection to Settings
>>  failed??  What does this new message mean?
>>     
>
> For some reason, the fieldmapper.pl script called by autogen.sh was
> not able to get a response from the opensrf.settings server that
> should be running after you have started services.
>
> Let's see if we can reproduce that error from a different angle.
> Assuming you have configured the .srfsh.xml file, run
> /openils/bin/srfsh  (you will have to do this as the user associated
> with the home directory where you placed .srfsh.xml)
>
> You should get a prompt that looks like this:  srfsh#
>
> Enter the following command and press enter: request opensrf.settings
> opensrf.settings.host_config.get "localhost"
>
> But instead of localhost, use the fully qualified domain name for your
> installation.
>
> If srfsh can connect to the settings service with that command, it
> should give a lot of indented data marked up with curly brackets,
> colons, and quotation marks.  On my system, the first thing I see is
> Received Data: { "z3950"
>
> If it can't connect, it should say something simpler, like Unable to
> communicate with service opensrf.settings
>
> If you would, paste us the first ten lines or so of the output from
> that (or all of it if it's small).
>
> This will tell us where to look next for figuring out what's going on.
>
> Another thing to do is try: ps -aef | grep opensrf.settings
>
> You should see OpenSRF processes listed.  Go ahead and paste these as well.
>
> Thanks!
>
>   


More information about the Open-ils-dev mailing list