Error starting ejabberd 16.05 server on Mac os 10.7.5

I am newbie to ejabber world. I am getting error while installation of ejabber 15.06 server on mac os 10.7.5 during post install script execution. The installation looks to be complete. I went to bin directory of ejabber installation path and manually executed post_install.sh to understand error. Its giving below error which doesn't make sense to me. can anyone please help?

i downloaded ejabberd server from process-one.net/en/ejabberd/downloads and post installation script was giving above error. ejabberd server hasn't even started.

./ejabberdctl: line 393: 2128 Segmentation fault: 11 $EXEC_CMD "$ERL $NAME ${CONN_NAME} -noinput -hidden -pa $EJABBERD_EBIN_PATH $KERNEL_OPTS -s ejabberd_ctl -extra $ERLANG_NODE $COMMAND"

./ejabberdctl: line 393: 2144 Segmentation fault: 11 $EXEC_CMD "$ERL $NAME ${CONN_NAME} -noinput -hidden -pa $EJABBERD_EBIN_PATH $KERNEL_OPTS -s ejabberd_ctl -extra $ERLANG_NODE $COMMAND"

I just observed another weird thing on investigating further. The "erl" executable shipped with ejabberd 15.06 is giving error as "segmentation fault 11" while executing. the same executable is used to start ejabberd server so I think if anyone can tell me why "erl" is giving segmentation fault, the server not starting error will automatically be resolved.

kartik:bin Kartik$ ./erl Segmentation fault: 11 kartik:bin Kartik$ pwd /Applications/ejabberd-15.06/bin

I noticed that you are using

I noticed that you are using OSX 10.7. We do not test ejabberd binary installer on version of OS that are so old.
I do not even expect the binary installer to run on such an old release.

If you have to run ejabberd on that OSX version, you have to build it from source.
ejabberd source are available on official ejabberd Github.

Documentation for installation and build is here Installing ejabberd from source code.

Syndicate content