[Spacewalk-list] problem configuring jabber / osa-dispatcher with spacewalk 0.8

DEMARQUAY, Mathieu mathieu.demarquay at capgemini.com
Thu Apr 29 16:04:12 UTC 2010


Hi,

I installed spacewalk 0.8 on a RHEL 5.3 x86_64 and spacewalk is working fine except for jabber and osa-dispatcher.

At the beginning, jabberd was not starting at all; it resulted in a connection failure for osa-dispatcher.
After some investigation, I corrected two problems:
-          c2s.xml was not readable for the jabber user, so i did a : « chmod 644 /etc/jabberd/* »
-          /var/jabberd/db was not created, so I did :
o        mkdir -p /var/jabberd/db
o        chown jabberd:jabberd /var/jabberd/db

At this point, jabber started but osa-dispatcher was not able to establish a secure connection:
# date ; /usr/sbin/rhn-satellite start
jeu avr 29 16:36:02 CEST 2010
Starting rhn-satellite...
Starting Jabber services                                   [  OK  ]
Starting Oracle Net Listener.
Starting Oracle Database 10g Express Edition Instance.

Starting osa-dispatcher: RHN 22852 2010/04/29 16:36:09 +02:00: ('Server does not support TLS - <starttls /> not in <features /> stanza',)
RHN 22852 2010/04/29 16:36:09 +02:00: ('Traceback (most recent call last):\n  File "/usr/share/rhn/osad/jabber_lib.py", line 254, in setup_co                                                 nnection\n    c = self._get_jabber_client(js)\n  File "/usr/share/rhn/osad/jabber_lib.py", line 311, in _get_jabber_client\n    c.connect()\n                                                   File "/usr/share/rhn/osad/jabber_lib.py", line 601, in connect\n    raise SSLDisabledError\nSSLDisabledError\n',)
                                                           [  OK  ]
Starting tomcat5:                                          [  OK  ]
Démarrage de httpd :                                       [  OK  ]
Starting Monitoring ...
[ OK ]
Starting MonitoringScout ...
[ OK ]
Starting rhn-search...
Starting cobbler daemon:                                   [  OK  ]
Starting RHN Taskomatic...
SERVING!
Done.

I found that the line "<pemfile>/etc/jabberd/server.pem</pemfile>" in c2s.xml was commented. I corrected this and copied the certificate from /etc/pki/spacewalk/jabberd/server.pem in /etc/jabberd/. Now osa-dispatcher starts fine, but I obtain following errors in syslogs:
Apr 29 17:50:59 mvdiff2 jabberd/c2s[13603]: [12] auth succeeded: username=rhn-dispatcher-sat, resource=superclient
Apr 29 17:50:59 mvdiff2 jabberd/c2s[13603]: [12] requesting session: jid=rhn-dispatcher-sat at my.fqdn.obfuscated.org/superclient
Apr 29 17:50:59 mvdiff2 jabberd/sm[13601]: user not found, can't start session: jid=rhn-dispatcher-sat at my.fqdn.obfuscated.org/superclient

I suppose that I missed something in the setup process, those errors are too big for not having been corrected: but I did not found any documentation about that. Do you have any idea how to correct this "user not found" problem? Did I forget something in the configuration process that could have avoided theses problems?

Best,
Mathieu



</PRE><p style="font-family:arial;color:grey" style="font-size:13px">This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.</p><PRE>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100429/fd769632/attachment.htm>


More information about the Spacewalk-list mailing list