Skip to content
This repository has been archived by the owner on Sep 13, 2021. It is now read-only.

Error: eprotonosupport #10

Closed
0x454447415244 opened this issue Nov 24, 2016 · 4 comments
Closed

Error: eprotonosupport #10

0x454447415244 opened this issue Nov 24, 2016 · 4 comments

Comments

@0x454447415244
Copy link

Hello, I'm not sure if that is an error with the application or just a connection error. I see it says "eprotonosupport". Is this an m3ua connection problem or something that isn't well compiled?

Thanks

root@ubuntu:/opt/ss7MAPer/rel/ss7MAPer/bin# ./ss7MAPer console
Exec: /opt/ss7MAPer/rel/ss7MAPer/erts-7.3/bin/erlexec  -boot /opt/ss7MAPer/rel/ss7MAPer/releases/1/ss7MAPer -mode embedded -config /opt/ss7MAPer/rel/ss7MAPer/releases/1/sys.config -args_file /opt/ss7MAPer/rel/ss7MAPer/releases/1/vm.args -- console
Root: /opt/ss7MAPer/rel/ss7MAPer
Erlang/OTP 18 [erts-7.3] [source] [64-bit] [smp:40:40] [async-threads:10] [hipe] [kernel-poll:false]

terminating ss7_routes with reason {{badmatch,{error,eprotonosupport}},
                                    [{m3ua_core,init,1,
                                      [{file,"src/m3ua_core.erl"},{line,107}]},
                                     {gen_fsm,init_it,6,
                                      [{file,"gen_fsm.erl"},{line,378}]},
                                     {proc_lib,init_p_do_apply,3,
                                      [{file,"proc_lib.erl"},{line,240}]}]}terminating ss7_links with reason {{badmatch,{error,eprotonosupport}},
                                   [{m3ua_core,init,1,
                                     [{file,"src/m3ua_core.erl"},{line,107}]},
                                    {gen_fsm,init_it,6,
                                     [{file,"gen_fsm.erl"},{line,378}]},
                                    {proc_lib,init_p_do_apply,3,
                                     [{file,"proc_lib.erl"},{line,240}]}]}
=ERROR REPORT==== 24-Nov-2016::02:23:30 ===
** Generic server ss7_links terminating 
** Last message in was {'EXIT',<0.878.0>,
                           {{badmatch,{error,eprotonosupport}},
                            [{m3ua_core,init,1,
                                 [{file,"src/m3ua_core.erl"},{line,107}]},
                             {gen_fsm,init_it,6,
                                 [{file,"gen_fsm.erl"},{line,378}]},
                             {proc_lib,init_p_do_apply,3,
                                 [{file,"proc_lib.erl"},{line,240}]}]}}
** When Server state == {su_state,ss7_linksets,ss7_link_table,mtp3_services}
** Reason for termination == 
** {terminated,[{io,format,
                    [<0.875.0>,"terminating ~p with reason ~p",
                     [ss7_links,
                      {{badmatch,{error,eprotonosupport}},
                       [{m3ua_core,init,1,
                                   [{file,"src/m3ua_core.erl"},{line,107}]},
                        {gen_fsm,init_it,6,[{file,"gen_fsm.erl"},{line,378}]},
                        {proc_lib,init_p_do_apply,3,
                                  [{file,"proc_lib.erl"},{line,240}]}]}]],
                    []},
                {ss7_links,terminate,2,
                           [{file,"src/ss7_links.erl"},{line,458}]},
                {gen_server,try_terminate,3,
                            [{file,"gen_server.erl"},{line,643}]},
                {gen_server,terminate,7,[{file,"gen_server.erl"},{line,809}]},
                {proc_lib,init_p_do_apply,3,
                          [{file,"proc_lib.erl"},{line,240}]}]}
Eshell V7.3  (abort with ^G)
(ss7MAPer@127.0.0.1)1> 
=ERROR REPORT==== 24-Nov-2016::02:23:30 ===
** Generic server ss7_routes terminating 
** Last message in was {'EXIT',<0.878.0>,
                           {{badmatch,{error,eprotonosupport}},
                            [{m3ua_core,init,1,
                                 [{file,"src/m3ua_core.erl"},{line,107}]},
                             {gen_fsm,init_it,6,
                                 [{file,"gen_fsm.erl"},{line,378}]},
                             {proc_lib,init_p_do_apply,3,
                                 [{file,"proc_lib.erl"},{line,240}]}]}}
** When Server state == {sr_state,ss7_routes}
** Reason for termination == 
** {terminated,[{io,format,
                    [<0.875.0>,"terminating ~p with reason ~p",
                     [ss7_routes,
                      {{badmatch,{error,eprotonosupport}},
                       [{m3ua_core,init,1,
                                   [{file,"src/m3ua_core.erl"},{line,107}]},
                        {gen_fsm,init_it,6,[{file,"gen_fsm.erl"},{line,378}]},
                        {proc_lib,init_p_do_apply,3,
                                  [{file,"proc_lib.erl"},{line,240}]}]}]],
                    []},
                {ss7_routes,terminate,2,
                            [{file,"src/ss7_routes.erl"},{line,170}]},
                {gen_server,try_terminate,3,
                            [{file,"gen_server.erl"},{line,643}]},
                {gen_server,terminate,7,[{file,"gen_server.erl"},{line,809}]},
                {proc_lib,init_p_do_apply,3,
                          [{file,"proc_lib.erl"},{line,240}]}]}

=INFO REPORT==== 24-Nov-2016::02:23:30 ===
    application: ss7MAPer
    exited: {{shutdown,
                 {failed_to_start_child,ss7MAPer,
                     {{badmatch,{error,eprotonosupport}},
                      [{m3ua_core,init,1,
                           [{file,"src/m3ua_core.erl"},{line,107}]},
                       {gen_fsm,init_it,6,[{file,"gen_fsm.erl"},{line,378}]},
                       {proc_lib,init_p_do_apply,3,
                           [{file,"proc_lib.erl"},{line,240}]}]}}},
             {ss7MAPer_app,start,[normal,["./config"]]}}
    type: permanent
{"Kernel pid terminated",application_controller,"{application_start_failure,ss7MAPer,{{shutdown,{failed_to_start_child,ss7MAPer,{{badmatch,{error,eprotonosupport}},[{m3ua_core,init,1,[{file,\"src/m3ua_core.erl\"},{line,107}]},{gen_fsm,init_it,6,[{file,\"gen_fsm.erl\"},{line,378}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,240}]}]}}},{ss7MAPer_app,start,[normal,[\"./config\"]]}}}"}

Crash dump is being written to: erl_crash.dump...done
Kernel pid terminated (application_controller) ({application_start_failure,ss7MAPer,{{shutdown,{failed_to_start_child,ss7MAPer,{{badmatch,{error,eprotonosupport}},[{m3ua_core,init,1,[{file,"src/m3ua
@0xc0decafe
Copy link
Contributor

Hi,

you will need to build and/or load the sctp kernel module.

cheers

@0x454447415244
Copy link
Author

0x454447415244 commented Nov 27, 2016

Hello,

thanks for your reply. I already installed (https://github.com/sctp/lksctp-tools) and loaded the sctp module. I'm still getting the same problem.

root@ubuntu:/opt/ss7MAPer/rel/ss7MAPer/bin# lsmod | grep sctp
sctp                  258048  2
libcrc32c              16384  3 sctp,raid456,bnx2x

root@ubuntu:/opt/ss7MAPer# /usr/bin/checksctp
SCTP supported

@0xc0decafe
Copy link
Contributor

Hi,

then your erlang binary is build without SCTP support (i guess thats the default case on ubuntu).
Try building erlang from source (www.erlang.org) and make sure you enable SCTP while configuring.

cheers

@0x454447415244
Copy link
Author

Thank you. Resolved.
For people having the same problem add "--enable-sctp" when you compile Erlang.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants