ejabberd状态在服务器运行时显示错误 [英] ejabberd status showin error while server is running
问题描述
我正在尝试在我的服务器上配置 eJabberd 。
我完成了安装。以下命令序列给出了一个意想不到的输出:
$ ejabberd start
$ ejabberd status
在这个顺序中, ejabbed 已启动,我们可以访问Web管理界面。 p>
但在运行 ejabberd状态
之后,它提供以下输出:
无法为temp_alloc创建主运营商
/ sbin / ejabberdctl:line 412:9616中止$ EXEC_CMD$ ERL $ NAME $ {CONN_NAME} -noinput -hidden -pa $ EJABBERD_EBIN_PATH $ KERNEL_OPTS -s ejabberd_ctl -extra $ ERLANG_NODE $ COMMAND
更新
执行 $ erl
提供以下输出:
正在将崩溃转储写入:erl_crash.dump ... done
无法创建辅助线程
中止
crash.dump的输出
= erl_crash_dump:0.3
Wed Nov 18 03:16:51 2015
口号:无法创建辅助线程
系统版本:Erlang / OTP 18 [erts-7.1] [source] [64-bit] [smp:85:24] [async-threads:10] [hipe] [kernel-poll:false]
编译:Tue Nov 17 05:43:11 2015
Taints:
原子:2005
调用线程:beam.smp
=调度程序:1
调度程序睡眠信息标志:睡觉| TSE_SLEEPING
调度程序睡眠信息辅助工作:SET_TMO
当前端口:
运行队列最大长度:0
运行队列高长度:0
运行队列正常长度:1
运行队列低长度:0
运行队列端口长度:0
运行队列标志:NONEMPTY_NORMAL | NONEMPTY
当前流程:
我无法跟踪问题,任何参考将很有帮助。
感谢您的支持。
使用SMP运行 erl
模式禁用,即 $ erl -smp disable
如果运行成功,请转到 / sbin / ejabberdctl
文件,第412行,并在其中添加选项,例如
$ EXEC_CMD$ ERL $ NAME $ {CONN_NAME} -smp disable -noinput -hidden -pa $ EJABBERD_EBIN_PATH $ KERNEL_OPTS -s ejabberd_ctl -extra $ ERLANG_NODE $ COMMAND
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. Thanks in advence.
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"
这篇关于ejabberd状态在服务器运行时显示错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!