Spacewalk Errors Raw

On Server
---------

### Invalid Password - Jabber Daemon

If you see this in `/var/log/rhn/osa-dispatcher.log`

    2011/09/08 17:18:12 -05:00 7402 0.0.0.0: osad/jabber_lib.__init__  
    2011/09/08 17:18:13 -05:00 7402 0.0.0.0: osad/jabber_lib.setup_connection('Connected to jabber server', 'spacewalk.example.com')  
    2011/09/08 17:18:13 -05:00 7402 0.0.0.0: osad/jabber_lib.register('ERROR', 'Invalid password')

Run this [as a cron job every
night](https://www.redhat.com/archives/spacewalk-list/2010-September/msg00078.html)
on **the server**:

    /sbin/service jabberd stop  
    /sbin/service osa-dispatcher stop  
    rm -Rf /var/lib/jabberd/db/*  
    /sbin/service jabberd start  
    /sbin/service osa-dispatcher start

Run this on **the client**:

    service osad stop  
    rm /etc/sysconfig/rhn/osad-auth.conf  
    service osad start

### Checking the FQDN quickly

All three commands should return the same thing (host.domain.tld)

    openssl x509 -text -in cat /etc/rhn/rhn.conf | grep osa_ssl_cert | sed 's/.* =//' | grep '^ [:space:](:space: "wikilink")*Subject:.*CN=' | sed 's/.*CN=//'   
    openssl x509 -text -in grep '^ [:space:](:space: "wikilink")*bock
            5.2.0-beta