Description of problem: When running rhn-satellite restart osa-dispatcher is not started. Version-Release number of selected component (if applicable): Spacewalk nightly Postgre version RHEL5, RHEL6, F14 Steps to Reproduce: 1. rhn-satellite restart Actual results: Traceback can be found in /var/log/rhn/osa-dispatcher.log
Well, I've seen the error message once: # spacewalk-service restart Shutting down spacewalk services... [...] Shutting down osa-dispatcher: [ OK ] Terminating jabberd processes ... Stopping router: [ OK ] Stopping sm: [ OK ] Stopping c2s: [ OK ] Stopping s2s: [ OK ] Done. Starting spacewalk services... Initializing jabberd processes ... Starting router: [ OK ] Starting sm: [ OK ] Starting c2s: [ OK ] Starting s2s: [ OK ] Starting osa-dispatcher: /usr/lib/python2.6/site-packages/jabber/jabber.py:68: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha, time RHN 23908 2011/12/16 05:04:51 -04:00: ('Server did not return a <features /> stanza',) RHN 23908 2011/12/16 05:04:51 -04:00: ('Traceback (most recent call last):\n File "/usr/share/rhn/osad/jabber_lib.py", line 246, in setup_connection\n c = self._get_jabber_client(js)\n File "/usr/share/rhn/osad/jabber_lib.py", line 303, in _get_jabber_client\n c.connect()\n File "/usr/share/rhn/osad/jabber_lib.py", line 576, in connect\n raise SSLDisabledError\nSSLDisabledError\n',) [ OK ] Starting tomcat6: [ OK ] [...] Done. Subsequent osa-dispatcher restart went fine # service osa-dispatcher restart Shutting down osa-dispatcher: [ OK ] Starting osa-dispatcher: /usr/lib/python2.6/site-packages/jabber/jabber.py:68: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha, time [ OK ] And then I was no more able to reproduce the issue with any combination of # service jabberd restart ; service osa-dispatcher restart # service osa-dispatcher stop ; service jabberd stop ; service jabberd start ; service osa-dispatcher start # spacewalk-service restart
*** Bug 759406 has been marked as a duplicate of this bug. ***
Fixed in spacewalk master by commit 8ac086d8a039c72a94bcac0c62c2566b7054a5e4 756761 - reconnect if jabber server returns error during handshake
Spacewalk 1.6 has been released.