我正在尝试在我的服务器上配置 eJabberd 。
我已经安装了所有依赖项和其他需要的东西。 ERL 也通过RPM运行结果完全成功安装
root@sXX-XX-XX-XX [~]# erl -smp disable
Erlang/OTP 18 [erts-7.1] [source-2882b0c] [64-bit] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V7.1 (abort with ^G)
1>
对于eJabberd的最终安装,我已经按照以下链接:
http://docs.ejabberd.im/admin/guide/installation/
我也试过了make clean
并尝试了./configure --enable-mysql
之后我还面临着继续误差。
root@sXX-XX-XX-XX [/etc/ejabberd_downloads/ejabberd]# ./configure
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a sed that does not truncate output... /bin/sed
checking for erl... /usr/bin/erl
checking for erlc... /usr/bin/erlc
checking for erl... /usr/bin/erl
checking for erlc... /usr/bin/erlc
checking Erlang/OTP version...
Crash dump is being written to: erl_crash.dump...
Failed to create aux thread
./configure: line 2523: 1636 Aborted $ERLC conftest.erl
configure: error: "Could not compile Erlang/OTP version check program using '/usr/bin/erlc'"
对于 erl_crash.dump ,从顶部
开始如下几行=erl_crash_dump:0.3
Thu Nov 19 01:31:57 2015
Slogan: Failed to create aux thread
System version: Erlang/OTP 18 [erts-7.1] [source-2882b0c] [64-bit] [smp:64:24] [async-threads:0] [hipe] [kernel-poll:false]
Compiled: Wed Sep 23 15:34:00 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:
=scheduler:2
which erl
结果如下:
/usr/bin/erl
我无法追踪问题,任何参考都会非常有帮助。谢谢你的到来。
答案 0 :(得分:0)
您的Erlang版本似乎已损坏或旧,重新安装并重试。对于Ejabberd 16.x版本6.1(Erlang / OTP 17.1)是必需的。 您可以使用以下命令卸载Erlang:
$ sudo apt-get purge erlang *
安装最新的Erlang