Here's the output of the messages file:
I had tried deleting the db yesterday but it looks like its not being re-created. ? Sep 7 11:09:59 localhost jabberd/c2s[19748]: starting up Sep 7 11:09:59 localhost jabberd/c2s[19748]: process id is 19748, written to /var/lib/jabberd/pid/c2s.pid Sep 7 11:09:59 localhost jabberd/c2s[19748]: modules search path: /usr/lib/jabberd Sep 7 11:09:59 localhost jabberd/c2s[19748]: loading 'db' authreg module Sep 7 11:09:59 localhost jabberd/sm[19741]: starting up Sep 7 11:09:59 localhost jabberd/sm[19741]: process id is 19741, written to /var/lib/jabberd/pid/sm.pid Sep 7 11:09:59 localhost jabberd/sm[19741]: loading 'db' storage module Sep 7 11:09:59 localhost jabberd/c2s[19748]: db: couldn't open environment: No such file or directory Sep 7 11:09:59 localhost jabberd/sm[19741]: db: couldn't open environment: No such file or directory Sep 7 11:09:59 localhost jabberd/c2s[19748]: failed to initialize auth module 'db' Sep 7 11:09:59 localhost jabberd/sm[19741]: initialisation of storage driver 'db' failed Sep 7 11:09:59 localhost jabberd/sm[19741]: failed to initialise one or more storage drivers, aborting 2011/09/07 11:10:02 -04:00 26061 0.0.0.0: osad/jabber_lib.__init__ 2011/09/07 11:10:02 -04:00 26061 0.0.0.0: osad/jabber_lib.print_message('socket error',) 2011/09/07 11:10:02 -04:00 26061 0.0.0.0: osad/jabber_lib.print_message('Could not connect to jabber server', 'localhost') From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Pierre Casenove Sent: Wednesday, September 07, 2011 10:56 AM To: spacewalk-list@redhat.com Subject: Re: [Spacewalk-list] Waiting for Tomcat to be ready... What's in jabberd logs in /var/log/messages? You should be able to connect. You can stop jabberd, remove the db et restart jabber to force it to recreate the db, just in case the DB is corrupted 2011/9/7 Gomes, Rich <rich.go...@uniform.aramark.com> Thanks. I do see the process going to sleep for 10 seconds but fails when it wakes up: (from osa log) 2011/09/07 10:45:30 -04:00 26061 0.0.0.0: osad/jabber_lib.setup_connection('ERROR', 'Traceback (most recent call last):\n File "/usr/share/rhn/osad/jabber_lib.py", line 250, in setup_connection\n c = self._get_jabber_client(js)\n File "/usr/share/rhn/osad/jabber_lib.py", line 307, in _get_jabber_client\n c.connect()\n File "/usr/share/rhn/osad/jabber_lib.py", line 564, in connect\n jabber.Client.connect(self)\n File "/usr/lib/python2.4/site-packages/jabber/xmlstream.py", line 464, in connect\n else: self._sock.connect((self._hostIP, self._port))\n File "<string>", line 1, in connect\nerror: (111, \'Connection refused\')\n') 2011/09/07 10:45:30 -04:00 26061 0.0.0.0: osad/jabber_lib.setup_connection('Could not connect to any jabber server',) 2011/09/07 10:45:30 -04:00 26061 0.0.0.0: osad/jabber_lib.main('Unable to connect to jabber servers, sleeping 10 seconds',) From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Pierre Casenove Sent: Wednesday, September 07, 2011 1:51 AM To: spacewalk-list@redhat.com Subject: Re: [Spacewalk-list] Waiting for Tomcat to be ready... No, this one is a known issue of spacewalk 1.5 that might happen on some installation (I have this minor issue): 10 seconds after this message, osa-dispatcher reconnects to jabberd (check /var/log/rhn/osa-dispatcher.log to be sure). Tomcat should complain in var/log/tomcat5/catalina.out 2011/9/6 Gomes, Rich <rich.go...@uniform.aramark.com> So last week I decided to remove Spacewalk and install again, including Oracle. Spacewalk came up after the install, no issues. But now it is back to "Waiting for Tomcat to be ready..." Looks like it's an issue with the osa-dispatcher starting? Starting osa-dispatcher: RHN 15121 2011/09/06 14:08:32 -04:00: ('Traceback (most recent call last):\n File "/usr/share/rhn/osad/jabber_lib.py", line 250, in setup_connection\n c = self._get_jabber_client(js)\n File "/usr/share/rhn/osad/jabber_lib.py", line 307, in _get_jabber_client\n c.connect()\n File "/usr/share/rhn/osad/jabber_lib.py", line 564, in connect\n jabber.Client.connect(self)\n File "/usr/lib/python2.4/site-packages/jabber/xmlstream.py", line 464, in connect\n else: self._sock.connect((self._hostIP, self._port))\n File "<string>", line 1, in connect\nerror: (111, \'Connection refused\')\n',) [ OK ] Starting tomcat5: [ OK ] Waiting for tomcat to be ready ... Here's what a 'strace -fe trace=network osa-dispatcher -N' reveals: RHN 20145 2011/09/06 15:29:29 -04:00: ('Traceback (most recent call last):\n File "/usr/share/rhn/osad/jabber_lib.py", line 250, in setup_connection\n c = self._get_jabber_client(js)\n File "/usr/share/rhn/osad/jabber_lib.py", line 307, in _get_jabber_client\n c.connect()\n File "/usr/share/rhn/osad/jabber_lib.py", line 564, in connect\n jabber.Client.connect(self)\n File "/usr/lib/python2.4/site-packages/jabber/xmlstream.py", line 464, in connect\n else: self._sock.connect((self._hostIP, self._port))\n File "<string>", line 1, in connect\nerror: (111, \'Connection refused\')\n',) Thoughts? From: Gomes, Rich Sent: Monday, August 29, 2011 4:13 PM To: spacewalk-list@redhat.com Subject: Waiting for Tomcat to be ready... Running SW 1.5 and cannot start the service, hangs at starting Tomcat services. Tried the fix in the thread below, but still having the issue. Anyone have a tried and true fix for this? http://osdir.com/ml/spacewalk-devel/2011-03/msg00096.html Thanks in advance, Rich _______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list _______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list