rabbitmq refusing to start

后端 未结 8 1589
伪装坚强ぢ
伪装坚强ぢ 2021-01-30 00:33

I have installed rabbitmq on ubuntu and trying to start it using rabbitmq-server start, however, I\'m getting this error:

Activating Ra         


        
8条回答
  •  死守一世寂寞
    2021-01-30 00:36

    Rabbitmq is set to start automatically after it's installed. I don't think it is configured run with the service command.

    To see the status of rabbitmq

    sudo rabbitmqctl status
    

    To stop the rabbitmq

    sudo rabbitmqctl stop
    

    (Try the status command again to see that it's stopped). To start it again, the recommended method is

    sudo invoke-rc.d rabbitmq-server start
    

    These all work with the vanilla ubuntu install using apt-get

    Still not working?

    If you've tried unsuccessfully to start or restart rabbitmq, check to see how many processes are running.

    ps -ef | grep rabbit
    

    There should be 5 processes running as the user rabbitmq. If you have more, particularly if they're running as other users (such as root, or your own user) you should stop these processes.

    The cleanest way is probably to reboot your machine.

提交回复
热议问题