[Spacewalk-list] osad startup errors

Wojtak, Greg (Superfly) GregWojtak at quickenloans.com
Thu May 17 13:12:26 UTC 2012


osad client in my experience always uses the hostname you registered the spacewalk client to.  So if you have your cert issued for the spacewalk server by it's short name, you need to either re-register using the short name or just edit /etc/sysconfig/rhn/up2date and change the spacewalk server name there.


Greg Wojtak
Sr. Unix Systems Engineer
Office: (313) 373-4306
Cell: (734) 718-8472


From: "Brown, Rodrick" <rbrown at knight.com<mailto:rbrown at knight.com>>
Reply-To: <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Date: Wed, 16 May 2012 17:52:52 -0400
To: "spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Subject: Re: [Spacewalk-list] osad startup errors

I have no issue logging into the jabber server from the osa-dispatcher service running on my spacewalk server its using the following configuration

osa-dispatcher.jabber_server = jc1lspacewalk1
osa-dispatcher.osa_ssl_cert = /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT

It seems my spacewalk clients is passing jc1lspacewalk1.fqdn instead of the hostname jc1lspacewalk1

In my osad.conf on my clients I have
osa-dispatcher.jabber_server = jc1lspacewalk1 # does not seem to work here

How can I fix this?

I think this is my problem

$ osad -N -v -v -v -v
2012-05-16 17:52:37 osad._setup_config: Updating configuration
2012-05-16 17:52:37 osad._setup_config: Time drift 0
2012-05-16 17:52:37 osad._setup_config: Client name a7a22efbf17b9938
2012-05-16 17:52:37 osad._setup_config: Shared key xxxxxx
2012-05-16 17:52:37 jabber_lib.setup_connection: Connecting to jc1lspacewalk1.global.knight.com

From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Brown, Rodrick
Sent: Wednesday, May 16, 2012 3:02 PM
To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
Subject: [Spacewalk-list] osad startup errors

Any ideas?

2012-05-16 15:00:12 jabber_lib.check_cert: Loading cert <X509Name object '/C=US/ST=North Carolina/L=Raleigh/O=Red Hat, Inc./OU=Red Hat Network/CN=RHN Certificate Authority/emailAddress=rhn-noc at redhat.com<mailto:Authority/emailAddress=rhn-noc at redhat.com>'>
2012-05-16 15:00:12 jabber_lib.connect:
2012-05-16 15:00:12 jabber_lib.process: 300
2012-05-16 15:00:12 jabber_lib.connect: Server did not return a <features /> stanza, reconnecting
2012-05-16 15:00:13 jabber_lib.process: 300
2012-05-16 15:00:13 jabber_lib.connect: Server did not return a <features /> stanza, reconnecting
2012-05-16 15:00:14 jabber_lib.process: 300
2012-05-16 15:00:14 jabber_lib.connect: Server did not return a <features /> stanza, reconnecting
Not able to reconnect
2012-05-16 15:00:15 jabber_lib.print_message: SSLError
2012-05-16 15:00:15 jabber_lib.print_message: Could not connect to jabber server xxxxxxxxxxxx
Traceback (most recent call last):
  File "/usr/share/rhn/osad/jabber_lib.py", line 252, in setup_connection
    c = self._get_jabber_client(js)
  File "/usr/share/rhn/osad/jabber_lib.py", line 309, in _get_jabber_client
    c.connect()
  File "/usr/share/rhn/osad/jabber_lib.py", line 589, in connect
    raise SSLDisabledError
SSLDisabledError

2012-05-16 15:00:15 jabber_lib.setup_connection: Could not connect to any jabber server
2012-05-16 15:00:15 jabber_lib.main: Unable to connect to jabber servers, sleeping 85 seconds

Please visit our website for important disclaimers/disclosures regarding Knight’s products and services:

http://knight.com/KnightEmailDisclaimer.html

Please visit our website for important disclaimers/disclosures regarding Knight’s products and services:

http://knight.com/KnightEmailDisclaimer.html

_______________________________________________ Spacewalk-list mailing list Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com> https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list