1. Recurrence problem
Today, I logged in to the rabbitmq
background management. After inputting the user name and password, this error was reported: not management user
, as shown in the following figure:
So I decided to execute the command rabbitmqctl list_users
check whether there is this user.
- First
D:\Software\rabbitmq\rabbitmq_server-3.8.15\sbin
enter in the directorycmd
:
- Execute the following command in the
cmd
command window:
rabbitmqctl list_users
But the following error is reported:
D:\Software\rabbitmq\rabbitmq_server-3.8.15\sbin>rabbitmqctl list_users
Error: unable to perform an operation on node 'rabbit@DESKTOP-UVTEHFR'. Please see diagnostics information and suggestions below.
Most common reasons for this are:
* Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)
* CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server)
* Target node is not running
In addition to the diagnostics info below:
* See the CLI, clustering and networking guides on https://rabbitmq.com/documentation.html to learn more
* Consult server logs on node rabbit@DESKTOP-UVTEHFR
* If target node is configured to use long node names, don't forget to use --longnames with CLI tools
DIAGNOSTICS
===========
attempted to contact: ['rabbit@DESKTOP-UVTEHFR']
rabbit@DESKTOP-UVTEHFR:
* connected to epmd (port 4369) on DESKTOP-UVTEHFR
* epmd reports: node 'rabbit' not running at all
no other nodes on DESKTOP-UVTEHFR
* suggestion: start the node
Current node details:
* node name: 'rabbitmqcli-999-rabbit@DESKTOP-UVTEHFR'
* effective user's home directory: C:\Users\zxy
* Erlang cookie hash: pkFzX53V7Ok1QDOYqiMzXg==
3. Solving problems
Copy the .erlang.cookie file from the C:\user\your username\ directory to the C:\Windows\System32\config\systemprofile\ directory, as follows:
If the .erlang.cookie file already exists in C:\Windows\System32\config\systemprofile\, just use the .erlang.cookie file in the C:\user\your username\ directory to replace it.
Double-click rabbitmq-server.bat to restart the rabbitmq service, as shown in the following image:
In the cmd
command line window, enter rabbitmqctl list_users
again:
Read More:
- [Solved] Rabbitmq Server Error: unable to perform an operation on node ‘rabbit@nscczzms‘. P
- Rabbitmq failed to stop normally: ERROR: node with name “rabbit” already running on “localhost”
- [Solved] ERROR_POLICY: attempt to perform an operation not allowed by the security policy `PDF‘ @ error/const
- [Solved] internal/modules/cjs/loader.js:892 ^Error: Cannot find module ‘C:\Users\LX\Desktop\Node_DEMO\a
- [Solved] VScode powershell Run ts-node Error: Unable to load file xxxx…
- Rabbitmq: Erlang distribution failed solution
- Unable to import maven project: See logs for details [Solved]
- How to Solve Rabbitmq Error: Failed to start RabbitMQ broker
- json-server Error: EPERM: operation not permitted, mkdir ‘C:\Progra m Files\nodejs\node_
- [Solved] K8s Error: ERROR: Unable to access datastore to query node configuration
- Node.js operation mysql error Cannot enqueue Handshake after invoking quit
- [Solved] react Error: Can‘t perform a React state update on an unmounted component
- [kubernetes] the pod instance of calico node always reports an error and restarts
- Node Kubelet Error: node “xxxxx“ not found [How to Solve]
- Win10 Right-Click desktop to Display Setting Error [How to Solve]
- Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to
- Error: an error occurred while performing the step: “building kernel modules”. See/var/log/NV
- [Solved] System.InvalidOperationException: Failed to deploy distro docker-desktop……
- PgSQL associated tables perform update to avoid using in query SQL
- [AWS] Solve Error: An error occurred (AccessDenied) when calling the CreateMultipartUpload operation: Access Denied