[rabbitmq-discuss] problem on starting rabbitmq-server

Nowgoo nowgoo at gmail.com
Fri Sep 3 08:30:20 BST 2010


It works! thanks very much.
it's all my fault, I had set hostname to a number :(


David Wragg-4 wrote:
> 
> Hi,
> 
> Nowgoo <nowgoo at gmail.com> writes:
>> I've installed a rabbitmq (follow the instructions at
>> http://www.rabbitmq.com/install.html#install-rpm), but when I try to run
>> /etc/init.d/rabbitmq-server, the screen display "Starting
>> rabbitmq-server:"
>> and stopped there, never display "SUCCESS" or anything else. at this time
>> I
>> press ctrl+c, it just failed and quit.
>>
>> btw, when it shows "Starting rabbitmq-server:", I noticed:
>> 1. these lines were appened to /var/log/rabbitmq/startup_log:
>> ......
>> -- message delivery logic ready
>> starting error log relay                                             
>> ...done
>> starting networking                                                  
>> ...done
>> -- network listeners available
>>
>> broker running
>> seems the service is started?
> 
> Thanks for the details.
> 
> One possible cause fopr your problem is that the hostname for your
> machine returned by "hostname -s" does not actually resolve to a valid
> IP address for your machine.  Could this be the case for you?
> 
> If it is, then you can fix it by creating a file
> /etc/rabbitmq/rabbitmq.conf containing the line:
> 
> NODENAME=rabbit at localhost
> 
> You can replace localhost with any other valid short hostname for your
> machine, i.e. one not containing dots.
> 
> David
> 
> -- 
> David Wragg
> Staff Engineer, RabbitMQ
> SpringSource, a division of VMware
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> 
> 

-- 
View this message in context: http://old.nabble.com/problem-on-starting-rabbitmq-server-tp29579141p29611818.html
Sent from the RabbitMQ mailing list archive at Nabble.com.



More information about the rabbitmq-discuss mailing list