[erlang-questions] epmd regression bug in erlang-solutions.com esl-erlang 18.3?

Michael Santos michael.santos@REDACTED
Sat Mar 19 17:42:00 CET 2016


On Sat, Mar 19, 2016 at 11:47:49PM +0800, Khitai Pang wrote:
> On 2016/3/19 19:45, Michael Santos wrote:
> >
> >On Mar 18, 2016 10:46 PM, "Khitai Pang" <khitai.pang@REDACTED
> ><mailto:khitai.pang@REDACTED>> wrote:
> >>
> >> Hi,
> >>
> >> I have been using the esl-erlang pacakge from
> >https://packages.erlang-solutions.com/erlang/ Ubuntu PPA for
> >Trusty.
> >>
> >> I have these in my bashrc:
> >>
> >> export ERL_EPMD_ADDRESS="XXX.XXX.XXX.XXX"   (LAN IP of my VM in
> >the cloud)
> >> export ERL_EPMD_PORT="5678"
> >
> >Just tested and it worked for me.
> >
> >Does the IP address in ERL_EPMD_ADDRESS exist in the VM?
> >
> 
> Yes it does, it's the IP of the LAN in the clound, and it all works
> fine with 18.2.
> 
> I believe it's possible that the issue is caused by the
> configuration in the operating system (Ubuntu 14.04.4 x86_64) but
> currently I have no idea how to further debug this issue.
> 
> With esl-erlang 18.2 and the following configs in bashrc:
> 
> export ERL_EPMD_ADDRESS="XXX.XXX.XXX.XXX"
> export ERL_EPMD_PORT="5678"
> 
> epmd works fine:
> 
> tcp        0      0 127.0.0.1:5678          0.0.0.0:* LISTEN      6754/epmd
> tcp        0      0 10.131.70.80:5678       0.0.0.0:* LISTEN      6754/epmd
> 
> 
> Thanks
> Khitai
> 

Can you provide the he output of env and ifconfig -a?  If you would like
to keep it private, feel free to send it  offlist.

> >>
> >> Everything worked fine with the 18.2 package.  After upgrading
> >to esl-erlang 18.3, epmd stopped to work:
> >>
> >> > epmd -debug
> >> epmd: Sat Mar 19 16:16:51 2016: epmd running - daemon = 0
> >> epmd: Sat Mar 19 16:16:51 2016: failed to bind socket: Cannot
> >assign requested address
> >>
> >> There is a workaround: if I remove the ERL_EPMD_ADDRESS
> >environment variable, epms works:
> >>
> >> tcp        0      0 0.0.0.0:5678 <http://0.0.0.0:5678> 0.0.0.0:*
> >LISTEN      3328/epmd
> >> tcp6       0      0 :::5678 :::*                    LISTEN     3328/epmd
> >>
> >> After downgrading esl-erlang from 18.3 to 18.2, the issue is gone.
> >>
> >>
> >> Thanks
> >> Khitai
> >> _______________________________________________
> >> erlang-questions mailing list
> >> erlang-questions@REDACTED <mailto:erlang-questions@REDACTED>
> >> http://erlang.org/mailman/listinfo/erlang-questions
> >
> 



More information about the erlang-questions mailing list