Jabberd does not start after installing patch sleman21-jabberd-12641 ('[Errno 111] Connection refused')
This document (7017842) is provided subject to the disclaimer at the end of this document.
SUSE Manager 2.1
- Package version 2.2.17-0.14.16
Jul 8 07:19:46 SUMA21 jabberd/c2s: error from router: Authentication failed ((null))
Jul 8 07:19:52 SUMA21 jabberd/c2s: connection to router closed
Jul 8 07:19:52 SUMA21 jabberd/c2s: shutting down
Trying to start osa-dispatcher with "rcosa-dispatcher start" throws the error:
Starting osa-dispatcher: SUSE Manager 8398 2016/07/08 07:26:49 +02:00: ('Error connecting to jabber server: [Errno 111] Connection refused',)
The logging in /var/log/messages shows something like:
Jul 11 09:34:02 SUMA21 jabberd/c2s: attempting connection to router at 127.0.0.1, port=5347
Jul 11 09:34:02 SUMA21 jabberd/router: [127.0.0.1, port=52554] connect
Jul 11 09:34:02 SUMA21 jabberd/c2s: DIGEST-MD5 client step 2
Jul 11 09:34:02 SUMA21 jabberd/c2s: error from router: Authentication failed ((null))
Jul 11 09:34:02 SUMA21 jabberd/c2s: connection to router closed
The problem seems to be in the file /etc/jabberd/c2s.xml, it is missing some customzied parames, e.g.:
< <id register-enable='mu'>localhost.localdomain</id>
> <id require-starttls="false" pemfile="/etc/pki/spacewalk/jabberd/server.pem" realm="" register-enable="true">dns.name</id>
The file /etc/jabberd/c2s.xml.rpmsave keeps a copy of the previous xml and still has these settings.
Please note that iit is essential that the c2s.xml file has the ownership root:jabber at the and, this is why we recommend to use "cp -a"
(1) copy both files to a different location:
- cp -a /etc/jabberd/c2s.xml /tmp/.
- cp -a /etc/jabberd/c2s.xml.rpmsave /tmp/.
- cp -a /etc/jabberd/c2s.xml.rpmsave /etc/jabberd/c2s.xml
- rcjabberd restart
- spacewalk-service restart
A fixed patch will be provided as soon as possible.
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7017842
- Creation Date: 13-Jul-2016
- Modified Date:03-Mar-2020
- SUSE Manager
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com