Erlang/OTP Forums

Author Message

<  Erlang bugs mailing list  ~  order of the parameters for erl on Windows

Guest
Posted: Tue Sep 12, 2006 9:10 am Reply with quote
Guest
Hello,

it seems to me that the order of the command-line parameter (erl and
werl) on Microsoft Windows is important.
When having a complex command-line, if I put the -sname parameter first,
the erl emulator ignore it and do not start in networked mode.

Example:
erl.exe sname default@localhost -detached -env ERL_MAX_PORT=32000 -env EJABBERD_MSGS_PATH
"../lib/ejabberd-1.1.1/priv/msgs/" -env EJABBERD_CONFIG_PATH
"../conf/ejabberd.cfg" -env EJABBERD_SO_PATH
"../lib/ejabberd-1.1.1/priv/lib/windows/" -env EJABBERD_LOG_PATH
"../logs/ejabberd.log" -kernel inetrc '"../conf/inetrc.win"' -mnesia dir
'"../database/default"' -sasl sasl_error_logger
{file,"../logs/sasl.log"} -setcookie test
-s ejabberd

If I put this option at the end of the line, this is working as
expected:
erl.exe -detached -env ERL_MAX_PORT=32000 -env EJABBERD_MSGS_PATH
"../lib/ejabberd-1.1.1/priv/msgs/" -env EJABBERD_CONFIG_PATH
"../conf/ejabberd.cfg" -env EJABBERD_SO_PATH
"../lib/ejabberd-1.1.1/priv/lib/windows/" -env EJABBERD_LOG_PATH
"../logs/ejabberd.log" -kernel inetrc '"../conf/inetrc.win"' -mnesia dir
'"../database/default"' -sasl sasl_error_logger
{file,"../logs/sasl.log"} -sname default@localhost -setcookie test
-s ejabberd

I have not seen this behaviour on Linux.
Is it a known behaviour on Windows ?

Thank you !

--
Micka
Guest
Posted: Tue Sep 12, 2006 10:48 am Reply with quote
Guest
On 9/12/06, Mickael Remond <mickael.remond@process-one.net> wrote:
> Hello,
>
> it seems to me that the order of the command-line parameter (erl and
> werl) on Microsoft Windows is important.
> When having a complex command-line, if I put the -sname parameter first,
> the erl emulator ignore it and do not start in networked mode.
>
> Example:
> erl.exe sname default@localhost -detached -env ERL_MAX_PORT=32000 -env EJABBERD_MSGS_PATH

I see typo on the first line. sname instead of -sname. Could it be
that erlang doesn't start in distributed mode because of this typo?

> "../lib/ejabberd-1.1.1/priv/msgs/" -env EJABBERD_CONFIG_PATH
> "../conf/ejabberd.cfg" -env EJABBERD_SO_PATH
> "../lib/ejabberd-1.1.1/priv/lib/windows/" -env EJABBERD_LOG_PATH
> "../logs/ejabberd.log" -kernel inetrc '"../conf/inetrc.win"' -mnesia dir
> '"../database/default"' -sasl sasl_error_logger
> {file,"../logs/sasl.log"} -setcookie test
> -s ejabberd

--
Sergei Golovan
_______________________________________________
erlang-bugs mailing list
erlang-bugs@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-bugs
Post recived from mailinglist
Guest
Posted: Tue Sep 12, 2006 11:52 am Reply with quote
Guest
Hello Sergei,

* Sergei Golovan <sgolovan@gmail.com> [2006-09-12 14:47:25 +0400]:

> I see typo on the first line. sname instead of -sname. Could it be
> that erlang doesn't start in distributed mode because of this typo?

Ah yes. I have introduced the typo when composing the mail. So this is
not the source of the problem.

Have you seen this behaviour yourself already ?

--
Micka
wailian
Posted: Tue Mar 20, 2012 2:45 am Reply with quote
Guest
One of them is the Ugg bailey button boot which has classic and uniquely designed buttons on its body to give that elegant and luxurious look. It has a fantastic look and this includes the Bailey Triplet Boot which has 3 buttons. These boots have a shaft (the upper part of the boot) which can be turned up or turned down depending upon your need. These buttons are both for style or decoration along with being functional or usable as well.

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum