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
diff --git a/client/tools/osad/src/jabber_lib.py
b/client/tools/osad/src/jabber_lib.py
index 5c615ae..344a91b 100644
--- a/client/tools/osad/src/jabber_lib.py
+++ b/client/tools/osad/src/jabber_lib.py
@@ -259,12 +259,15 @@ class Runner:
sys.exit(1)
except socket.error, e:
self.print_message(js, "socket error")
+ log_error(extract_traceback())
continue
except JabberError, e:
self.print_message(js, "JabberError")
+ log_error(extract_traceback())
continue
except SSLError, e:
self.print_message(js, "SSLError")
+ log_error(extract_traceback())
continue
else:
# Ran out of Jabber servers to try
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list