[Spacewalk-list] Osad not connecting to jabberd

Devan Goodwin dgoodwin at redhat.com
Wed Jul 22 18:50:11 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 22 Jul 2009 09:34:23 -0300
Devan Goodwin <dgoodwin at redhat.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Mon, 20 Jul 2009 21:07:11 -0500
> Anoop Bhat <ABhat at trustwave.com> wrote:
> 
> > After doing some more research, I found that the spacewalk client is
> > connecting (or atleast attempting to connect) to the spacewalk
> > server on port 5222
> > 
> > That port on the server is just not open. I'm working on trying to
> > figure out what that is.
> > 
> > If possible, can I get a sample c2s.xml from someone running
> > 
> > jabberd-2.2.5-1.el5
> > 
> > I'm sorry but my jabber skills are non existent so I'd appreciate
> > any help in this matter...
> > 
> > Here are valid logs from the server side.
> > 
> > Jul 20 19:11:18 crp-spwk-chi-02 jabberd/c2s[6713]: starting up
> > Jul 20 19:11:18 crp-spwk-chi-02 jabberd/c2s[6713]: process id is
> > 6713, written to /var/lib/jabberd/pid/c2s.pid Jul 20 19:11:18
> > crp-spwk-chi-02 jabberd/c2s[6713]: modules search
> > path: /usr/lib64/jabberd Jul 20 19:11:18 crp-spwk-chi-02
> > jabberd/c2s[6713]: loading 'pam' authreg module Jul 20 19:11:18
> > crp-spwk-chi-02 jabberd/c2s[6713]: initialized auth module 'pam' Jul
> > 20 19:11:18 crp-spwk-chi-02 jabberd/c2s[6713]:
> > [localhost.localdomain] configured; realm=, registration disabled
> > Jul 20 19:11:18 crp-spwk-chi-02 jabberd/c2s[6713]: attempting
> > connection to router at 127.0.0.1, port=5347 Jul 20 19:11:18
> > crp-spwk-chi-02 jabberd/c2s[6713]: error from router:
> > Authentication failed ((null)) Jul 20 19:11:18 crp-spwk-chi-02
> > jabberd/c2s[6713]: connection to router closed Jul 20 19:11:18
> > crp-spwk-chi-02 jabberd/c2s[6713]: attempting reconnect (3 left)
> > Jul 20 19:11:20 crp-spwk-chi-02 jabberd/c2s[6713]: attempting
> > connection to router at 127.0.0.1, port=5347 Jul 20 19:11:20
> > crp-spwk-chi-02 jabberd/c2s[6713]: error from router:
> > Authentication failed ((null)) Jul 20 19:11:20 crp-spwk-chi-02
> > jabberd/c2s[6713]: connection to router closed Jul 20 19:11:20
> > crp-spwk-chi-02 jabberd/c2s[6713]: attempting reconnect (2 left)
> > Jul 20 19:11:22 crp-spwk-chi-02 jabberd/c2s[6713]: attempting
> > connection to router at 127.0.0.1, port=5347 Jul 20 19:11:22
> > crp-spwk-chi-02 jabberd/c2s[6713]: error from router:
> > Authentication failed ((null)) Jul 20 19:11:22 crp-spwk-chi-02
> > jabberd/c2s[6713]: connection to router closed Jul 20 19:11:22
> > crp-spwk-chi-02 jabberd/c2s[6713]: attempting reconnect (1 left)
> > Jul 20 19:11:24 crp-spwk-chi-02 jabberd/c2s[6713]: attempting
> > connection to router at 127.0.0.1, port=5347 Jul 20 19:11:24
> > crp-spwk-chi-02 jabberd/c2s[6713]: error from router:
> > Authentication failed ((null)) Jul 20 19:11:24 crp-spwk-chi-02
> > jabberd/c2s[6713]: connection to router closed Jul 20 19:11:24
> > crp-spwk-chi-02 jabberd/c2s[6713]: shutting down
> > 
> > 
> > Anoop Bhat
> > Systems Administrator
> > Trustwave
> > 70 W. Madison
> > Chicago, IL, 60602
> > O: 312.873.7446
> > C: 312.925.3271
> > 
> > 
> > 
> > ________________________________
> > From: Anoop Bhat <ABhat at trustwave.com>
> > Reply-To: <spacewalk-list at redhat.com>
> > Date: Mon, 20 Jul 2009 16:21:54 -0500
> > To: <spacewalk-list at redhat.com>
> > Subject: Re: [Spacewalk-list] Osad not connecting to jabberd
> > 
> > Hi all,
> > 
> > Anyone having trouble like below?
> > 
> > Is it my sillyness in how I named the spacewalk server and what the
> > cert is for?
> > 
> > Thanks
> > 
> > Anoop
> > 

Hi Anoop,

I'm attaching my main jabberd configuration files for comparison. I now
have osad working on Centos 5.3 using a newly built jabberd package you
can get here:

http://koji.fedoraproject.org/koji/taskinfo?taskID=1492414

Could you give this package a try, take a look and make sure your
configs matchup, and the spacewalk certificates were generated in the
locations referenced in those config files. I'd be curious to hear how
you make out.


Cheers,

Devan

- -- 
  Devan Goodwin <dgoodwin at redhat.com>
  Software Engineer     Spacewalk / RHN Satellite
  Halifax, Canada       650.567.9039x79267
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)

iEYEARECAAYFAkpnX2cACgkQAyHWaPV9my4ZUACfaDIHBYnDWfCja5r/9WbNXpd5
r1EAn1aWUGmse78LR0N3AeA18Phbuse7
=q2O8
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c2s.xml
Type: application/xml
Size: 20585 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20090722/a7a984d1/attachment.wsdl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: router.xml
Type: application/xml
Size: 6768 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20090722/a7a984d1/attachment-0001.wsdl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: s2s.xml
Type: application/xml
Size: 10580 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20090722/a7a984d1/attachment-0002.wsdl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sm.xml
Type: application/xml
Size: 28381 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20090722/a7a984d1/attachment-0003.wsdl>


More information about the Spacewalk-list mailing list