[Spacewalk-list] OSAD Not working

Bill Kuhn bkuhn at cortez.k12.co.us
Tue Mar 24 20:25:32 UTC 2015


@Waldirio Manh?es Pinheiro:
Yes that is the first thing I tried. Done it many times since.

@ Robert Paschedag
Which log would I find the error you are describing? I browsed through
every log I could find in hopes of finding any error messages that
would help me figure this out with no luck.


As for the possibility of invalid crendtials:
/var/log/rhn/rhn_server_xmlrpc.log

Shows this when I restart the OSAD Service on the client:
2015/03/24 14:12:10 -06:00 27582 192.168.86.66:
xmlrpc/registration.welcome_message('lang: None',)
2015/03/24 14:12:10 -06:00 27576 192.168.86.66:
xmlrpc/registration.register_osad
2015/03/24 14:12:10 -06:00 28312 192.168.86.66:
xmlrpc/registration.register_osad_jid

Running rhn_check manually on the client shows this in the same log:
2015/03/24 14:13:22 -06:00 27581 192.168.86.66:
xmlrpc/queue.get(1000010303, 2, 'checkins enabled')
2015/03/24 14:13:23 -06:00 28187 192.168.86.66:
xmlrpc/up2date.listChannels(1000010303,)
2015/03/24 14:13:23 -06:00 28136 192.168.86.66:
xmlrpc/registration.welcome_message('lang: None',

and if I have something scheduled it will run on the manual check.

Jabberd logs I changed to file so I could watch it more easily:
Only log that has anything is c2s.log:
c2s.log:Tue Mar 24 12:00:13 2015 [notice] [33] [::ffff:192.168.86.66,
port=48254] connect
c2s.log:Tue Mar 24 13:45:27 2015 [notice] [33] [::ffff:192.168.86.66,
port=48254] disconnect
jid=osad-3863522de3 at spacewalk.cortez.k12.co.us/osad, packets: 17
c2s.log:Tue Mar 24 14:04:30 2015 [notice] [33] [::ffff:192.168.86.66,
port=48275] connect
c2s.log:Tue Mar 24 14:11:55 2015 [notice] [33] [::ffff:192.168.86.66,
port=48275] disconnect
jid=osad-3863522de3 at spacewalk.cortez.k12.co.us/osad, packets: 6
c2s.log:Tue Mar 24 14:11:55 2015 [notice] [33] [::ffff:192.168.86.66,
port=48287] connect
c2s.log:Tue Mar 24 14:12:10 2015 [notice] [33] [::ffff:192.168.86.66,
port=48287] disconnect
jid=osad-3863522de3 at spacewalk.cortez.k12.co.us/osad, packets: 6
c2s.log:Tue Mar 24 14:12:10 2015 [notice] [33] [::ffff:192.168.86.66,
port=48291] connect

SM.log:
sm.log:Tue Mar 24 12:00:13 2015 [notice] created user:
jid=osad-3863522de3 at spacewalk.cortez.k12.co.us
sm.log:Tue Mar 24 12:00:13 2015 [notice] session started:
jid=osad-3863522de3 at spacewalk.cortez.k12.co.us/osad
sm.log:Tue Mar 24 13:45:27 2015 [notice] session ended:
jid=osad-3863522de3 at spacewalk.cortez.k12.co.us/osad
sm.log:Tue Mar 24 14:04:30 2015 [notice] session started:
jid=osad-3863522de3 at spacewalk.cortez.k12.co.us/osad
sm.log:Tue Mar 24 14:11:55 2015 [notice] session ended:
jid=osad-3863522de3 at spacewalk.cortez.k12.co.us/osad
sm.log:Tue Mar 24 14:11:56 2015 [notice] session started:
jid=osad-3863522de3 at spacewalk.cortez.k12.co.us/osad
sm.log:Tue Mar 24 14:12:10 2015 [notice] session ended:
jid=osad-3863522de3 at spacewalk.cortez.k12.co.us/osad
sm.log:Tue Mar 24 14:12:10 2015 [notice] session started:
jid=osad-3863522de3 at spacewalk.cortez.k12.co.us/osad


OSA-Dispatcher.log only has log entries when I restart the service:
2015/03/24 14:19:59 -06:00 32666 0.0.0.0: osad/jabber_lib.__init__
2015/03/24 14:19:59 -06:00 32666 0.0.0.0:
osad/jabber_lib.setup_connection('Connected to jabber server',
'spacewalk.cortez.k12.co.us')
2015/03/24 14:19:59 -06:00 32666 0.0.0.0:
osad/osa_dispatcher.fix_connection('Upstream notification server
started on port', 1290)
2015/03/24 14:19:59 -06:00 32666 0.0.0.0: osad/jabber_lib.process_forever

OSAD Log on the client:
2015-03-24 11:59:54 jabber_lib.process: 180
2015-03-24 11:59:54 jabber_lib.process: before select(); timeout 179.999996901
2015-03-24 12:01:22 jabber_lib.process: select() returned
2015-03-24 12:01:22 jabber_lib.process: Reading 1024 bytes from ssl socket
2015-03-24 12:01:22 jabber_lib.process: Read 1 bytes
2015-03-24 12:01:22 jabber_lib.process: before select(); timeout 91.5357210636
2015-03-24 12:02:22 jabber_lib.process: select() returned
2015-03-24 12:02:22 jabber_lib.process: Reading 1024 bytes from ssl socket
2015-03-24 12:02:22 jabber_lib.process: Read 1 bytes
2015-03-24 12:02:22 jabber_lib.process: before select(); timeout 31.3816359043
2015-03-24 12:02:54 jabber_lib.process: select() returned
2015-03-24 12:03:02 jabber_lib.process: 180
2015-03-24 12:03:02 jabber_lib.process: before select(); timeout 179.999993086
2015-03-24 12:03:22 jabber_lib.process: select() returned
2015-03-24 12:03:22 jabber_lib.process: Reading 1024 bytes from ssl socket
2015-03-24 12:03:22 jabber_lib.process: Read 1 bytes
2015-03-24 12:03:22 jabber_lib.process: before select(); timeout 159.363955021
2015-03-24 12:04:22 jabber_lib.process: select() returned
2015-03-24 12:04:22 jabber_lib.process: Reading 1024 bytes from ssl socket
2015-03-24 12:04:22 jabber_lib.process: Read 1 bytes
2015-03-24 12:04:22 jabber_lib.process: before select(); timeout 99.3171100616
2015-03-24 12:05:22 jabber_lib.process: select() returned
2015-03-24 12:05:22 jabber_lib.process: Reading 1024 bytes from ssl socket
2015-03-24 12:05:22 jabber_lib.process: Read 1 bytes
2015-03-24 12:05:22 jabber_lib.process: before select(); timeout 39.2682960033
2015-03-24 12:06:02 jabber_lib.process: select() returned
2015-03-24 12:06:11 jabber_lib.process: 180

I do not see any issues. For all intents and purposes this should be working.
Bill




More information about the Spacewalk-list mailing list