[erlang-questions] SCTP support

Mark Wallis <>
Thu Jun 10 20:31:45 CEST 2010


Hi Tomas,

I ran into the same issue with RB13B04 on RH ES running 2.6.18-92 with
lksctp1.0.9 that I had installed from source.

In the end I removed 1.0.9 and installed an RPM for lksctp 1.0.7 and after
that Erlang SCTP worked. I expect the problem was due to the way I had
installed 1.0.9 and not a dependency on 1.0.7 but this should you some idea
where to look.

Regards

Mark.

On Thu, Jun 10, 2010 at 6:37 AM, Kukosa, Tomas <
> wrote:

> Hello,
>
> I have problem with opening SCTP socket. See
> -----------
> Erlang R13B04 (erts-5.7.5) [source] [64-bit] [smp:2:2] [rq:2]
> [async-threads:0] [hipe] [kernel-poll:false]
>
> Eshell V5.7.5  (abort with ^G)
> 1> gen_sctp:open().
> ** exception error: bad argument
>     in function  gen_sctp:open/1
>        called as gen_sctp:open([])
> 2>
> -------------
>
> I try it on SLES 11 64bit (kernel 2.6.27).
>
> SCTP on this system works well if I use sctp_darn (from lksctp-tools
> package) or if I use OpenJDK7 with SCTP support.
>
> Erlang/OTP has been configured and compiled with --enable-sctp option.
>
> What shall I check to find where the problem could be?
>
> When I try to localize problem I have found that following call fails:
> 2> prim_inet:open(sctp).
> {error,badarg}
>
> Any hint is welcome.
>
> Best regards,
>  Tomas
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:
>
>


More information about the erlang-questions mailing list