[erlang-questions] Name Issues
Enrique Paz
quiquepaz@REDACTED
Wed May 8 13:08:44 CEST 2013
"-name myapp" is the same as "-name myapp@`hostname -f`"
If you don't add the @ part to -name, Erlang will try to retrieve it from
your network configuration.
2013/5/8 Loïc Hoguin <essen@REDACTED>
> If you're going to set "myapp", use -sname myapp. -name is for specifying
> a long name, for example -name myapp@REDACTED
>
>
> On 05/08/2013 11:54 AM, Lee Sylvester wrote:
>
>> Hi guys,
>>
>> Me again :-)
>>
>> So, I'm having trouble setting the long name for a release. It used to
>> work fine, but now I'm getting noname@REDACTED as my app name. I'm
>> starting it using:
>>
>> rel/myapp/bin/myapp console -mnesia dir '"/Users/leesylvester/tmp/**Mnesia.myapp.node1"'
>> -name myapp
>>
>> I know I can use net_kernel:start to set the name, but if I do this, I
>> still can't connect to other nodes on the same host that started correctly.
>> How am I supposed to pass the name to the release when starting it?
>>
>> Thanks,
>> Lee
>> ______________________________**_________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/**listinfo/erlang-questions<http://erlang.org/mailman/listinfo/erlang-questions>
>>
>>
>
> --
> Loïc Hoguin
> Erlang Cowboy
> Nine Nines
> http://ninenines.eu
>
> ______________________________**_________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/**listinfo/erlang-questions<http://erlang.org/mailman/listinfo/erlang-questions>
>
--
quique
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130508/2ac69130/attachment.htm>
More information about the erlang-questions
mailing list