Installing ejabberd on Mac OS X El Capitan 10.11.5

Tried installing via the binary installer as well as compiling source code. Neither have worked.

It keeps telling me that the node is started but fails to load because port 5222 is already in use. I checked that port and nothing was using it. (lsof -i tcp:5222)

The node ejabberd@localhost is started with status: started
ejabberd is not running in that node
Check for error messages: /Applications/ejabberd-16.04/logs/ejabberd.log
or other files in that directory.
2016-06-15 10:54:42.978 [info] <0.7.0> Application lager started on node ejabberd@localhost
2016-06-15 10:54:42.986 [info] <0.7.0> Application crypto started on node ejabberd@localhost
2016-06-15 10:54:42.994 [info] <0.7.0> Application sasl started on node ejabberd@localhost
2016-06-15 10:54:43.003 [info] <0.7.0> Application asn1 started on node ejabberd@localhost
2016-06-15 10:54:43.003 [info] <0.7.0> Application public_key started on node ejabberd@localhost
2016-06-15 10:54:43.011 [info] <0.7.0> Application ssl started on node ejabberd@localhost
2016-06-15 10:54:43.020 [info] <0.7.0> Application fast_yaml started on node ejabberd@localhost
2016-06-15 10:54:43.037 [info] <0.7.0> Application fast_tls started on node ejabberd@localhost
2016-06-15 10:54:43.050 [info] <0.7.0> Application fast_xml started on node ejabberd@localhost
2016-06-15 10:54:43.054 [info] <0.7.0> Application stringprep started on node ejabberd@localhost
2016-06-15 10:54:43.062 [info] <0.7.0> Application cache_tab started on node ejabberd@localhost
2016-06-15 10:54:43.209 [info] <0.7.0> Application mnesia started on node ejabberd@localhost
2016-06-15 10:54:43.830 [info] <0.7.0> Application inets started on node ejabberd@localhost
2016-06-15 10:54:44.590 [error] <0.360.0>@ejabberd_listener:socket_error:580 Failed to open socket:
  {5222,ejabberd_c2s,[inet,{ip,{0,0,0,0}}]}
Reason: IP address and port number already used: 0.0.0.0 5222
2016-06-15 10:54:44.590 [error] <0.360.0> CRASH REPORT Process ejabberd_listeners with 0 neighbours exited with reason: bad return value: {eaddrinuse,{5222,{0,0,0,0},tcp}} in gen_server:init_it/6 line 356
2016-06-15 10:54:44.590 [error] <0.319.0> Supervisor ejabberd_sup had child undefined started with ejabberd_listener:start_link() at undefined exit with reason bad return value: {eaddrinuse,{5222,{0,0,0,0},tcp}} in context start_error
2016-06-15 10:54:44.591 [error] <0.37.0> CRASH REPORT Process <0.37.0> with 0 neighbours exited with reason: no such process or port in call to gen_server:call(ejabberd_sup, {start_child,{ejabberd_sm,{ejabberd_sm,start_link,[]},transient,1000,worker,[ejabberd_sm]}}, infinity) in application_master:init/4 line 134
2016-06-15 10:54:44.591 [info] <0.7.0> Application ejabberd exited with reason: no such process or port in call to gen_server:call(ejabberd_sup, {start_child,{ejabberd_sm,{ejabberd_sm,start_link,[]},transient,1000,worker,[ejabberd_sm]}}, infinity)
 
Syndicate content