[Spacewalk-list] Waiting for Tomcat to be ready...
Gomes, Rich
rich.gomes at uniform.aramark.com
Wed Sep 7 14:46:25 UTC 2011
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-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Pierre Casenove
Sent: Wednesday, September 07, 2011 1:51 AM
To: spacewalk-list at 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.gomes at 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 at 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 at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20110907/43248a4b/attachment.htm>
More information about the Spacewalk-list
mailing list