[Spacewalk-list] osa-dispatcher and jabber
Anton Pritchard-Meaker
anton.pritchard-meaker at kit-digital.com
Tue Aug 14 15:46:18 UTC 2012
Hi All,
Sorry for sending this out, but I've run into a problem I can't get around. I've had Spacewalk up and running and can update systems (initiated from the client via yum), but I can't get osad-dispatcher going.
Selinux is disabled as is the firewall.
Here's the error I get:
[root at c4t-space01 pid]# /etc/init.d/jabberd restart
Terminating jabberd processes ...
Stopping router: [ OK ]
Stopping sm: [FAILED]
Stopping c2s: [FAILED]
Stopping s2s: [ OK ]
Initializing jabberd processes ...
Starting router: [ OK ]
Starting sm: [ OK ]
Starting c2s: [ OK ]
Starting s2s: [ OK ]
[root at c4t-space01 pid]# ls
router.pid s2s.pid
[root at c4t-space01 pid]# /etc/init.d/osa-dispatcher restart
Shutting down osa-dispatcher: [ OK ]
Starting osa-dispatcher: RHN 19797 2012/08/14 15:13:18 +01:00: ('Traceback (most recent call last):\n File "/usr/share/rhn/osad/jabber_lib.py", line 252, in setup_connection\n c = self._get_jabber_client(js)\n File "/usr/share/rhn/osad/jabber_lib.py", line 309, in _get_jabber_client\n c.connect()\n File "/usr/share/rhn/osad/jabber_lib.py", line 567, in connect\n jabber.Client.connect(self)\n File "/usr/lib/python2.4/site-packages/jabber/xmlstream.py", line 488, in connect\n raise socket.error("Unable to connect to the host and port specified")\nerror: Unable to connect to the host and port specified\n',)
[ OK ]
[root at c4t-space01 pid]#
All the jabber configs are set to the FQDN of the server, but it would seem sm and c2s aren't starting.
Hostname is set:
[root at c4t-space01 jabberd]# hostname
c4t-space01.test.channel4.com
Reverse DNS is set:
[root at c4t-space01 db]# nslookup 192.168.11.171
Server: 192.168.8.181
Address: 192.168.8.181#53
171.11.168.192.in-addr.arpa name = c4t-space01.test.xxxxxxx.com.
Hosts entry in place:
[root at c4t-space01 db]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost
192.168.11.171 c4t-space01.test.xxxxxxx.com
Contents of the server.pem:
[root at c4t-space01 rhn]# cd /etc/pki/spacewalk/jabberd/
[root at c4t-space01 jabberd]#
[root at c4t-space01 jabberd]# head server.pem
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
d9:4b:9e:23:41:31:a0:44
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=GB, ST=N.Yorks, L=York, O=Kit Digital, OU=c4t-space01.test.xxxxxxx.com, CN=c4t-space01.test.xxxxxxx.com
Validity
Not Before: Aug 7 13:32:00 2012 GMT
Not After : Aug 8 13:32:01 2036 GMT
[root at c4t-space01 jabberd]#
The FQDN for jabber and osa-dispatcher are also set in /etc/rhn/rhn.conf.
I noticed the server.pem under /etc/jabberd contained no conent for some reason, so I have copied this from /etc/pki/spacewalk/jabberd/
Is there some debug logging I can enable for Jabber? Any assistance on this would be great, as this is basically the last obstacle between me having a very nice Spacewalk set up.
Cheers,
Anton Pritchard-Meaker | Unix Engineer
+44 (0) 7834 751335 Mobile | antonpm1 Skype
KIT digital | York | www.kitd.com<http://www.kitd.com/> | NASDAQ: KITD | Vision of the Future
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120814/95b5f87e/attachment.htm>
More information about the Spacewalk-list
mailing list