[ejabberd] Problem starting ejabberd

Abhishek Ranjan abhishek at blacklightsw.com
Mon May 8 10:24:31 MSK 2017


i have installed erlang and ejabberd-17.03 on Amazon aws linux instance. I have installed both from the source code.

I have followed https://www.aurigait.com/blog/how-to-setup-ejabbered-on-ubuntu

but when i am running ejabberdctl live I am getting following error(same in ejabberdctl start):

Erlang/OTP 17 [erts-6.1] [source] [64-bit] [async-threads:10] [hipe] [kernel-poll:true]

Eshell V6.1 (abort with ^G)
(ejabberd at localhost)1> 07:15:21.321 [info] Application lager started on node ejabberd at localhost
07:15:21.325 [info] Application crypto started on node ejabberd at localhost
07:15:21.332 [info] Application sasl started on node ejabberd at localhost
07:15:21.339 [info] Application asn1 started on node ejabberd at localhost
07:15:21.339 [info] Application public_key started on node ejabberd at localhost
07:15:21.345 [info] Application ssl started on node ejabberd at localhost
07:15:21.349 [info] Application fast_yaml started on node ejabberd at localhost
07:15:21.356 [info] Application fast_tls started on node ejabberd at localhost
07:15:21.362 [info] Application fast_xml started on node ejabberd at localhost
07:15:21.363 [info] Application p1_utils started on node ejabberd at localhost
07:15:21.365 [info] Application stringprep started on node ejabberd at localhost
07:15:21.366 [info] Application xmpp started on node ejabberd at localhost
07:15:21.369 [info] Application cache_tab started on node ejabberd at localhost
07:15:21.468 [info] Application mnesia started on node ejabberd at localhost
07:15:21.833 [info] FQDN used to check DIGEST-MD5 SASL authentication: ip-172-31-23-29.us-west-2.compute.internal
07:15:22.274 [error] Supervisor ejabberd_listener had child {5222,{0,0,0,0},tcp} started with ejabberd_listener:start({5222,{0,0,0,0},tcp}, ejabberd_c2s, [{access,c2s},{shaper,c2s_shaper},{max_stanza_size,65536},{protocol_options,[<<"no_sslv3">>]},{starttls,...},...]) at undefined exit with reason {'EXIT',{undef,[{ejabberd_c2s,socket_type,[],[]},{ejabberd_listener,start,3,[{file,"src/ejabberd_listener.erl"},{line,90}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,314}]},{supervisor,start_children,3,[{file,"supervisor.erl"},{line,297}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,263}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,306}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}} in context start_error
07:15:22.274 [error] Supervisor ejabberd_sup had child ejabberd_listener started with ejabberd_listener:start_link() at undefined exit with reason {shutdown,{failed_to_start_child,{5222,{0,0,0,0},tcp},{'EXIT',{undef,[{ejabberd_c2s,socket_type,[],[]},{ejabberd_listener,start,3,[{file,"src/ejabberd_listener.erl"},{line,90}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,314}]},{supervisor,start_children,3,[{file,"supervisor.erl"},{line,297}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,263}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,306}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}}}} in context start_error
07:15:22.279 [error] CRASH REPORT Process <0.40.0> with 0 neighbours exited with reason: {{shutdown,{failed_to_start_child,ejabberd_listener,{shutdown,{failed_to_start_child,{5222,{0,0,0,0},tcp},{'EXIT',{undef,[{ejabberd_c2s,socket_type,[],[]},{ejabberd_listener,start,3,[{file,"src/ejabberd_listener.erl"},{line,90}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,314}]},{supervisor,start_children,3,[{file,"supervisor.erl"},{line,297}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,263}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,306}]},{proc_lib,...}]}}}}}},...} in application_master:init/4 line 133
07:15:22.280 [info] Application ejabberd exited with reason: {{shutdown,{failed_to_start_child,ejabberd_listener,{shutdown,{failed_to_start_child,{5222,{0,0,0,0},tcp},{'EXIT',{undef,[{ejabberd_c2s,socket_type,[],[]},{ejabberd_listener,start,3,[{file,"src/ejabberd_listener.erl"},{line,90}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,314}]},{supervisor,start_children,3,[{file,"supervisor.erl"},{line,297}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,263}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,306}]},{proc_lib,...}]}}}}}},...}


Can anyone please suggest me a way to get rid of this error?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20170508/d1c26922/attachment.html>


More information about the ejabberd mailing list