[Spacewalk-list] Problem with OSA (SSL error message)

Brian Musson mrbrian at gmail.com
Fri Feb 13 05:36:56 UTC 2015


Hi Matthew.

They are indeed different!

How do you suggest i remediate the situation? The hostname in the
certificate is wrong, but the hostname in rhn.conf is correct.

I have two proxy's communicating with this Spacewalk server along with
clients talking to both the proxies and directly to the Spacewalk server.

Thanks for your prompt response.

Brian

BM

On Thu, Feb 12, 2015 at 9:24 PM, Matthew Madey <mattmadey at gmail.com> wrote:

> Check /etc/rhn/rhn.conf and make sure the below 2 variables match the
> hostname of your Spacewalk server
>
> server.jabber_server = yourspacewalk.server.com
> osa-dispatcher.jabber_server = yourspacewalk.server.com
>
> Also, verify that the hostname listed in your SSL certificate matches the
> hostname of your Spacewalk server..
>
> /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT
>
> On Thu, Feb 12, 2015 at 10:43 PM, Brian Musson <mrbrian at gmail.com> wrote:
>
>> Hi everybody, this is my first post. I have a new Spacewalk 2.2 server up
>> and running, but systems are not picking up tasks. Upon further
>> investigation, I have found that the /var/log/rhn/osa-dispatcher.log on my
>> spacewalk server says what is pasted below. It states there is a SSL error.
>> I can not "OSA Ping" the systems, either. I did the following per another
>> message I found a link to an older mailing list post that was unanswered. I
>> followed the steps the mailing list suggested on both the client and the
>> server. Anybody have suggestions or know whats going on?
>>
>> *Link to mailing list thread:*
>>
>> https://www.redhat.com/archives/spacewalk-list/2014-August/msg00103.html
>>
>> *commands run on spacewalk server:*
>>
>> service jabberd stop
>> rm -Rf /var/lib/jabberd/db/*
>> service jabberd start
>>
>> *then commands ran on spacewalk clients:*
>>
>> service osad stop
>> rm /etc/sysconfig/rhn/osad-auth.conf
>> service osad start
>>
>> *Error message in  /var/log/rhn/osa-dispatcher.log:*
>>
>> 2015/02/12 20:36:01 -07:00 17766 0.0.0.0: osad/jabber_lib.main('ERROR',
>> 'Error caught:')
>> 2015/02/12 20:36:01 -07:00 17766 0.0.0.0: osad/jabber_lib.main('ERROR',
>> 'Traceback (most recent call last):\n  File
>> "/usr/share/rhn/osad/jabber_lib.py", line 121, in main\n
>>  self.process_forever(c)\n  File "/usr/share/rhn/osad/jabber_lib.py", line
>> 179, in process_forever\n    self.process_once(client)\n  File
>> "/usr/share/rhn/osad/osa_dispatcher.py", line 182, in process_once\n
>>  client.retrieve_roster()\n  File "/usr/share/rhn/osad/jabber_lib.py", line
>> 729, in retrieve_roster\n    stanza = self.get_one_stanza()\n  File
>> "/usr/share/rhn/osad/jabber_lib.py", line 801, in get_one_stanza\n
>>  self.process(timeout=tm)\n  File "/usr/share/rhn/osad/jabber_lib.py", line
>> 1055, in process\n    data = self._read(self.BLOCK_SIZE)\nSSLError:
>> (\'OpenSSL error; will retry\', "(-1, \'Unexpected EOF\')")\n')
>> 2015/02/12 20:36:05 -07:00 17777 0.0.0.0: osad/jabber_lib.main('ERROR',
>> 'Error caught:')
>> 2015/02/12 20:36:05 -07:00 17777 0.0.0.0: osad/jabber_lib.main('ERROR',
>> 'Traceback (most recent call last):\n  File
>> "/usr/share/rhn/osad/jabber_lib.py", line 121, in main\n
>>  self.process_forever(c)\n  File "/usr/share/rhn/osad/jabber_lib.py", line
>> 179, in process_forever\n    self.process_once(client)\n  File
>> "/usr/share/rhn/osad/osa_dispatcher.py", line 182, in process_once\n
>>  client.retrieve_roster()\n  File "/usr/share/rhn/osad/jabber_lib.py", line
>> 729, in retrieve_roster\n    stanza = self.get_one_stanza()\n  File
>> "/usr/share/rhn/osad/jabber_lib.py", line 801, in get_one_stanza\n
>>  self.process(timeout=tm)\n  File "/usr/share/rhn/osad/jabber_lib.py", line
>> 1055, in process\n    data = self._read(self.BLOCK_SIZE)\nSSLError:
>> (\'OpenSSL error; will retry\', "(-1, \'Unexpected EOF\')")\n')
>>
>> Regards,
>> Brian
>>
>> BM
>>
>> _______________________________________________
>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150212/5f190a48/attachment.htm>


More information about the Spacewalk-list mailing list