[OPEN-ILS-DEV] Re: Network/Server failure, can't get client

Christopher Kupec ckupec at mac.com
Fri Jun 1 14:15:47 EDT 2007


Hi Dan,

Yeah, I'm able to start up the router. Here's everything I did on a reboot:

evergreen at eg-server:~$ sudo /etc/init.d/postgresql-8.2 restartPassword:
 * Restarting PostgreSQL 8.2 database server                             [ OK ] 
evergreen at eg-server:~$ sudo /etc/init.d/apache2 restart * Forcing reload of web server (apache2)...                             [ OK ] 
evergreen at eg-server:~$ sudo /etc/init.d/ejabberd force-reloadRestarting jabber server: ejabberd.
evergreen at eg-server:~$ sudo /usr/bin/memcached -u nobody -p 10101 -l 127.0.0.1 -d
evergreen at eg-server:~$ sudo -u opensrf /openils/bin/osrf_ctl.sh -d /tmp/ -p /openils/conf/bootstrap.conf -c /openils/conf/opensrf_core.xml -a start_all
Starting OpenSRF Router
Starting OpenSRF Perl
 * Server type: Net::Server::PreFork
 * System bootstrap
 * Starting UnixServer for open-ils.cat...
 * Starting UnixServer for open-ils.supercat...
 * Starting UnixServer for open-ils.search...
 * Starting UnixServer for open-ils.circ...
 * Starting UnixServer for open-ils.actor...
 * Starting UnixServer for open-ils.storage...
 * Starting UnixServer for open-ils.penalty...
 * Starting UnixServer for open-ils.collections...
 * Starting UnixServer for open-ils.ingest...
 * Starting UnixServer for open-ils.reporter...
 * Starting Listener for open-ils.cat...
 * Starting Listener for open-ils.supercat...
 * Starting Listener for open-ils.search...
 * Starting Listener for open-ils.circ...
 * Starting Listener for open-ils.actor...
 * Starting Listener for open-ils.storage...
 * Starting Listener for open-ils.penalty...
 * Starting Listener for open-ils.collections...
 * Starting Listener for open-ils.ingest...
 * Starting Listener for open-ils.reporter...
Starting OpenSRF C
Loading OpenSRF host eg-server.main.chelmsfordlibrary.org with bootstrap config /openils/conf/opensrf_core.xml and config context opensrf
 * System is ready...
 * Running application opensrf.math
 * Running application opensrf.dbmath
 * Running application open-ils.auth
 * Running application open-ils.cstore
 * Running application open-ils.reporter-store
evergreen at eg-server:~$ 

*******************************

Here's the tail of the opensrfsys.log:

sudo tail osrfsys.log
open-ils.cstore 2007-06-01 12:58:57 [INFO:10094:osrf_application.c:113:] Running onExit handler for app open-ils.cstore
open-ils.reporter-store 2007-06-01 12:58:57 [ERR :10088:oils_cstore.c:266:] Error connecting to database: FATAL:  password authentication failed for user "postgres"

open-ils.reporter-store 2007-06-01 12:58:57 [ERR :10088:osrf_application.c:99:] App open-ils.reporter-store child init failed
open-ils.reporter-store 2007-06-01 12:58:57 [ERR :10088:osrf_prefork.c:151:] Prefork child_init failed

open-ils.reporter-store 2007-06-01 12:58:57 [ERR :10088:osrf_prefork.c:314:] Forker child going away because we could not connect to OpenSRF...
open-ils.reporter-store 2007-06-01 12:58:57 [INFO:10088:osrf_application.c:113:] Running onExit handler for app open-ils.reporter-store
open-ils.cstore 2007-06-01 12:58:57 [WARN:10072:transport_session.c:122:] socket_wait returned error code -1
open-ils.reporter-store 2007-06-01 12:58:57 [WARN:10077:transport_session.c:122:] socket_wait returned error code -1



That's everything.  Looks like there's a problem before I even fire up the client.

Chris

************* below is what I'm replying to ***********************

Date: Thu, 31 May 2007 15:16:54 -0400
From: "Dan Wells" <dbw2 at calvin.edu>
Subject: [OPEN-ILS-DEV] Re: Network/Server failure, can't get client
to connect
To: <open-ils-dev at list.georgialibraries.org>
Message-ID: <465EE6D6.3669.00F7.0 at calvin.edu>
Content-Type: text/plain; charset=US-ASCII

Hi Chris,

With a domain name that long, I'm putting my money on a typo in one of the 20 or so places you had to put it :)  For an example of an almost impossible to see typo, see the bottom of your last email ;)

Are you able to successfully start just the router? (using e.g. sudo -u opensrf /openils/bin/osrf_ctl.sh -d /tmp/ -p /openils/conf/bootstrap.conf -c /openils/conf/opensrf_core.xml -a start_router)  Make sure to do a stop_all first, and give it time to actually stop.

If your router doesn't start correctly, double (and triple) check all your router settings in opensrf_core.xml, ejabberd.cfg, and bootstrap.conf.

DW

>>opensrf 2007-05-31 09:44:12 [WARN:6205:osrf_stack.c:84:]  !!! Received Jabber layer error message
>>opensrf 2007-05-31 09:44:12 [WARN:6205:osrf_stack.c:94:]  * Jabber Error is for top level remote id [router at eg-server.main.chelmsfordlibrary.org/opensrf.settings], no one to send my message too!!!




More information about the Open-ils-dev mailing list