[Spacewalk-list] OSAD problem
Yungwei Chen
yungwei at resolvity.com
Fri Jun 18 18:29:56 UTC 2010
1. In /etc/jabberd/c2s.xml, I see that /etc/pki/spacewalk/jabberd/server.pem is being used.
2. During osad installation on the cilent side, I downloaded RHN-ORG-TRUSTED-SSL-CERT from the server.
3. Those 2 certificates are different. Are they supposed to be different?
-----Original Message-----
From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Milan Zazrivec
Sent: Friday, June 18, 2010 12:45 PM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] OSAD problem
On Friday 18 June 2010 19:16:35 Yungwei Chen wrote:
> Any idea?
All the usual suggestions:
* check jabber services on your SW server are running (c2s, s2s, sm, router)
* check jabberd configurations (/etc/jabberd/*.xml)
* check that the ssl cert. c2s.xml points to is the one your SW server is
using
* check that jabberd services are able to access the cert (access right,
selinux)
* watch for anything suspicious from jabberd in /var/log/messages
-Milan
> -----Original Message-----
> From: spacewalk-list-bounces at redhat.com
> [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Yungwei Chen Sent:
> Monday, June 14, 2010 1:16 PM
> To: spacewalk-list at redhat.com
> Subject: [Spacewalk-list] OSAD problem
>
> Hi,
>
> I installed spacewalk on a CentOS 5.3 box (clean installation), and now I
> am having a problem when configuring osad. Any suggestions? Thanks.
>
> This is what happens when I start jabberd service on spacewalk server.
> [root at spacewalk3 ~]# tail -f /var/log/rhn/osa-dispatcher.log
> 2010/06/14 10:19:46 -05:00 1788 0.0.0.0: osad/jabber_lib.main('ERROR',
> 'Error caught:') 2010/06/14 10:19:46 -05:00 1788 0.0.0.0:
> osad/jabber_lib.main('ERROR', 'Traceback (most recent call last):\n File
> "/usr/share/rhn/osad/jabber_lib.py", line 122, in main\n
> self.process_forever(c)\n File "/usr/share/rhn/osad/jabber_lib.py", line
> 180, in process_forever\n self.process_once(client)\n File
> "/usr/share/rhn/osad/osa_dispatcher.py", line 146, in process_once\n
> client.retrieve_roster()\n File "/usr/share/rhn/osad/jabber_lib.py", line
> 718, in retrieve_roster\n stanza = self.get_one_stanza()\n File
> "/usr/share/rhn/osad/jabber_lib.py", line 790, in get_one_stanza\n
> self.process(timeout=tm)\n File "/usr/share/rhn/osad/jabber_lib.py", line
> 1048, in process\n raise SSLError("OpenSSL error; will retry",
> str(e))\nSSLError: (\'OpenSSL error; will retry\', "(-1, \'Unexpected
> EOF\')")\n') 2010/06/14 10:19:56 -05:00 1788 0.0.0.0:
> osad/jabber_lib.__init__
> 2010/06/14 10:19:56 -05:00 1788 0.0.0.0:
> osad/jabber_lib.setup_connection('Connected to jabber server',
> 'spacewalk3') 2010/06/14 10:19:56 -05:00 1788 0.0.0.0:
> osad/osa_dispatcher.fix_connection('Upstream notification server started
> on port', 1290) 2010/06/14 10:19:56 -05:00 1788 0.0.0.0:
> osad/jabber_lib.process_forever
>
> And this is what it shows on the client side
> [root at spacewalk2 rhn]# /etc/init.d/osad restart; tail -f /var/log/osad
> Shutting down osad: [ OK ]
> Starting osad: Server did not return a <features /> stanza
> Traceback (most recent call last):
> File "/usr/share/rhn/osad/jabber_lib.py", line 254, in setup_connection
> c = self._get_jabber_client(js)
> File "/usr/share/rhn/osad/jabber_lib.py", line 311, in _get_jabber_client
> c.connect()
> File "/usr/share/rhn/osad/jabber_lib.py", line 593, in connect
> raise SSLDisabledError
> SSLDisabledError
> [ OK ]
> 2010-06-14 10:36:33 jabber_lib.main: Unable to connect to jabber servers,
> sleeping 63 seconds 2010-06-14 10:37:36 jabber_lib.main: Unable to connect
> to jabber servers, sleeping 72 seconds 2010-06-14 10:38:48
> jabber_lib.main: Unable to connect to jabber servers, sleeping 93 seconds
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
More information about the Spacewalk-list
mailing list