Windows could not start the RabbitMQ Service on local Computer

后端 未结 3 2173
南方客
南方客 2021-02-20 03:48

I am trying to start RabbitMQ service on my local Windows laptop but I keep getting this error:

I first downloaded erlang (OTP 19.0 Windows 64-bit Binary File)

3条回答
  •  后悔当初
    2021-02-20 04:34

    Open the command prompt and run the following commands one by one:
    
    c:\>cd\  
    c:\>cd Program Files  
    c:\Program Files>cd RabbitMQ Server  
    c:\Program Files\RabbitMQ Server>dir  
    c:\Program Files\RabbitMQ Server>cd rabbitmq_server-3.8.1  
    c:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.1>dir  
    c:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.1>cd sbin  
    c:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.1\sbin>dir  
    c:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.1\sbin>SET HOMEDRIVE=C:
    
    c:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.1\sbin>rabbitmq-service enable
    
    c:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.1\sbin>rabbitmq-plugins enable rabbitmq_management
    

    and please make sure that you have copied the .erlang.cookie from c:\Windows to the root of your user folder ( C:\Users{user}\ )

提交回复
热议问题