[Spacewalk-list] OSAD clients offline as of unknown

Milan Zazrivec mzazrivec at redhat.com
Thu Jan 3 12:28:53 UTC 2013


> I was wondering if anyone could give me a hand on this. All my clients are
> listed as OSA Status: offline as of unknown. They ping fine (OSA Status
> shows Last pinged: 12/28/12 2:41:48 PM EST for example).
> 
> Client:
> $ sudo service osad status
> osad (pid  31798) is running...
> 
> Server:
> $ sudo service osa-dispatcher status
> osa-dispatcher (pid  19217) is running...
> 
> $ sudo less /var/log/rhn/osa-dispatcher.log
> 2012/12/21 16:03:58 -04:00 5269 0.0.0.0:
> osad/jabber_lib.setup_connection('Connected to jabber server',
> 'servername.fqdn.com') 2012/12/21 16:03:58 -04:00 5269 0.0.0.0:
> osad/jabber_lib.register('ERROR', 'Invalid password') 2012/12/21 16:07:34
> -04:00 6719 0.0.0.0: osad/jabber_lib.__init__
> 2012/12/21 16:07:34 -04:00 6719 0.0.0.0:
> osad/jabber_lib.setup_connection('Connected to jabber server',
> 'servername.fqdn.com') 2012/12/21 16:07:34 -04:00 6719 0.0.0.0:
> osad/jabber_lib.register('ERROR', 'Invalid password') 2012/12/21 16:16:59
> -04:00 9748 0.0.0.0: osad/jabber_lib.__init__
> 2012/12/21 16:16:59 -04:00 9748 0.0.0.0:
> osad/jabber_lib.setup_connection('Connected to jabber server',
> 'servername.fqdn.com') 2012/12/21 16:16:59 -04:00 9748 0.0.0.0:
> osad/jabber_lib.register('ERROR', 'Invalid password') 2012/12/28 14:13:12
> -04:00 15804 0.0.0.0: osad/jabber_lib.__init__ 2012/12/28 14:13:12 -04:00
> 15804 0.0.0.0: osad/jabber_lib.setup_connection('Connected to jabber
> server', 'servername.fqdn.com') 2012/12/28 14:13:12 -04:00 15804 0.0.0.0:
> osad/jabber_lib.register('ERROR', 'Invalid password') 2012/12/28 14:31:55
> -04:00 19215 0.0.0.0: osad/jabber_lib.__init__ 2012/12/28 14:31:55 -04:00
> 19215 0.0.0.0: osad/jabber_lib.setup_connection('Connected to jabber
> server', 'servername.fqdn.com') 2012/12/28 14:31:56 -04:00 19215 0.0.0.0:
> osad/osa_dispatcher.fix_connection('Upstream notification server started
> on port', 1290) 2012/12/28 14:31:56 -04:00 19215 0.0.0.0:
> osad/jabber_lib.process_forever
> 
> I found this online and already tried it, no luck:
> service jabberd stop
> service osa-dispatcher stop
> rm -f /var/lib/jabberd/db/*
> service jabberd start
> sleep 10
> service osa-dispatcher start
> 
> sudo netstat -an | grep 5222 on the server shows ESTABLISHED connections
> from clients. I also have the ports in my iptables script needed for
> this(5222,5269 I think it was) but to troubleshoot this I created a rule
> on the server to allow all traffic to one of my clients for
> troubleshooting.
> 
> $IPTbls -A INPUT -i $PUBLIC -p all -s $IPADDRESS -j ACCEPT
> $IPTbls -A OUTPUT -o $PUBLIC -p all -d $IPADDRESS -j ACCEPT
> 
> Any advice is much appreciated.  Thanks!

On your Spacewalk server, what does the following give you?

rpm -q osa-dispatcher

-MZ




More information about the Spacewalk-list mailing list