[erlang-questions] starting with long name fails

Daniel Dormont <>
Thu Jun 14 00:09:36 CEST 2012


forgot to cc the list.

On Wed, Jun 13, 2012 at 6:09 PM, Daniel Dormont <>wrote:

> I had a similar question a few months ago. Here was the response.
>
> http://erlang.org/pipermail/erlang-questions/2011-December/063066.html
>
> Short answer, 'erl -name foo' without an @ sign (or anything after it) is
> indeed the preferred way to start a long-named node, but it only works if
> the machine has a FQDN (note that this can be faked using a host file if
> your DNS isn't set up to give you one).
>
> -Dan
>
>
> On Wed, Jun 13, 2012 at 5:10 PM, Vlad Dumitrescu <>wrote:
>
>> Hi!
>>
>> I am a little confused, hopefully someone can get me on the right track.
>>
>> I noticed that on some machines, when starting "erl -name foo", I get
>> an error "Can't set long name!". I suppose this is because the machine
>> doesn't have a properly configured FQDN?
>>
>> Also, I don't know where I had gotten this idea from, but I was using
>> "erl -name ". This works fine with any weird value for the
>> host name, but of course there will be problem if the real host name
>> isn't "mypc.com". Given that sometimes (as above) the runtime checks
>> for a valid host name, why does it allow anything if specified on the
>> comman line? (Needless to saay, I got in some delicate situation
>> because of this :-)
>>
>> best regards,
>> Vlad
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120613/8b98ba59/attachment.html>


More information about the erlang-questions mailing list