rabbitmq refusing to start

后端 未结 8 1578
伪装坚强ぢ
伪装坚强ぢ 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:40

    I had similar problem but these suggestions didn't work for me(restart too). When I run rabbitmq-server command, I get a response like that:

    $/ rabbitmq-server
    
    
    BOOT FAILED
    ===========
    
    Error description:
       {error,{cannot_log_to_file,"/var/log/rabbitmq/rabbit@haber01.log",
                                  {error,eacces}}}
    ....
    

    When I checked permissions of /var/log/rabbitmq/rabbit@haber01.log file, I saw that group has not write permisson for that file. So I gave permission to group with that command:

    /var/log/rabbigmq/$ chmod g+w *
    

    then problem has gone!

    Maybe this answer help someone.

提交回复
热议问题