Solve the problem of not being able to access the RabbitMQ management page in the Linux server

Solve the problem of not being able to access the RabbitMQ management page in the Linux server

Because a certain function of my project requires the server to send messages to rabbitmq, I installed rabbitmq in the linux server today. First, install the erlang environment with yum, then install the rabbitmq service through rpm, and then configure the environment.

systemctl start rabbitmq-server

Start rabbitmq, access ip:15672, and find that the server denies access.

At first I suspected it was a firewall issue, so I checked the Linux firewall and Alibaba Cloud firewall and found that port 15672 was open. So I started to troubleshoot the problem. I used wget http://localhost:15762 on the server and found that it was not accessible, so it was not a firewall problem. So I used the command to find the rabbitmq process.

ps -ef | grep rabbitmq

I found that there was content output, which proved that rabbitmq was started successfully. Then I checked the port number of rabbitmq and found that there was only port number 4369, but not 15672. So I tried to modify the configuration file and other operations to modify the port number, but found that there was no effect. After searching Baidu, I found that I did not install the web plug-in, so I installed the web plug-in through the command

rabbitmq-plugins enable rabbitmq_management

After the installation is successful, I access the management page and find that it still doesn't work. Finally, I found that the default startup location of the plug-in is under etc/rabbitmq, not under the installation location of my rabbitmq. Through the cd command, enter usr/lib/rabbitmq/bin

Install the plug-in and restart the rabbitmq service to solve the problem

cd /usr/lib/rabbitmq/bin
rabbitmq-plugins enable rabbitmq_management
rabbitmqctl stop
rabbitmq-server detached

This is the end of this article about how to solve the problem of not being able to access the RabbitMQ management page in the Linux server. For more related content about Linux RabbitMQ not being able to access, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Linux RabbitMQ cluster construction process diagram
  • Detailed tutorial on installing RabbitMQ on Linux

<<:  Use Html+Css to implement a simple navigation bar function (the navigation bar switches the background color when the mouse is encountered)

>>:  Detailed explanation of JSON.parse and JSON.stringify usage

Recommend

Using loops in awk

Let's learn about different types of loops th...

Solution to the problem that Java cannot connect to MySQL 8.0

This article shares a collection of Java problems...

CSS and HTML and front-end technology layer diagram

Front-end technology layer (The picture is a bit e...

Tutorial on setting up scheduled tasks to backup the Oracle database under Linux

1. Check the character set of the database The ch...

Detailed explanation of the steps of using ElementUI in actual projects

Table of contents 1. Table self-sorting 2. Paging...

Using JS to implement binary tree traversal algorithm example code

Table of contents Preface 1. Binary Tree 1.1. Tra...

Tutorial on building a zookeeper server on Windows

Installation & Configuration The official web...

Detailed explanation of how to use Vue self-nested tree components

This article shares with you how to use the Vue s...

Detailed explanation of Docker Swarm service orchestration commands

1. Introduction Docker has an orchestration tool ...

Tips for importing csv, excel or sql files into MySQL

1. Import csv file Use the following command: 1.m...

How to set background blur with CSS

When making some pages, in order to make the page...

Implementation of Docker deployment of SQL Server 2019 Always On cluster

Table of contents Docker deployment Always on clu...

Why MySQL does not recommend deleting data

Table of contents Preface InnoDB storage architec...