[rabbitmq-discuss] Rabbitmq server crash and no start more
Gustavo Aquino
aquino.gustavo at gmail.com
Tue Jan 26 13:52:20 GMT 2010
Matthew,
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:
> Gustavo,
>
> 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
> again...
>
> 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
> environment.
>
> 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
> Nefertiti
>
> Matthew
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100126/853fa7a4/attachment.htm
More information about the rabbitmq-discuss
mailing list