[Spacewalk-list] Scheduled Tasks and osa-dispatcher

Jan Hutař jhutar at redhat.com
Mon Jul 30 05:08:13 UTC 2012


On Wed, 18 Jul 2012 20:09:45 -0400 Tom Priore
<tom.priore at gmail.com> wrote:

> I'm new to spacewalk, and while I have seen posts on
> osa-dispatcher in the list, I have not yet been able to fix my
> system. I'm running spacewalk 1.7 on Centos 6 with postgress.
> I noticed none of the scheduled jobs are running, and
> troubleshooting this I discovered errors with osa-dispatcher.
> The error is below.
> 
> I have check the rhn.conf file for the correct host name and
> certs. /etc/hosts is pointing to the correct fqdn/ip.
> Jabberd is running.
> iptables is off.
> selinux is disabled.
> 
> Starting osa-dispatcher: RHN 1233 2012/07/18 18:51:29 -05:00:
> ('Traceback (most recent call last):\n  File
> "/usr/share/rhn/osad/jabber_lib.py", line 252, in
> setup_connection\n c = self._get_jabber_client(js)\n  File
> "/usr/share/rhn/osad/jabber_lib.py", line 309, in
> _get_jabber_client\n c.connect()\n  File
> "/usr/share/rhn/osad/jabber_lib.py", line 567, in connect\n
> jabber.Client.connect(self)\n  File
> "/usr/lib/python2.6/site-packages/jabber/xmlstream.py", line
> 488, in connect\n    raise socket.error("Unable to connect to
> the host and port specified")\nerror: Unable to connect to the
> host and port specified\n',)
> 
> Thanks.
> Tom

I have seen this when I have tried to start osa-dispatcher right
after jabberd restart. jabberd did not fully started yet, so
osa-dispatcher failed to connect. But when it tried 10 - 20
seconds later, it connected correctly.

# rhn-satellite restart
# sleep 20
# service jabberd status
# service osa-dispatcher status

Do you still see the issue?

Regards,
Jan



-- 
Jan Hutar     Systems Management QA
jhutar at redhat.com     Red Hat, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120730/1abfc096/attachment.sig>


More information about the Spacewalk-list mailing list