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

How to use CSS to pull down a small image to view a large image and information

Today I will talk about a CSS special effect of h...

Linux kernel device driver Linux kernel basic notes summary

1. Linux kernel driver module mechanism Static lo...

The marquee element implements effects such as scrolling fonts and pictures

The marquee element can achieve simple font (image...

How to avoid data loop conflicts when MySQL is configured with dual masters

I wonder if you have ever thought about this ques...

How to solve the problem of character set when logging in to Linux

Character set error always exists locale: Cannot ...

jQuery achieves large-screen scrolling playback effect

This article shares the specific code of jQuery t...

mysql delete multi-table connection deletion function

Deleting a single table: DELETE FROM tableName WH...

Share 13 excellent web wireframe design and production tools

When you start working on a project, it’s importa...

Vue3 AST parser-source code analysis

Table of contents 1. Generate AST abstract syntax...

How to develop Java 8 Spring Boot applications in Docker

In this article, I will show you how to develop a...

Navicat remote connection to MySQL implementation steps analysis

Preface I believe that everyone has been developi...

Detailed Analysis of the Selection of MySQL Common Index and Unique Index

Suppose a user management system where each perso...