How to quickly fix osad failure to connect to the SpaceWalk server
If one day you noticed that you spacewalk client had started to spit at you with the following errors – just know that it’s very easy to fix.
2012/03/15 17:17:43 +04:00 29835 0.0.0.0: osad/jabber_lib.setup_connection(‘Connected to jabber server’, ‘spacewalk-server-name’)
2012/03/15 17:17:43 +04:00 29835 0.0.0.0: osad/jabber_lib.register(‘ERROR’, ‘Invalid password’)
- Stop spacewalk
- Connect to Postgresql and run this trivial sql
- Back to the cli and start Spacewalk processes back
rhn-satellite stop rm -f /var/lib/jabberd/db/*
delete from rhnPushDispatcher;
rhn-satellite start