<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks, Loïc, but I've tried using the following:<div><br></div><div>-name myapp</div><div>-name myapp@hostname</div>-name 'myapp@hostname'<div>-name '"myapp@hostname"'</div><div><br></div><div>All have been unsuccessful. If I use an sname, then it works fine, but I need to use long names.</div><div><br></div><div>Thanks again,</div><div>Lee</div><div><br></div><div><br></div><div><br><div><div>On 8 May 2013, at 12:08, Enrique Paz <<a href="mailto:quiquepaz@gmail.com">quiquepaz@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">"-name myapp" is the same as "-name myapp@`hostname -f`" <div>If you don't add the @ part to -name, Erlang will try to retrieve it from your network configuration.</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/5/8 Loïc Hoguin <span dir="ltr"><<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If you're going to set "myapp", use -sname myapp. -name is for specifying a long name, for example -name <a href="mailto:myapp@example.org" target="_blank">myapp@example.org</a><div class="HOEnZb"><div class="h5">
<br>
<br>
On 05/08/2013 11:54 AM, Lee Sylvester wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi guys,<br>
<br>
Me again :-)<br>
<br>
So, I'm having trouble setting the long name for a release. It used to work fine, but now I'm getting noname@nohost as my app name. I'm starting it using:<br>
<br>
rel/myapp/bin/myapp console -mnesia dir '"/Users/leesylvester/tmp/<u></u>Mnesia.myapp.node1"' -name myapp<br>
<br>
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?<br>
<br>
Thanks,<br>
Lee<br>
______________________________<u></u>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<u></u>listinfo/erlang-questions</a><br>
<br>
</blockquote>
<br>
<br></div></div><span class="HOEnZb"><font color="#888888">
-- <br>
Loïc Hoguin<br>
Erlang Cowboy<br>
Nine Nines<br>
<a href="http://ninenines.eu/" target="_blank">http://ninenines.eu</a></font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<u></u>listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>quique
</div>
</blockquote></div><br></div></body></html>