ejabberd mod_log_chat_mysql5 module installation issue

Hi

My ejabberd 2.1.10 server is running in ubuntu server.

I try to install mod_log_chat_mysql5 on this server and install module by using this guide (https://github.com/candy-chat/mod_log_chat_mysql5/) after installed ,i just configure
{mod_log_chat_mysql5, [{server, "localhost"}, {db, "database"}, {user, "user"}, {password, "passwd"}, {pool_size, 1}, {encoding, utf8}]},

line in ejabberd.cfg

after configure this line start the ejabberd service using #ejabberdctl start

To know status #ejabberdctl status
It will show

Failed RPC connection to the node ejabberd@localhost: nodedown

But service is working.
Anybody pls tell where is mistake?

This usually means that

This usually means that you're running ejabberdctl as user that does not have access to ejabberd daemon. In order to read server's status you need to access to some files that were created when server started and those files were created with permissions related to daemon.
Sure, the message is quite confusing....
Just try invoke ejabberdctl as root user.

Syndicate content