When I try start ejabberd service it always crashes.
Starting jabber server: ejabberd
Crash dump was written to: /var/log/ejabberd/erl_crash.dump
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
Crash dump was written to: /var/log/ejabberd/erl_crash.dump
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
.
I've changed hostanme of server, before that it worked fine, however in config I have:
{hosts, ["localhost", "private.localhost", "public.localhost"]}.
I think you can't just simply change the hostname as Erlang/ejabberd has problems with that.
Try this approach (sledgehammer style)
ejabberdctl backup /tmp/ejabberd_bkp
(permission problems can occur if you choose another output directory)ejabberdctl restore /tmp/ejabberd_bkp