服务器运行时,ejabberd状态显示错误 [英] ejabberd status showing error while server is running

查看:86
本文介绍了服务器运行时,ejabberd状态显示错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在服务器上配置 eJabberd

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.

但是在运行 ejabberd状态之后,其输出如下:

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"

更新

执行 $ erl 给出以下输出:

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

crash.dump的输出

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.

推荐答案

在禁用SMP模式的情况下运行 erl ,即 $ erl -smp disable

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

如果运行成功,请转到 / sbin / ejabberdctl 文件的第412行,并在其中添加选项,例如

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆