ejabberd status showing error while server is running

不羁的心 提交于 2019-12-10 11:39:07

问题


I am trying to configure eJabberd on my server.

I finished the installation. The following sequence of commands gives an unexpected output:

$ ejabberd start
$ ejabberd status

In this sequence the ejabbed is started and we are able to access the web admin interface.

But after running the ejabberd status its giving following output:

Failed to create main carrier for temp_alloc
/sbin/ejabberdctl: line 412:  9616 Aborted                 $EXEC_CMD "$ERL       $NAME ${CONN_NAME}       -noinput       -hidden       -pa $EJABBERD_EBIN_PATH       $KERNEL_OPTS       -s ejabberd_ctl -extra $ERLANG_NODE $COMMAND"

Update

executing $ erl giving following output:

Crash dump is being written to: erl_crash.dump...done
Failed to create aux thread
Aborted

Output of crash.dump

=erl_crash_dump:0.3
Wed Nov 18 03:16:51 2015
Slogan: Failed to create aux thread
System version: Erlang/OTP 18 [erts-7.1] [source] [64-bit] [smp:85:24] [async-threads:10] [hipe] [kernel-poll:false]
Compiled: Tue Nov 17 05:43:11 2015
Taints:
Atoms: 2005
Calling Thread: beam.smp
=scheduler:1
Scheduler Sleep Info Flags: SLEEPING | TSE_SLEEPING
Scheduler Sleep Info Aux Work: SET_TMO
Current Port:
Run Queue Max Length: 0
Run Queue High Length: 0
Run Queue Normal Length: 1
Run Queue Low Length: 0
Run Queue Port Length: 0
Run Queue Flags: NONEMPTY_NORMAL | NONEMPTY
Current Process:

I am not able to trace the issue, Any reference will be very helpful.


回答1:


Run erl with SMP mode disabled i.e. $ erl -smp disable

If it runs successfully go to /sbin/ejabberdctl file, line 412 and add the option there too e.g.

$EXEC_CMD "$ERL       $NAME ${CONN_NAME}   -smp disable    -noinput       -hidden       -pa $EJABBERD_EBIN_PATH       $KERNEL_OPTS       -s ejabberd_ctl -extra $ERLANG_NODE $COMMAND"


来源:https://stackoverflow.com/questions/33776125/ejabberd-status-showing-error-while-server-is-running

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!