You can try the following to regenerate the jabberd database (it tends to corrupt itself frequently for no apparent reason)
On the Spacewalk server run: service jabberd stop service osa-dispatcher stop rm -Rf /var/lib/jabberd/db/* service jabberd start service osa-dispatcher start Wait about 5 minutes and check your clients. Use the ping button next to OSA status if it still says offline. After that, if it still says offline, but you don't have any errors in the osa-dispatcher log, you will have to run the below on the clients: service osad stop rm -f /etc/sysconfig/rhn/osad-auth.conf service osad start That will regenerate the client's OSAD credentials to talk with jabberd on the Spacewalk server. On Wed, Feb 11, 2015 at 3:39 PM, Nick Tailor <[email protected]> wrote: > Honestly, osad is unreliable. > > > > I setup a cron to do a rhn_check every 5 mins and it works solid. > > > > Cheers > > > > Nick Tailor > > Nicktailor.com > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Reneau, Wes W [HDS] > *Sent:* February-11-15 1:02 PM > *To:* [email protected] > *Subject:* [Spacewalk-list] osa-dispatcher failing. openssl error / > unexpected eof > > > > Hello all, > > > > New Oracle Spacewalk 2.0 deployment. All is well except for > osa-dispatcher. Registration of clients succeeds however clients never > refresh in webui. > > > > offline as of unknown > Last pinged: 2/11/15 3:42:58 PM EST > > I get the following in /var/log/rhn/osa-dispatcher.log > > > > > > I’ve verified the /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT as valid w/ > openssl x509 -in RHN-ORG-TRUSTED-SSL-CERT -text –noout. > > > > Osa-dispatcher and jabber start, but no client’s pickup tasks w/o the > obligatory rhn_check command. > > > > Error below: > > > > > > > > Spacewalk 16080 2015/02/11 14:54:27 -04:00: ('Traceback (most recent call > last):\n File "/usr/share/rhn/osad/jabber_lib.py", line 120, in main\n > self.process_forever(c)\n File "/usr/share/rhn/osad/jabber_lib.py", line > 178, 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 > 714, in retrieve_roster\n stanza = self.get_one_stanza()\n File > "/usr/share/rhn/osad/jabber_lib.py", line 786, in get_one_stanza\n > self.process(timeout=tm)\n File "/usr/share/rhn/osad/jabber_lib.py", line > 1040, in process\n data = self._read(self.BLOCK_SIZE)\nSSLError: > (\'OpenSSL error; will retry\', "(-1, \'Unexpected EOF\')")\n',) > > > > > > THX > > Wes > > > > > > > > > ------------------------------ > This email is intended only for the addressee. It may contain confidential > or proprietary information that cannot be disclosed without BCLC's > permission. If you have received this email in error, please notify the > sender immediately and delete the email. > > _______________________________________________ > Spacewalk-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-list >
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
