{"action":"closed","issue":{"url":"https://api.github.com/repos/processone/ejabberd/issues/678","labels_url":"https://api.github.com/repos/processone/ejabberd/issues/678/labels{/name}","comments_url":"https://api.github.com/repos/processone/ejabberd/issues/678/comments","events_url":"https://api.github.com/repos/processone/ejabberd/issues/678/events","html_url":"https://github.com/processone/ejabberd/issues/678","id":96987939,"number":678,"title":"Make no error, but can't start","user":{"login":"allran","id":1505892,"avatar_url":"https://avatars.githubusercontent.com/u/1505892?v=3","gravatar_id":"","url":"https://api.github.com/users/allran","html_url":"https://github.com/allran","followers_url":"https://api.github.com/users/allran/followers","following_url":"https://api.github.com/users/allran/following{/other_user}","gists_url":"https://api.github.com/users/allran/gists{/gist_id}","starred_url":"https://api.github.com/users/allran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allran/subscriptions","organizations_url":"https://api.github.com/users/allran/orgs","repos_url":"https://api.github.com/users/allran/repos","events_url":"https://api.github.com/users/allran/events{/privacy}","received_events_url":"https://api.github.com/users/allran/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/processone/ejabberd/labels/Component:Build","name":"Component:Build","color":"bfdadc"}],"state":"closed","locked":false,"assignee":{"login":"badlop","id":96807,"avatar_url":"https://avatars.githubusercontent.com/u/96807?v=3","gravatar_id":"","url":"https://api.github.com/users/badlop","html_url":"https://github.com/badlop","followers_url":"https://api.github.com/users/badlop/followers","following_url":"https://api.github.com/users/badlop/following{/other_user}","gists_url":"https://api.github.com/users/badlop/gists{/gist_id}","starred_url":"https://api.github.com/users/badlop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badlop/subscriptions","organizations_url":"https://api.github.com/users/badlop/orgs","repos_url":"https://api.github.com/users/badlop/repos","events_url":"https://api.github.com/users/badlop/events{/privacy}","received_events_url":"https://api.github.com/users/badlop/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-07-24T07:34:15Z","updated_at":"2015-07-27T09:48:15Z","closed_at":"2015-07-27T09:48:15Z","body":"Erlang/OTP 17 [erts-6.4] [source] [64-bit] [async-threads:10] [hipe] [kernel-poll:false]\r\n\r\n$ git clone https://github.com/processone/ejabberd.git\r\n$ cd /Users/allran/SDK/chart/ejabberd \r\n$ chmod +x autogen.sh \r\n$ ./autogen.sh  \r\n$ ./configure --prefix=/Users/allran/SDK/chart/my-ejabberd --enable-all     \r\n$ ./rebar get-deps\r\n$ ./rebar compile\r\n\r\nAnd it's successfull like this log:\r\n```\r\n==> p1_utils (pre_compile)\r\n==> p1_utils (compile)\r\n==> p1_cache_tab (pre_compile)\r\n==> p1_cache_tab (compile)\r\n==> p1_tls (pre_compile)\r\n==> p1_tls (compile)\r\n==> p1_stringprep (pre_compile)\r\n==> p1_stringprep (compile)\r\n==> p1_xml (pre_compile)\r\n==> p1_xml (compile)\r\n==> p1_stun (pre_compile)\r\n==> p1_stun (compile)\r\n==> esip (pre_compile)\r\n==> esip (compile)\r\n==> p1_yaml (pre_compile)\r\n==> p1_yaml (compile)\r\n==> meck (pre_compile)\r\n==> meck (compile)\r\n==> p1_mysql (pre_compile)\r\n==> p1_mysql (compile)\r\n==> p1_pgsql (pre_compile)\r\n==> p1_pgsql (compile)\r\n==> sqlite3 (pre_compile)\r\n==> sqlite3 (compile)\r\n==> p1_pam (pre_compile)\r\n==> p1_pam (compile)\r\n==> p1_zlib (pre_compile)\r\n==> p1_zlib (compile)\r\n==> protobuffs (pre_compile)\r\n==> protobuffs (compile)\r\n==> riak_pb (pre_compile)\r\n==> riak_pb (compile)\r\n==> riakc (pre_compile)\r\n==> riakc (compile)\r\n==> eredis (pre_compile)\r\n==> eredis (compile)\r\n==> jiffy (pre_compile)\r\n==> jiffy (compile)\r\n==> rebar_elixir_plugin (pre_compile)\r\n==> rebar_elixir_plugin (compile)\r\n==> elixir (pre_compile)\r\n==> elixir (compile)\r\n==> elixir (compile)\r\n==> goldrush (pre_compile)\r\n==> goldrush (compile)\r\n==> lager (pre_compile)\r\n==> lager (compile)\r\n==> p1_iconv (pre_compile)\r\n==> p1_iconv (compile)\r\n==> rel (pre_compile)\r\n==> rel (compile)\r\n==> ejabberd (pre_compile)\r\n==> ejabberd (compile)\r\n```\r\n\r\nThen i make it:\r\n[root@allran ejabberd]# make & make install\r\nAnd it's also sucessfull with follow log:\r\n```\r\n[1] 7144\r\n/usr/local/lib/erlang/bin/escript rebar skip_deps=true compile\r\n/usr/local/lib/erlang/bin/escript rebar skip_deps=true compile\r\n==> rel (pre_compile)\r\n==> rel (compile)\r\n==> ejabberd (pre_compile)\r\n==> rel (pre_compile)\r\n==> ejabberd (compile)\r\n==> rel (compile)\r\n==> ejabberd (pre_compile)\r\n==> ejabberd (compile)\r\n#\r\n# Configuration files\r\n/usr/bin/install -c -d -m 750  /root/chart/my-ejabberd/etc/ejabberd\r\n[ -f /root/chart/my-ejabberd/etc/ejabberd/ejabberd.yml ] \\\r\n                && /usr/bin/install -c -b -m 640  ejabberd.yml.example /root/chart/my-ejabberd/etc/ejabberd/ejabberd.yml-new \\\r\n                || /usr/bin/install -c -b -m 640  ejabberd.yml.example /root/chart/my-ejabberd/etc/ejabberd/ejabberd.yml\r\n/bin/sed -e \"s*{{rootdir}}*/root/chart/my-ejabberd*\" \\\r\n                -e \"s*{{installuser}}**\" \\\r\n                -e \"s*{{bindir}}*/root/chart/my-ejabberd/bin*\" \\\r\n                -e \"s*{{libdir}}*/root/chart/my-ejabberd/lib*\" \\\r\n                -e \"s*{{sysconfdir}}*/root/chart/my-ejabberd/etc*\" \\\r\n                -e \"s*{{localstatedir}}*/root/chart/my-ejabberd/var*\" \\\r\n                -e \"s*{{docdir}}*/root/chart/my-ejabberd/share/doc/ejabberd*\" \\\r\n                -e \"s*{{erl}}*/usr/local/bin/erl*\" ejabberdctl.template \\\r\n                > ejabberdctl.example\r\n[ -f /root/chart/my-ejabberd/etc/ejabberd/ejabberdctl.cfg ] \\\r\n                && /usr/bin/install -c -b -m 640  ejabberdctl.cfg.example /root/chart/my-ejabberd/etc/ejabberd/ejabberdctl.cfg-new \\\r\n                || /usr/bin/install -c -b -m 640  ejabberdctl.cfg.example /root/chart/my-ejabberd/etc/ejabberd/ejabberdctl.cfg\r\n/usr/bin/install -c -b -m 644  inetrc /root/chart/my-ejabberd/etc/ejabberd/inetrc\r\n#\r\n# Administration script\r\n[ -d /root/chart/my-ejabberd/sbin ] || /usr/bin/install -c -d -m 755 /root/chart/my-ejabberd/sbin\r\n/usr/bin/install -c -m 550  ejabberdctl.example /root/chart/my-ejabberd/sbin/ejabberdctl\r\n# Elixir binaries\r\n[ -d /root/chart/my-ejabberd/bin ] || /usr/bin/install -c -d -m 755 /root/chart/my-ejabberd/bin\r\n[ -f deps/elixir/bin/iex ] && /usr/bin/install -c -m 550  deps/elixir/bin/iex /root/chart/my-ejabberd/bin/iex\r\n[ -f deps/elixir/bin/elixir ] && /usr/bin/install -c -m 550  deps/elixir/bin/elixir /root/chart/my-ejabberd/bin/elixir\r\n[ -f deps/elixir/bin/mix ] && /usr/bin/install -c -m 550  deps/elixir/bin/mix /root/chart/my-ejabberd/bin/mix\r\n#\r\n# Init script\r\n/bin/sed -e \"s*@ctlscriptpath@*/root/chart/my-ejabberd/sbin*\" \\\r\n                -e \"s*@installuser@*root*\" ejabberd.init.template \\\r\n                > ejabberd.init\r\nchmod 755 ejabberd.init\r\n#\r\n# Binary Erlang files\r\n/usr/bin/install -c -d /root/chart/my-ejabberd/lib/ejabberd/ebin\r\n/usr/bin/install -c -m 644 ebin/*.app /root/chart/my-ejabberd/lib/ejabberd/ebin\r\n/usr/bin/install -c -m 644 ebin/*.beam /root/chart/my-ejabberd/lib/ejabberd/ebin\r\n/usr/bin/install -c -m 644 deps/*/ebin/*.app /root/chart/my-ejabberd/lib/ejabberd/ebin\r\n/usr/bin/install -c -m 644 deps/*/ebin/*.beam /root/chart/my-ejabberd/lib/ejabberd/ebin\r\n# Install Elixir and Elixir dependancies\r\n/usr/bin/install -c -m 644 deps/*/lib/*/ebin/*.app /root/chart/my-ejabberd/lib/ejabberd/ebin\r\n/usr/bin/install -c -m 644 deps/*/lib/*/ebin/*.beam /root/chart/my-ejabberd/lib/ejabberd/ebin\r\nrm -f /root/chart/my-ejabberd/lib/ejabberd/ebin/configure.beam\r\n#\r\n# ejabberd header files\r\n/usr/bin/install -c -d /root/chart/my-ejabberd/lib/ejabberd/include\r\n/usr/bin/install -c -m 644 include/*.hrl /root/chart/my-ejabberd/lib/ejabberd/include\r\n/usr/bin/install -c -m 644 deps/*/include/*.hrl /root/chart/my-ejabberd/lib/ejabberd/include\r\n#\r\n# Binary C programs\r\n/usr/bin/install -c -d /root/chart/my-ejabberd/lib/ejabberd/priv/bin\r\n/usr/bin/install -c -m 750  tools/captcha.sh /root/chart/my-ejabberd/lib/ejabberd/priv/bin\r\n/usr/bin/install -c -m 750  tools/joincluster /root/chart/my-ejabberd/lib/ejabberd/priv/bin\r\n/usr/bin/install -c -m 750  tools/leavecluster /root/chart/my-ejabberd/lib/ejabberd/priv/bin\r\n[ -f deps/p1_pam/priv/bin/epam ] \\\r\n                && /usr/bin/install -c -m 750  deps/p1_pam/priv/bin/epam /root/chart/my-ejabberd/lib/ejabberd/priv/bin\r\n#\r\n# Binary system libraries\r\n/usr/bin/install -c -d /root/chart/my-ejabberd/lib/ejabberd/priv/lib\r\n/usr/bin/install -c -m 644 deps/esip/priv/esip_drv.so deps/jiffy/priv/jiffy.so deps/sqlite3/priv/sqlite3_drv.so deps/p1_iconv/priv/lib/iconv.so deps/p1_stringprep/priv/lib/stringprep.so deps/p1_tls/priv/lib/p1_sha.so deps/p1_tls/priv/lib/p1_tls_drv.so deps/p1_xml/priv/lib/expat_erl.so deps/p1_xml/priv/lib/xml.so deps/p1_yaml/priv/lib/p1_yaml.so deps/p1_zlib/priv/lib/ezlib_drv.so /root/chart/my-ejabberd/lib/ejabberd/priv/lib\r\n[ -f /root/chart/my-ejabberd/lib/ejabberd/priv/lib/jiffy.so ] && (cd /root/chart/my-ejabberd/lib/ejabberd/priv; ln -s lib/jiffy.so; true)\r\nln: creating symbolic link `./jiffy.so': File exists\r\n[ -f /root/chart/my-ejabberd/lib/ejabberd/priv/lib/sqlite3_drv.so ] && (cd /root/chart/my-ejabberd/lib/ejabberd/priv; ln -s lib/sqlite3_drv.so; true)\r\nln: creating symbolic link `./sqlite3_drv.so': File exists\r\n#\r\n# Translated strings\r\n/usr/bin/install -c -d /root/chart/my-ejabberd/lib/ejabberd/priv/msgs\r\n/usr/bin/install -c -m 644 priv/msgs/*.msg /root/chart/my-ejabberd/lib/ejabberd/priv/msgs\r\n#\r\n# Copy lite.sql\r\n[ -d deps/sqlite3 ] && /usr/bin/install -c -d /root/chart/my-ejabberd/lib/ejabberd/priv/sql\r\n[ -d deps/sqlite3 ] && /usr/bin/install -c -m 644 sql/lite.sql /root/chart/my-ejabberd/lib/ejabberd/priv/sql\r\n#\r\n# Spool directory\r\n/usr/bin/install -c -d -m 750  /root/chart/my-ejabberd/var/lib/ejabberd\r\necho -R  /root/chart/my-ejabberd/var/lib/ejabberd >/dev/null\r\nchmod -R 750 /root/chart/my-ejabberd/var/lib/ejabberd\r\n[ ! -f /root/chart/my-ejabberd/var/lib/ejabberd/.erlang.cookie ] || { echo  /root/chart/my-ejabberd/var/lib/ejabberd/.erlang.cookie >/dev/null ; chmod 400 /root/chart/my-ejabberd/var/lib/ejabberd/.erlang.cookie ; }\r\n#\r\n# ejabberdctl lock directory\r\n/usr/bin/install -c -d -m 750  /root/chart/my-ejabberd/var/lock/ejabberdctl\r\necho -R  /root/chart/my-ejabberd/var/lock/ejabberdctl >/dev/null\r\nchmod -R 750 /root/chart/my-ejabberd/var/lock/ejabberdctl\r\n#\r\n# Log directory\r\n/usr/bin/install -c -d -m 750  /root/chart/my-ejabberd/var/log/ejabberd\r\necho -R  /root/chart/my-ejabberd/var/log/ejabberd >/dev/null\r\nchmod -R 750 /root/chart/my-ejabberd/var/log/ejabberd\r\n#\r\n# Documentation\r\n/usr/bin/install -c -d /root/chart/my-ejabberd/share/doc/ejabberd\r\n[ -f doc/guide.html ] \\\r\n                && /usr/bin/install -c -m 644 doc/guide.html /root/chart/my-ejabberd/share/doc/ejabberd \\\r\n                || echo \"Documentation not included in sources\"\r\nDocumentation not included in sources\r\n/usr/bin/install -c -m 644 COPYING /root/chart/my-ejabberd/share/doc/ejabberd\r\n[1]+  Done                    make\r\n[root@allran ejabberd]# \r\n```\r\n\r\n\r\n\r\nBut when i check the ejabberdctl, i get follow error:\r\n[root@allran ejabberd]# /root/chart/my-ejabberd/sbin/ejabberdctl live\r\n```\r\n--------------------------------------------------------------------\r\n\r\nIMPORTANT: ejabberd is going to start in LIVE (interactive) mode.\r\nAll log messages will be shown in the command shell.\r\nYou can interact with the ejabberd node if you know how to use it.\r\nPlease be extremely cautious with your actions,\r\nand exit immediately if you are not completely sure.\r\n\r\nTo exit this LIVE mode and stop ejabberd, press:\r\n  q().  and press the Enter key\r\n\r\n--------------------------------------------------------------------\r\nTo bypass permanently this warning, add to ejabberdctl.cfg the line:\r\n  EJABBERD_BYPASS_WARNINGS=true\r\nPress return to continue\r\n\r\n\r\n{error_logger,{{2015,7,24},{3,28,56}},\"Protocol: ~tp: register/listen error: ~tp~n\",[\"inet_tcp\",epmd_close]}\r\n{error_logger,{{2015,7,24},{3,28,56}},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,[#Port<0.104>,<0.18.0>]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,376},{stack_size,27},{reductions,755}],[]]}\r\n{error_logger,{{2015,7,24},{3,28,56}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[['ejabberd@localhost',shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}\r\n{error_logger,{{2015,7,24},{3,28,56}},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}]}]}\r\n{error_logger,{{2015,7,24},{3,28,56}},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}],[]]}\r\n{error_logger,{{2015,7,24},{3,28,56}},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}]}\r\n{\"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,[]]}}}\"}\r\n\r\nCrash dump was written to: /root/chart/my-ejabberd/var/log/ejabberd/erl_crash_20150724-032854.dump\r\nKernel 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\r\n[root@allran ejabberd]# \r\n```\r\n"}}