[Spacewalk-list] osa-dispatcher crashing with the following error

Jeremy Davis jdavis4102 at gmail.com
Thu Mar 29 15:24:21 UTC 2012


Hello List,

I just upgraded to 1.6 and ever so often osa-dispatcher crashes on me with
the following errors in the logs. To get it back up and going to allow
clients to work again I have to do the following to get it back up. Any
ideas as to what this could be? It may be related to BZ
https://bugzilla.redhat.com/show_bug.cgi?id=716064 but I am not sure.

Error:

2012/03/28 16:26:08 -07:00 3785 0.0.0.0: osad/jabber_lib.main('ERROR',
'Error caught:')
2012/03/28 16:26:08 -07:00 3785 0.0.0.0: osad/jabber_lib.main('ERROR',
'Traceback (most recent call last):\n  File
"/usr/share/rhn/osad/jabber_lib.py", line 120, in main\n
 self.process_forever(c)\n  File "/usr/share/rhn/osad/jabber_lib.py", line
178, in process_forever\n    self.process_once(client)\n  File
"/usr/share/rhn/osad/osa_dispatcher.py", line 178, in process_once\n
 client.retrieve_roster()\n  File "/usr/share/rhn/osad/jabber_lib.py", line
714, in retrieve_roster\n    stanza = self.get_one_stanza()\n  File
"/usr/share/rhn/osad/jabber_lib.py", line 786, in get_one_stanza\n
 self.process(timeout=tm)\n  File "/usr/share/rhn/osad/jabber_lib.py", line
1048, in process\n    self._parser.Parse(data)\n  File
"/usr/lib/python2.4/site-packages/jabber/xmlstream.py", line 269, in
unknown_endtag\n    self.dispatch(self._mini_dom)\n  File
"/usr/share/rhn/osad/jabber_lib.py", line 814, in _orig_dispatch\n
 jabber.Client.dispatch(self, stanza)\n  File
"/usr/lib/python2.4/site-packages/jabber/jabber.py", line 290, in
dispatch\n    else: handler[\'func\'](self,stanza)\n  File
"/usr/share/rhn/osad/jabber_lib.py", line 369, in dispatch\n
 callback(client, stanza)\n  File
"/usr/share/rhn/osad/dispatcher_client.py", line 145, in
_message_callback\n    sig = self._check_signature_from_message(stanza,
actions)\n  File "/usr/share/rhn/osad/jabber_lib.py", line 1310, in
_check_signature_from_message\n    sig = self._check_signature(stanza,
actions=actions)\n  File "/usr/share/rhn/osad/dispatcher_client.py", line
69, in _check_signature\n    row = lookup_client_by_name(x_client_id)\n
 File "/usr/share/rhn/osad/dispatcher_client.py", line 214, in
lookup_client_by_name\n    raise
InvalidClientError(client_name)\nInvalidClientError: d79c1f5d23dca47d\n')
2012/03/28 16:26:18 -07:00 3785 0.0.0.0: osad/jabber_lib.__init__
2012/03/28 16:26:18 -07:00 3785 0.0.0.0:
osad/jabber_lib.setup_connection('Connected to jabber server', 'removed for
security')
2012/03/28 16:26:18 -07:00 3785 0.0.0.0: osad/jabber_lib.register('ERROR',
'Invalid password')

Steps to get back up and going:

On Application server:
service jabberd stop
service osa-dispatcher stop
rm -f /var/lib/jabberd/db/*
service jabberd start
sleep 10
service osa-dispatcher start

On Proxy servers:
service jabberd stop
rm -f /var/lib/jabberd/db/*
service jabberd start

Any assistance you could provide would be greatly appreciated! Thank you
for your time and have a great day!

Regards,
Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120329/f7c01315/attachment.htm>


More information about the Spacewalk-list mailing list