Problem with ejabberd.service on CentOS 7

Hi,

I have installed ejabberd 16.09 on CentOS 7 and enabled the default ejabberd.service file included in the /bin directory.

If I start ejabberd using the command '/opt/ejabberd-16.09/bin/./ejabberdctl start', ejabberd starts normally and I can connect my xmpp clients to the server.

However, if I start ejabberd using the command 'service ejabberd start', the ejabberd service seems to start normally ('service ejabberd status' shows ejabberd service running normally) but xmpp clients fail to connect to the server with errors like 'server not found' and 'connection failed'.

This problem is repeatable. Please advise what could be causing this.

To add to my post above, I

To add to my post above, I have checked the server logs and there are no errors or messages relating to this. I think perhaps the default ejabberd.service file is not suitable for CentOS 7?

Right, that file is just

Right, that file is just provided as a raw example, and may not work out of the box, see some more comments in the related ticket: https://github.com/processone/ejabberd/issues/434

Syndicate content