[rabbitmq-discuss] Rabbitmq server crash and no start more
aquino.gustavo at gmail.com
Tue Jan 26 13:52:20 GMT 2010
Well, I think that I have a problem I understand very well the problems with
environment, I try to use global environment but sudo ignore it... I'm
trying to understand why.
About rabbit configuration, I didn't fond /etc/rabbitmq.conf it's installed
by default ?
On Tue, Jan 26, 2010 at 11:05 AM, Matthew Sackman <matthew at lshift.net>wrote:
> Actually, further testing reveals it's a bit more subtle.
> sudo, by default, resets the environment when changing user, unless you
> give it the -E option.
> su, by default, although it has a --preserve-environment option, will
> copy over all the RABBITMQ_* environment settings when changing user.
> I wouldn't be surprised if OS X decides to do everything differently
> Thus if you repeat my previous foo.sh test, but use su instead of sudo,
> you will get "wibble" out.
> Our scripts use "su", not "sudo" and so *should* preserve the
> However, that aside, I'd still suggest that putting
> NODENAME=rabbit at Nefertiti in your /etc/rabbitmq/rabbitmq.conf - it is on
> the whole safer than using env vars. I do hope your machine can resolve
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss