[Spacewalk-list] osa-dispatcher not running or not connecting
Michiel van Es
michiele at info.nl
Tue Oct 27 14:12:07 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- -------- Original Message --------
Subject: Re: [Spacewalk-list] osa-dispatcher not running or not connecting
From: Michiel van Es <michiele at info.nl>
To: Joshua Roys <joshua.roys at gtri.gatech.edu>
Date: 10/27/2009 03:09 PM
>
>
> -------- Original Message --------
> Subject: Re: [Spacewalk-list] osa-dispatcher not running or not connecting
> From: Joshua Roys <joshua.roys at gtri.gatech.edu>
> To: Michiel van Es <Michiele at info.nl>
> Date: 10/27/2009 03:06 PM
>
>> On 10/27/2009 09:54 AM, Michiel van Es wrote:
>>> File "<string>", line 1, in connect\nerror: (111, \'Connection
>>> refused\')\n')
>>> File "<string>", line 1, in connect\nerror: (111, \'Connection
>>> refused\')\n')
>>> osad/jabber_lib.setup_connection('Could not connect to any jabber server',)
>> Hello,
>
>> Now that I'm looking a bit closer, you've been getting 2 different errors:
>
>> error: (104, \'Connection reset by peer\')\n
>> and
>> error: (111, \'Connection refused\')\n
>
>> Right now you're getting connection refused - is port 5222 open and c2s
>> still running?
>
> [root at devmx01 ~]# nc -vv devmx01.buro.info.nl 5222
> Connection to devmx01.buro.info.nl 5222 port [tcp/xmpp-client] succeeded!
>
> [root at devmx01 ~]# ps aux | grep c2s
> jabber 3998 0.0 0.1 8928 3912 ? S 14:52 0:00
> /usr/bin/c2s -c /etc/jabberd/c2s.xml -D
> root 4916 0.0 0.0 3912 672 pts/1 R+ 15:06 0:00 grep c2s
>
> I think it can connect but something else is wrong:
>
> 2009/10/27 15:05:53 +02:00 4848 0.0.0.0:
> osad/jabber_lib._get_jabber_client('Connecting to', 'devmx01.buro.info.nl')
> 2009/10/27 15:05:53 +02:00 4848 0.0.0.0: osad/jabber_lib.__init__
> 2009/10/27 15:05:53 +02:00 4848 0.0.0.0: osad/jabber_lib.__init__
> 2009/10/27 15:05:53 +02:00 4848 0.0.0.0:
> osad/jabber_lib.check_cert('Loading cert', <X509Name object
> '/C=NL/ST=Noord Holland/L=Amsterdam/O=Info.nl
> HF/OU=devmx01.buro.info.nl/CN=devmx01.buro.info.nl'>)
> 2009/10/27 15:05:53 +02:00 4848 0.0.0.0: osad/jabber_lib.connect
> 2009/10/27 15:05:53 +02:00 4848 0.0.0.0:
> osad/jabber_lib.connect('Attempting to connect',)
> 2009/10/27 15:05:56 +02:00 4848 0.0.0.0: osad/jabber_lib.process(300,)
> 2009/10/27 15:05:56 +02:00 4848 0.0.0.0: osad/jabber_lib.process('before
> select(); timeout', 299.99999499320984)
>
>
> It is seeing the certificate so the port and cert are working but then
> something else fails..
>
> The strange thing is that I start osa-dispatcher with -N -vvvvvvv but
> then I see not that many logging to the std output or my terminal, just:
>
> [root at devmx01 sbin]# ./osa-dispatcher -N -vvvvvvvvvvvv
> --> <?xml version='1.0' encoding='UTF-8'?><stream:stream
> to='devmx01.buro.info.nl' xmlns='jabber:client'
> xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
>
Update, it takes some time but then I see:
RHN 4848 2009/10/27 15:09:37 +02:00: ('Traceback (most recent call
last):\n File "/usr/share/rhn/osad/jabber_lib.py", line 254, in
setup_connection\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 577, in
connect\n jabber.Client.connect(self)\n File
"/usr/lib/python2.4/site-packages/jabber/xmlstream.py", line 512, in
connect\n self.header()\n File "/usr/share/rhn/osad/jabber_lib.py",
line 1193, in header\n self.process(jabber.timeout)\n File
"/usr/share/rhn/osad/jabber_lib.py", line 1061, in process\n data =
self._read(self.BLOCK_SIZE)\nerror: (104, \'Connection reset by peer\')\n',)
And I can not find anything wrong in the jabebr logfiles in
/var/lib/jabberd/logs/*.log ?
>
>
>> Josh
>
> Michiel
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkrm/7YACgkQSU+5fmlaNkNE6wCeIhzfSx5rLc2QFp0iBB18hQS4
PFkAoI5ZU7al+RjU2cNHpJfO1xYHiP3z
=tC2p
-----END PGP SIGNATURE-----
More information about the Spacewalk-list
mailing list