[rabbitmq-discuss] Rabbitmq server crash and no start more
matthew at lshift.net
Tue Jan 26 15:19:34 GMT 2010
On Tue, Jan 26, 2010 at 01:08:22PM -0200, Gustavo Aquino wrote:
> This is my start-rabbitmq.sh
> $ cat start-rabbitmq.sh
> sudo rm -rf /opt/local/var/lib/rabbitmq/mnesia/rabbit/schema.DAT
> sudo -H -u rabbitmq rabbitmq-server
Ok, well the sudos certainly explain why the env vars weren't getting
Which rabbitmq-server script is that second line running? It should be
the one in /usr/sbin/ or /usr/local/sbin/ or /opt/local/usr/sbin/.
I've just checked and it seems that sudo adds the sbins to the PATH even
when you're not sudoing to root so that should still be finding them ok.
But either way, the strange issue is that it would appear that
/usr/lib/rabbitmq/bin/rabbitmq-env (or in your case maybe
/opt/local/usr/lib/rabbitmq/bin/rabbitmq-env) isn't being run. It should
be being run via /opt/local/usr/lib/rabbitmq/bin/rabbitmq-server...
Have you made any changes to these scripts? Do you perhaps have other
older versions of these scripts lying around?
More information about the rabbitmq-discuss