[ejabberd] asn1ct undef error while installing ejabberd

Ashwin Baboji ash.baboji at gmail.com
Fri May 12 15:17:21 MSK 2017


I fixed it, I had forgotten to copy 4 files (ELDAPv3.erl, ELDAPv3.asn1db,
XmppAddr.erl, XmppAddr.asn1db) in my ejabberd/src.

I am now getting this error :


{error_logger,{{2017,5,12},{10,36,10}},"Protocol: ~tp: register/listen
error: ~tp~n",["inet_tcp",eaddrnotavail]}
{error_logger,{{2017,5,12},{10,36,10}},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,320}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}},{ancestors,[net_sup,kernel_sup,<0.10.0>]},{messages,[]},{links,[<0.18.0>]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,233},{stack_size,27},{reductions,487}],[]]}
{error_logger,{{2017,5,12},{10,36,10}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[['ejabberd at localhost
',shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2017,5,12},{10,36,10}},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,{{2017,5,12},{10,36,10}},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,239}]}]}},{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,{{2017,5,12},{10,36,10}},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,[]]}}}"}


We are very keen to migrate to ejabberd 17.04 but it is completely
different from 13.12. We had highly customized our ejabberd to suit our
needs but so much has changed from 13 to 17 that it requires us to put lots
of efforts.

We are planning to migrate to 17 within next 2 months though :)


On Fri, May 12, 2017 at 12:24 AM, Evgeny Khramtsov <xramtsov at gmail.com>
wrote:

> Thu, 11 May 2017 20:52:34 +0530
> Ashwin Baboji <ash.baboji at gmail.com> wrote:
>
> > We are running on ejabberd-13.12 and Erlang R16B03
>
> > ERROR: compile failed while processing /home/abhay/ggs/ejabberd:
> > {'EXIT',{undef,[{asn1ct,compile,
>
> This is indeed the problem with erlang installation, but I don't think
> I can help you a lot because:
>
> 1) I'm not aware of RH based distros
> 2) ejabberd is too old and I don't even remember how ASN.1
> compilation was done there, e.g. there might be versions mismatch
> between ejabberd and Erlang
>
> I would really recommend installing ejabberd 17.04 and Erlang 19.x
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20170512/a592dce6/attachment.html>


More information about the ejabberd mailing list