Closed allran closed 9 years ago
It seems like you may have an issue with your Erlang install. Which Erlang version are you using and how did you install it ?
@mremond code from http://www.erlang.org/download_release/28, and i get the OTP 17.5 Source File (64.1 MB)
wget http://www.erlang.org/download/otp_src_17.5.tar.gz tar zxvf otp_src_17.5.tar.gz cd otp_src_17.5 ./configure && make && sudo make install
[root@allran ~]# erl
Erlang/OTP 17 [erts-6.4] [source] [64-bit] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V6.4 (abort with ^G)
1>
Does this work?
erl -name aaa
@badlop
[root@allran bin]# erl --version
Erlang/OTP 17 [erts-6.4] [source] [64-bit] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V6.4 (abort with ^G)
1> q().
ok
2> [root@allran bin]# erl -name aaa
{error_logger,{{2015,7,27},{3,29,31}},"Can't set long node name!\nPlease check your configuration\n",[]}
{error_logger,{{2015,7,27},{3,29,31}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.21.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6,[{file,"gen_server.erl"},{line,322}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}},{ancestors,[net_sup,kernel_sup,<0.10.0>]},{messages,[]},{links,[<0.18.0>]},{dictionary,[{longnames,true}]},{trap_exit,true},{status,running},{heap_size,987},{stack_size,27},{reductions,605}],[]]}
{error_logger,{{2015,7,27},{3,29,31}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[[aaa,longnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2015,7,27},{3,29,31}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,{shutdown,{failed_to_start_child,net_kernel,{'EXIT',nodistribution}}}},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}
{error_logger,{{2015,7,27},{3,29,31}},crash_report,[[{initial_call,{application_master,init,['Argument__1','Argument__2','Argument__3','Argument__4']}},{pid,<0.9.0>},{registered_name,[]},{error_info,{exit,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,net_kernel,{'EXIT',nodistribution}}}}},{kernel,start,[normal,[]]}},[{application_master,init,4,[{file,"application_master.erl"},{line,133}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}},{ancestors,[<0.8.0>]},{messages,[{'EXIT',<0.10.0>,normal}]},{links,[<0.8.0>,<0.7.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,376},{stack_size,27},{reductions,117}],[]]}
{error_logger,{{2015,7,27},{3,29,31}},std_info,[{application,kernel},{exited,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,net_kernel,{'EXIT',nodistribution}}}}},{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,net_kernel,{'EXIT',nodistribution}}}}},{kernel,start,[normal,[]]}}}"}
Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,net_kernel,{'EXIT',nodistribution}}}}},{k
[root@allran bin]#
Is that mean, my erlang isn't install successfull?
So, there's a problem in your erlang installation. Once you fix it, try again ejabberd.
It may be some problem in the network setup in your machine, see for example: http://stackoverflow.com/questions/16121632/erlang-reported-epmd-closed-error
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Erlang/OTP 17 [erts-6.4] [source] [64-bit] [async-threads:10] [hipe] [kernel-poll:false]
$ git clone https://github.com/processone/ejabberd.git $ cd /Users/allran/SDK/chart/ejabberd $ chmod +x autogen.sh $ ./autogen.sh
$ ./configure --prefix=/Users/allran/SDK/chart/my-ejabberd --enable-all
$ ./rebar get-deps $ ./rebar compile
And it's successfull like this log:
Then i make it: [root@allran ejabberd]# make & make install And it's also sucessfull with follow log:
But when i check the ejabberdctl, i get follow error: [root@allran ejabberd]# /root/chart/my-ejabberd/sbin/ejabberdctl live