[rabbitmq-discuss] Rabbit crashes upon startup.

Steve Powell steve at rabbitmq.com
Mon Mar 5 17:39:05 GMT 2012


Sorry, went to the wrong place...

Steve Powell  (a happy bunny)
----------some more definitions from the SPD----------
vermin (v.) Treating the dachshund for roundworm.
chinchilla (n.) Cooling device for the lower jaw.
socialcast (n.) Someone to whom everyone is speaking but nobody likes.

On 5 Mar 2012, at 17:14, Steve Powell wrote:

> Pat,
> 
> The information is a little thin, I'm afraid.
> 
> Just a couple of notes though: 
> 
> 1) you should look in startup_err AND startup_log when 
> you get a failure like this; and, 
> 
> 2) are you starting the rabbit service as root (sudo...)?
> 
> I'm seeing something like this when the files that rabbitmq uses/needs aren't
> accessible by the user that the service is running as. In some cases they are
> created with the wrong permissions (from some previous failed attempt)
> and persist for subsequent attempts -- and of course they are now wrong.
> 
> Simplest solution is to reinstall the package and start the service properly.
> 
> Steve Powell  (a happy bunny)
> ----------some more definitions from the SPD----------
> vermin (v.) Treating the dachshund for roundworm.
> chinchilla (n.) Cooling device for the lower jaw.
> socialcast (n.) Someone to whom everyone is speaking but nobody likes.
> 
> On 2 Mar 2012, at 22:26, patfla wrote:
> 
>> 
>> amqp runs on 5762.  Did a netstat -anp | grep 5762 and found a process called qpidd (I said I didn't have much past experience digging inside rabbitmq).  Figured out this is AMQP.  Killed the process.
>> 
>> Now Rabbitmq starts successfully.  Go figure.
>> 
>> Pat
>> 
>> 
>> On Friday, March 2, 2012 2:04:55 PM UTC-8, patfla wrote:
>> 
>> Rabbitmq 2.7.1-1 and erlang R14B-04.1
>> 
>> We normally use CentOS 5.7 which has its shortcomings.  In order to try CentOS 6.2 I installed it into an Oracle(Sun) VirtualBox VM.  That all works fine.
>> 
>> Among the infrastructure that we need are postgres and memcached - they install and run fine.
>> 
>> For rabbit, stated by making an EPEL repo then installed both erlang and rabbitmq.
>> 
>> Try to start rabbitmq - service rabbitmq-server - and I get:
>> 
>> 
>> [blah at localhost init.d]# pwd
>> /etc/init.d
>> [blah at localhost init.d]# service rabbitmq-server start
>> Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err}
>> rabbitmq-server.
>> [blah at localhost init.d]# cat /var/log/rabbitmq/startup_err
>> Erlang has closed
>> 
>> Crash dump was written to: erl_crash.dump
>> Kernel pid terminated (application_controller) ({application_start_failure,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{rabbit,failure_during_boot}}}}})
>> [blah at localhost init.d]# ps aux | grep rabbit
>> rabbitmq  4069  0.0  0.0  10880   468 ?        S    13:15   0:00 /usr/lib64/erlang/erts-5.8.5/bin/epmd -daemon
>> blah      4460  0.0  0.0 103300   844 pts/3    S+   13:59   0:00 grep rabbit
>> [blah at localhost init.d]# 
>> 
>> 
>> Epmd started up.  I think the next thing to start is beam.smp (looking at my CentOS 5.7 machine where this all works).
>> 
>> I've used rabbitmq for some time, but have never had to dig into it...
>> 
>> Tried rebooting - no.  Then uninstall and reinstall - no.
>> 
>> Any suggestions appreciated.
>> 
>> Pat
>> 
>> 
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> https://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/20120305/5fd89d59/attachment.htm>


More information about the rabbitmq-discuss mailing list