-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
- -------- Original Message -------- Subject: [Spacewalk-list] osa-dispatcher not running or not connecting From: Joshua Roys <joshua.r...@gtri.gatech.edu> To: Michiel van Es <michi...@info.nl> Date: 10/22/2009 04:53 PM > On 10/22/2009 10:33 AM, Michiel van Es wrote: >> I use my default ssh terminal from Ubuntu. >> Is it better to run: >> screen -L router -D etc? >> >> Isn't it possible to startup jabber with verbose logging and send you >> the logfiles in stead of the screen debug terminal output? >> > > I would either do a `screen -L' and then run a program, using > ctrl-a,ctrl-c to make new screens (ctrl-a," to see a list of screens), > or edit /etc/init.d/jabberd and find the following in the "Start ( )" > function (~line 72 for me): > > rm -f ${pidPath}/${prog}.pid > args="-c ${confPath}/${prog}.xml" > if [ ${prog} == "c2s" ......... > > and add a -D to the end of the args: > args="-c ${confPath}/${prog}.xml -D" > > And then probably do something like: > # tail -n0 -f /var/log/messages > /tmp/foo > (change /var/log/messages to wherever your jabber logs go) > # service jabberd start Hi Josh, I changed the startup in the init file but I can not find anything in the jabber logfiles. Only seeing osa-dispatcher complaining: 2009/10/27 14:52:08 +02:00 3868 0.0.0.0: osad/jabber_lib.setup_connection('ERROR', '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 464, in connect\n else: self._sock.connect((self._hostIP, self._port))\n File "<string>", line 1, in connect\nerror: (111, \'Connection refused\')\n') 2009/10/27 14:52:08 +02:00 3868 0.0.0.0: osad/jabber_lib.setup_connection('Could not connect to any jabber server',) 2009/10/27 14:52:08 +02:00 3868 0.0.0.0: osad/jabber_lib.main('Unable to connect to jabber servers, sleeping 10 seconds',) 2009/10/27 14:52:18 +02:00 3868 0.0.0.0: osad/jabber_lib.__init__ 2009/10/27 14:52:18 +02:00 3868 0.0.0.0: osad/jabber_lib.print_message('socket error',) 2009/10/27 14:52:18 +02:00 3868 0.0.0.0: osad/jabber_lib.print_message('Could not connect to jabber server', 'devmx01.buro.info.nl') 2009/10/27 14:52:18 +02:00 3868 0.0.0.0: osad/jabber_lib.setup_connection('ERROR', '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 464, in connect\n else: self._sock.connect((self._hostIP, self._port))\n File "<string>", line 1, in connect\nerror: (111, \'Connection refused\')\n') 2009/10/27 14:52:18 +02:00 3868 0.0.0.0: osad/jabber_lib.setup_connection('Could not connect to any jabber server',) 2009/10/27 14:52:18 +02:00 3868 0.0.0.0: osad/jabber_lib.main('Unable to connect to jabber servers, sleeping 10 seconds',) 2009/10/27 14:52:28 +02:00 3868 0.0.0.0: osad/jabber_lib.__init__ Can I do other tests? I don't get why I am not seeing anything going wrong in the jabber logfiles? > > Josh Michiel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrm+5oACgkQSU+5fmlaNkMh2wCgx2iC89sqS6xP8rw9XPGvxzq9 GksAniapf1tOik3sT3gfQ3xGIuQxUjz0 =W8eu -----END PGP SIGNATURE----- _______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list