2015-11-19 39 views
2

我正在尝试在我的服务器上配置eJabberdejabberd在安装时配置时显示错误

我已经安装了所有依赖和其他需要的东西。 ERL还安装成功完全通过与运行结果RPM

[email protected] [~]# 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比我还面临继续低于错误。

[email protected] [/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

安装最新二郎?你有很少的用户进程允许吗? –

+1

也许你的服务器有安全限制或正确的问题,以防止Erlang编译器工作。你应该尝试编译一个基本的Erlang模块来查看它是否工作。 –

回答

0

看来您的Erlang版本已损坏或旧,重新安装并重试。对于Ejabberd 16.x版本6.1(Erlang/OTP 17.1)是必需的。 你可以用下面的命令卸载二郎:

$ sudo易于得到净化二郎*

又是什么的`ulimit`命令告诉你从http://www.erlang.org/