[ejabberd] mod_rest error after changing process user

David Cunningham dcunningham at voisonics.com
Wed Feb 14 03:35:06 MSK 2018


We're looking for some advice with ejabberd dying. It's version 18.01,
installed using the .rpm from process-one.net.

We need the daemon to run as a non-standard user and:
- Updated the ownership of all files in /opt/ejabberd and
- Changed the USER variable in /etc/init.d/ejabberd
- Changed the INSTALLUSER, ROOT_DIR, and HOME_DIR in ejabberdctl

Now it seems to start until it gets to the error below. Can anyone help?
Thank you in advance.

2018-02-14 13:19:43.419 [warning] <0.323.0>@gen_mod:get_validators:495
module 'mod_rest' doesn't export mod_opt_type/1
2018-02-14 13:19:43.428 [critical] <0.323.0>@gen_mod:start_module:212
Problem starting the module mod_rest for host
 options: [{allow,[[{ip,<<"">>}]]}]
 error: undef
2018-02-14 13:19:43.428 [critical]
<0.323.0>@gen_mod:maybe_halt_ejabberd:294 ejabberd initialization was
aborted because a module start failed.

David Cunningham, Voisonics Limited
USA: +1 213 221 1092
New Zealand: +64 (0)28 2558 3782
Australia: +61 (0)2 8063 9019
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20180214/8b59f03b/attachment.html>

More information about the ejabberd mailing list