[erlang-questions] Name Issues

Lee Sylvester lee.sylvester@REDACTED
Wed May 8 13:18:29 CEST 2013


Thanks, Loïc, but I've tried using the following:

-name myapp
-name myapp@REDACTED
-name 'myapp@REDACTED'
-name '"myapp@REDACTED"'

All have been unsuccessful.  If I use an sname, then it works fine, but I need to use long names.

Thanks again,
Lee



On 8 May 2013, at 12:08, Enrique Paz <quiquepaz@REDACTED> wrote:

> "-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
> 
> 
> 
> -- 
> Loïc Hoguin
> Erlang Cowboy
> Nine Nines
> http://ninenines.eu
> 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
> 
> 
> 
> -- 
> quique

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130508/d372e4d4/attachment.htm>


More information about the erlang-questions mailing list