See http://www.rabbitmq.com/windows-quirks.html.
MK
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send an email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
is Q: a mapping to a network drive? Does the account running the rabbitmq service also have that mapping?
Cause of Issue: Issue is due to – current home drive is Q:\ and this a network drive.
Resolution: Changed HomeDrive then reinstall RabbitMQ Service.
Step to change home drive
If using Local system/laptop
disconnect network connection
Disconnect Network drive from my computer
Restart system
If remote system/server (can’t disconnect network)
Login as local system administrator
Verify using windows => Run => %HomeDrive% should open local drive not network drive.
Erlang Cookie on http://www.rabbitmq.com/clustering.html.
.......
See above for some of the used locations and how you can provide a cookie
by modifying `rabbitmq-server.bat` to include `-setcookie [value]`.
rabbitmq-service remove
Then edit the rabbitmq-service.bat file like below:
"!ERLANG_HOME!\bin\erl.exe" ^
-pa "!RABBITMQ_EBIN_ROOT!" ^
-noinput -hidden ^
-s rabbit_prelaunch ^
-setcookie "c:\" ^ <--- add this line to where you want the .erlang.cookie to be placed.
!RABBITMQ_NAME_TYPE! rabbitmqprelaunch!RANDOM!!TIME:~9!
Now save the script and reinstall the service by calling:
rabbitmq-service install
Hope that helps
/Jens
You can install as a service or run as an application. Per the Windows installation guide "The service will run in the security context of the system account without the need for a user to be logged in on a console. This is normally more appropriate for production use. The server should not be run as a service and application simultaneously. The service runs using the rabbitmq-service.bat script in sbin. "
One gotcha that arises from this is that Rabbit uses a combination of the HomePath and HomeDrive environment variables to locate the erlang
cookie, per user. The service account running a RabbitMQ service and any accounts accessing the service bat files must share the erlang cookie. Ideally everyone should locate the cookie in the same drive and folder (using symbolic links via mklink perhaps). If your service accounts have machine level login rights (which I would NOT recommend) you could always log into the machine as the service account for all maintenance.
In order to properly
manage this cookie for a multiple user accounts , I simply did this.
copy-item -force $env:windir\.erlang.cookie C:$env:homepath
Also note that Erlang cares about the to determine the location to store the erlang cookie for EPMD processes.