[rabbitmq-discuss] Failed to start RabbitMq and crash OS booting (debian)
Michael Klishin
mklishin at gopivotal.com
Mon Nov 18 12:15:05 GMT 2013
On 7 Nov 2013, at 14:23, l_ulrich2002 at yahoo.fr wrote:
> I experienced something weird on my developpement server.
> RabbitMQ don't start and block my OS booting process,
>
> I'm using Debian Sqeeze and deb paquet of RabbitMQ server, not Debian paquet.
>
> I mount /var/log on tmpfs and directory is fresh each time I start my laptop.
> This is the problem, rabbitmq starting script (in /etc/init.d/rabbitmq-server) assume that dir /var/log/rabbitmq exists but in my case it doesn't.
>
> I added on top of the srcipt after variable declaration a test if dir exists and if not I create it.
> With this patch, RabbitMQ don't failed anymore.
Interesting. RabbitMQ will try to create parent directories but perhaps its user doesn’t have
sufficient permissions.
Can you please post what is logged when RabbitMQ fails to start?
MK
Software Engineer, Pivotal/RabbitMQ
More information about the rabbitmq-discuss
mailing list