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.
Environment
SUSE Manager 2.1
Situation
- sleman21-jabberd-12641
- Package version 2.2.17-0.14.16
Jul 8 07:19:46 SUMA21 jabberd/c2s[7490]: error from router: Authentication failed ((null))
Jul 8 07:19:52 SUMA21 jabberd/c2s[7490]: connection to router closed
Jul 8 07:19:52 SUMA21 jabberd/c2s[7490]: 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[3238]: attempting connection to router at 127.0.0.1, port=5347
Jul 11 09:34:02 SUMA21 jabberd/router[3201]: [127.0.0.1, port=52554] connect
Jul 11 09:34:02 SUMA21 jabberd/c2s[3238]: DIGEST-MD5 client step 2
Jul 11 09:34:02 SUMA21 jabberd/c2s[3238]: error from router: Authentication failed ((null))
Jul 11 09:34:02 SUMA21 jabberd/c2s[3238]: connection to router closed
Resolution
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
Cause
A fixed patch will be provided as soon as possible.
Additional Information
Disclaimer
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