[rabbitmq-discuss] Challenges with Windows 7, No FQDN, IP as node name

Bipul Dutta bipul.dutta at gen-e.com
Tue Oct 29 17:32:16 GMT 2013


Thanks Emile,

No luck yet.

Here are my RABBITMQ_* properties after your suggestion about node name:

========= env ===============
set DIST=%~p0\..\..\..\..
set CURR_LOC=%CD%

cd "%DIST%"
set DIST=%CD%

set RSMQ_BASE=%DIST%\rabbitmq
set RABBITMQ_CONFIG_FILE=%RSMQ_BASE%\config\rabbitmq
set RABBITMQ_ENABLED_PLUGINS_FILE=%RSMQ_BASE%\config\enabled_plugins
set RABBITMQ_MNESIA_BASE=%RSMQ_BASE%\db
set RABBITMQ_LOG_BASE=%RSMQ_BASE%\log
set RABBITMQ_BASE=%RSMQ_BASE%\windows
set ERLANG_HOME=%RABBITMQ_BASE%\erlang
set RABBITMQ_COOKIE=mycookie
set RABBITMQ_SERVER_START_ARGS=-setcookie %RABBITMQ_COOKIE%
set RABBITMQ_CTL_ERL_ARGS=-setcookie %RABBITMQ_COOKIE%
set RABBITMQ_NODENAME=rabbit at 10-20-2-52
set RABBITMQ_INET_LISTEN_PORT=35197
=======================================

========= rabbitctl.bat file content ===========
rabbitmqctl.bat has the following at the end:

"!ERLANG_HOME!\bin\erl.exe" -pa "!TDP0!..\ebin" -noinput -hidden
!RABBITMQ_CTL_ERL_ARGS! -name rabbitmqctl!RANDOM!!TIME:~9! -s
rabbit_control_main -nodename !RABBITMQ_NODENAME! -extra !STAR!
=======================================

The windows service works just fine and I can go to the admin console at
http://10.20.2.52:15672 <http://10.20.2.52:15672/#/>

FYI, I do not have any entry in the hosts file.

Thanks for the help.

Bipul Dutta.





On Tue, Oct 29, 2013 at 3:53 AM, Emile Joubert <emile at rabbitmq.com> wrote:

>
> Hi,
>
> On 29/10/13 00:10, Bipul Dutta wrote:
>
> >>rabbitmqctl status throws the following exception:
> >
> >>rabbitmqctl.bat status
> >
> > RabbitMQ Home: c:\rabbitmq
> > {error_logger,{{2013,10,28},{19,2,44}},"Can't set long node
> > name!\nPlease check your configuration\n",[]}
>
> Can you please confirm the values of the RABBIT_* environment variables
> when you installed the service? Installing the service with a nodename
> like  "RABBITMQ_NODENAME=10.0.0.1" is not supported. If you must to use
> the IP number as a node name then replace the dots with a dash.
>
>
>
> -Emile
>
>
>
>
>

This message contains confidential information and is intended only for the individual named. If you are not the named addressee, any delivery, disclosure, dissemination or distribution of this e-mail is unlawful and strictly prohibited.   Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmissions cannot be guaranteed to be secure or without error, as information could be intercepted, corrupted, lost, destroyed, arrive late, be incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which errors or omissions arise as a result of e-mail transmission. If verification is required, please request a hard-copy version. (genE-dct1)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131029/783d2053/attachment.htm>


More information about the rabbitmq-discuss mailing list