2015-11-19 32 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/