DEV Community

Cover image for How To Fix "Starting broker... completed with 0 plugins." In RabbitMq
Joel Ndoh
Joel Ndoh

Posted on

 

How To Fix "Starting broker... completed with 0 plugins." In RabbitMq

When you install RabbitMQ, it comes with a default configuration that includes some plugins. However, if you try to run RabbitMQ without any additional configuration, you may encounter an error like the one below:

Logs: <stdout>
        c:/Users/<COMPUTER NAME>/AppData/Roaming/RabbitMQ/log/rabbit@Japan.log
        c:/Users/<COMPUTER NAME>/AppData/Roaming/RabbitMQ/log/rabbit@Japan_upgrade.log

  Config file(s): (none)

  Starting broker... completed with 0 plugins.

Enter fullscreen mode Exit fullscreen mode

This error message indicates that RabbitMQ was unable to start because it could not find any plugins to load. Fortunately, this error can be easily fixed by installing the management plugin.

To install the management plugin, follow these steps:

  1. Open a command prompt or terminal window.

  2. Navigate to the RabbitMQ sbin directory. For example, on Windows, the command may look like:

cd "C:\Users\ndohj\Downloads\rabbitmq-server-windows-3.11.10\rabbitmq_server-3.11.10\sbin"
Enter fullscreen mode Exit fullscreen mode
  1. Run the following command to enable the management plugin:
rabbitmq-plugins enable rabbitmq_management
Enter fullscreen mode Exit fullscreen mode

This command installs the management plugin, which provides a web-based interface for managing RabbitMQ.

  1. Restart the RabbitMQ server by running the following command:
rabbitmq-server.bat
Enter fullscreen mode Exit fullscreen mode

This command starts the RabbitMQ server with the newly installed management plugin.

  1. Open a web browser and navigate to http://localhost:15672. This will bring up the RabbitMQ management interface.

If everything was installed and configured correctly, you should see a login page where you can enter your RabbitMQ credentials.

Image description

That's it! You should now be able to use RabbitMQ with the management plugin installed. If you encounter any further issues, be sure to leave a comment or check the RabbitMQ documentation or seek help from the RabbitMQ community.

And don't also forget to follow and react to the post ๐Ÿ˜Ž

Top comments (0)

An Animated Guide to Node.js Event Loop

Node.js doesnโ€™t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.