--
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 view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/bb04144b-4376-4006-889f-b2e10311529e%40googlegroups.com.
See Environment Variable Changes on Windows [1]. You must reinstall the *Windows service* (not RabbitMQ itself) for environment variable values to be picked up by it.
--
setx path="C:\Windows\Handle"
Are you configuring PATH or other environment variables for the same user that installed RabbitMQ? (used to run the Windows service)
Rabbitmqctl.bat eval 'os:getenv().'
Will print all environment variables as seen by the server. On other OSes it will also include the user, I am not sure about Windows. But that will give you more data to compare anyway.
--
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 view this discussion on the web, visit
https://groups.google.com/d/msgid/rabbitmq-users/180fba6e-7e58-41c7-a9e8-dd4cd7f5d1f7%40googlegroups.com.
Are you configuring PATH or other environment variables for the same user that installed RabbitMQ? (used to run the Windows service)
Rabbitmqctl.bat eval 'os:getenv().'
Will print all environment variables as seen by the server. On other OSes it will also include the user, I am not sure about Windows. But that will give you more data to compare anyway.
On 29.05.2020, 21:41, rabbit...@googlegroups.com on behalf of Sri Reddy wrote:
I am using Microsoft Windows 10 Enterprise and have full privileges. I installed Erlang, RabbitMQ server without any problem. I tried to follow the steps mentioned in the link provided -
- Start an administrative command prompt
- cd into the sbin folder under the RabbitMQ server installation directory (such as C:\Program Files (x86)\RabbitMQ Server\rabbitmq_server-{version}\sbin)
- Run rabbitmq-service.bat stop to stop the service
- Run rabbitmq-service.bat remove to remove the Windows service (this will not remove RabbitMQ or its data directory)
- Set environment variables via command line, i.e. run commands like the following:
setx path="C:\Windows\Handle"
- Run rabbitmq-service.bat install
- Run rabbitmq-service.bat start
No luck. And i can see that handle.exe is working from path, as I can run it from command line. Not sure, what else should i check.
--
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 rabbitm...@googlegroups.com.
“The current user” does not answer my question, I’m afraid. It has to be the same user that *runs RabbitMQ*,
which is not necessarily “the current one”.
In your eval line, you are missing the dot in eval 'os:getenv().'
Yes, it is important since you are executing an Erlang function via rabbitmqctl.
I configured PATH for the current user. Also, I have tried with updating the other env variables.
To unsubscribe from this group and stop receiving emails from it, send an email to
rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit
https://groups.google.com/d/msgid/rabbitmq-users/17ee26f3-7411-4d4f-9232-015f791155ac%40googlegroups.com.