[Spacewalk-list] osa-dispatcher not running or not connecting

Joshua Roys joshua.roys at gtri.gatech.edu
Tue Oct 20 13:29:58 UTC 2009


Hello,

On 10/20/2009 08:52 AM, Michiel van Es wrote:
>> On 10/20/2009 01:47 AM, Michiel van Es wrote:
>>> 2009/10/20 07:43:00 +02:00 3866 0.0.0.0: osad/jabber_lib.__init__
>>> 2009/10/20 07:43:00 +02:00 3866 0.0.0.0:
>>> osad/jabber_lib.print_message('socket error',)
>>> 2009/10/20 07:43:00 +02:00 3866 0.0.0.0:
>>> osad/jabber_lib.print_message('Could not connect to jabber server',
>>> 'devmx01.buro.info.nl')
>>> 2009/10/20 07:43:00 +02:00 3866 0.0.0.0:
>>> osad/jabber_lib.setup_connection('Could not connect to any jabber server',)
>>> 2009/10/20 07:43:00 +02:00 3866 0.0.0.0: osad/jabber_lib.main('Unable to
>>> connect to jabber servers, sleeping 10 seconds',)
>
> 2009-10-20 14:46:59 jabber_lib.setup_connection: Connecting to
> devmx01.buro.info.nl
> 2009-10-20 14:46:59 jabber_lib._get_jabber_client:
> 2009-10-20 14:46:59 jabber_lib._get_jabber_client: Connecting to
> devmx01.buro.info.nl
> 2009-10-20 14:46:59 jabber_lib.__init__:
> 2009-10-20 14:46:59 jabber_lib.__init__:
> 2009-10-20 14:46:59 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-20 14:46:59 jabber_lib.connect:
> 2009-10-20 14:47:06 jabber_lib.process: 300
> 2009-10-20 14:50:36 jabber_lib.process: None
> 2009-10-20 14:50:58 jabber_lib.print_message: socket error
> 2009-10-20 14:50:58 jabber_lib.print_message: Could not connect to
> jabber server devmx01.buro.info.nl
> 2009-10-20 14:50:58 jabber_lib.setup_connection: Could not connect to
> any jabber server
> 2009-10-20 14:50:58 jabber_lib.main: Unable to connect to jabber
> servers, sleeping 85 seconds

Attached is a patch to hopefully make osa be a little more verbose about 
network errors - please apply like so:
# cd /usr/share/rhn/osad
# cp -a jabber_lib.py* /tmp/
(back them up...)
# patch < /path/to/osa-print-errors.patch

And then try running osa-dispatcher/osad again.  You may have to look in 
/var/log/rhn/... to get the tracebacks.

> Tue Oct 20 14:44:45 2009 authreg.c:661 auth get
> Tue Oct 20 14:44:45 2009 authreg_db.c:105 fetching auth creds for user
> 'osad-da05225b95' realm ''
> Tue Oct 20 14:44:45 2009 authreg_db.c:70 creating new db handle for realm ''
>

Was there anything after this?  It seems to end abruptly.

Hope to help,

Josh
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: osa-print-errors.patch
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20091020/6bda13df/attachment.ksh>


More information about the Spacewalk-list mailing list