[rabbitmq-discuss] Really bizarre startup issue...

Matthias Radestock matthias at rabbitmq.com
Thu May 6 05:56:56 BST 2010


Robert,

Robert Nickel wrote:
> On sdcloudsh01, contents of /etc/rabbitmq files:
>   rabbitmq.conf:
>     NODENAME=regsvc at sdcloudsh01
>   rabbitmq.config:
>     [
>       {rabbit, []}
>     ].
>   rabbitmq_cluster.config:
>     [ 'regsvc at sdcloudsh01','regsvc at sdcloudsh02' ].
> 
> When starting the rabbitmq server using /sbin/service rabbitmq-server start,
> the service fails

Does rabbit start up fine if you a) remove all the above configuration 
files, and b) delete the database directory (usually 
/var/lib/rabbitmq/mnesia)?

> the following outputs are in /var/log/rabbitmq/startup_err and log:
> 
>   _log:
>     Starting all nodes...
>     Starting node regsvc at sdcloudsh01...
>   _err:
>     Error: {node_start_failed,normal}

Are there any other non-empty log files in /var/log/rabbitmq?

> After a bunch of troubleshooting, I noticed that if I strace the above
> command, everything works fine:
> 
>   strace -f /sbin/service rabbitmq-server start
> 
> Terminating the strace leaves the rabbit server running happily.

That would suggest some sort of race / timing issue. Strange.


Regards,

Matthias.



More information about the rabbitmq-discuss mailing list