<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body dir="ltr" bgcolor="#ffffff" text="#000000">
<p style="margin-bottom: 0cm; margin-top: 0pt;">Forgot to mention, this
is the command line that evetually runs RabbitMQ:</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">"C:\Program Files
(x86)\erl5.5.5\erts-5.5.5\bin\erl.exe" -service_event
ErlSrv_rabbitmq_messagequeue -nohup -sname rabbit -mnesia dir
\""C:/RabbitMQ/db/rabbit-mnesia"\" -boot start_sasl -s rabbit -sasl
errlog_type error -kernel inet_default_listen_options "[{sndbuf,
16384}, {recbuf, 4096}]" -rabbit tcp_listeners "[{\"0.0.0.0\", 5672}]"
-kernel error_logger {file,\""C:/RabbitMQ/log/rabbit.log"\"} -sasl
sasl_error_logger {file,\""C:/RabbitMQ/log/rabbit-sasl.log"\"}</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">Eran<br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"> </p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">Eran Sandler wrote:</p>
<blockquote cite="mid:48BBED70.3020109@gmail.com" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<p style="margin-bottom: 0cm; margin-top: 0pt;">I've managed to
manually edit the arguments passed to the erlang interpreter by erlsrv
and added all the necessary parameters for logging and for the db. So
now I can start it as a Windows service and it seems to be working.<br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">The log seems to
behave
correctly and when I telnet I see the log reporting on this.</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">When I run
"rabbitmqctl
status" I get the following error in the log:</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">** Connection attempt
from disallowed node rabbitmqctl@yeddaweb7 ** </p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">Can it be a
permissions
problem of some kind? RabbitMQ's process runs under the Local system
account while the process of rabbitmqctl runs under a local user.</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">Eran<br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">Eran Sandler wrote:</p>
<blockquote
cite="mid:5f884b720808312217p35fc7ea2sa15c683eb87dd73f@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Ben,<br>
<br>
Thanks for the response.<br>
<br>
The Erlang process goes up (it seems erlsrv when started takes the
process up) and I can telnet to port 5672 and get a response that
contains the words AQMP (which is usually the quickest way I check if
the service is up), but when I run "rabbitmqctrl status" it says the
node is down.<br>
<br>
Eran<br>
<br>
<div class="gmail_quote">On Mon, Sep 1, 2008 at 2:24 AM, Ben Hood <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:0x6e6562@gmail.com">0x6e6562@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Eran,<br>
<div class="Ih2E3d"><br>
On Sun, Aug 31, 2008 at 8:48 PM, Eran Sandler <<a
moz-do-not-send="true" href="mailto:eran.sandler@gmail.com">eran.sandler@gmail.com</a>>
wrote:<br>
> I've tried numerous ways of running RabbitMQ as a Windows service
on Windows<br>
> 2003.<br>
><br>
> I've used erlsrv.exe with the following command:<br>
><br>
> erlsrv add rabbitmq_messagequeue -sname rabbit -args "-mnesia dir<br>
> '\"C:/RabbitMQ/db/rabbit-mnesia\"' -boot start_sasl -s rabbit -sasl<br>
> errlog_type error"<br>
><br>
> The service runs but rabbitmq isn't running if I run
"rabbitmqctrl.bat<br>
> status". I tried passing the rest of the arguments such as the log
file<br>
> location etc but that makes the service not run.<br>
<br>
</div>
First of all, I have not run erlsrv myself because I don't have access<br>
to a windows machine, but I'm sure that this can achieved via VMware<br>
soon.<br>
<br>
However, I do know of somebody who has done this already with windows,<br>
so I've prompted them for the solution, hopefully that will turn up<br>
soon.<br>
<br>
BTW, to clarify your question - are you saying that Rabbit is actually<br>
running (meaning that you can connect to it via a client) and that the<br>
rabbitmqctrl.bat is just returning the wrong status when it is<br>
invoked?<br>
<br>
HTH,<br>
<font color="#888888"><br>
Ben<br>
</font></blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rabbitmq-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a>
<a class="moz-txt-link-freetext" href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a>
</pre>
</blockquote>
<br>
</body>
</html>