Change Default 'home' Path in Erlang to Resolve RabbitMQ Start Up Error

前端 未结 2 1791
难免孤独
难免孤独 2021-01-17 13:35

I\'m new to rabbitmq and by association new to erlang. I\'m running into a problem where I cannot start rabbitmq as the \'home\' location for the .erlang.cookie has been cha

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-17 14:04

    The solution I came up with was to not bother with the installed service. I used the rabbitmq-server.bat to start the service, SET HOMEDRIVE=C: at the start of the file. I'm planing to run this from a parent service so that I can install this on servers.

    Final note to earlang and rabbitMQ developers; using pre-existing environment variables for you own purposes is just wrong. You should create your own, or better yet put this stuff in a configuration file. Telling people to talk to their system administrators to change the HOMEDRIVE and APPDATA variables is arrogant to say the least.

提交回复
热议问题