rabbitmq failed to start

1,177 views
Skip to first unread message

Md Monirul Islam Ansari

unread,
Sep 10, 2023, 2:26:24 PM9/10/23
to rabbitmq-users
Hello rabbitmq community,
                                                I am currently facing this error code, as I updated my system ( sudo apt update && sudo apt upgrade) , I tried to diagnosis the error, but as I am not from computer science background didn't understand much.

I am pasting below the output, I am using Linux Ubuntu 22.04 LTS and RAM is 16GB with I311thGen<
Hope, these info can be helpful to clariy.

sudo rabbitmq-diagnostics -q status
Error: unable to perform an operation on node 'rabbit@mdmonirul'. 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@mdmonirul
 * If target node is configured to use long node names, don't forget to use --longnames with CLI tools

DIAGNOSTICS
===========

attempted to contact: [rabbit@mdmonirul]

rabbit@mdmonirul:
  * unable to connect to epmd (port 4369) on mdmonirul: timeout (timed out)


Current node details:
 * node name: 'rabbitmqcli-49-rabbit@mdmonirul'
 * effective user's home directory: /var/lib/rabbitmq
 * Erlang cookie hash: 83qGOFOFZUNL0qnZprcJMg==


Michal Kuratczyk

unread,
Sep 10, 2023, 4:51:43 PM9/10/23
to rabbitm...@googlegroups.com
As the error says - consult the logs.

If you upgraded to 3.12, then most likely the problem is that you had not had the required feature flags enabled before the upgrade:

Assuming this is the problem, if you have no messages in RMQ or don't mind losing them (like in a dev env), the easiest solution is to delete the data folder.
Effectively, it's no longer an upgraded environment, but a fresh one. If you can't do it, downgrade, enable all feature flags and upgrade again.

Best,

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/e5a6156c-e84d-45fa-948f-89e74b17681cn%40googlegroups.com.


--
Michał
RabbitMQ team

Md Monirul Islam Ansari

unread,
Sep 13, 2023, 2:15:00 AM9/13/23
to rabbitmq-users
Thamks for your kindness, but the problem hasn't solved it yet, and your solution is also haed for me to applu, but I am uploading .erlang file and the outputs of commands I run into shell, hope it will more helpful to identify the cause.

Thanks and Regards
 Md Monirul Islam Ansari
 Student,Department of Library Information Science, 
University of Kalyani
rabbit-restart_output.txt
rabbit-diagnostics_report.txt
erl_crash.dump
.erlang.cookie

Michal Kuratczyk

unread,
Sep 13, 2023, 2:25:00 AM9/13/23
to rabbitm...@googlegroups.com
Check if you have "epmd" process running and if yes - kill it. I've never seen this before but looking at the logs and code, it seems like RabbitMQ gets a timeout
when trying to connect epmd, which is an Erlang component. Perhaps there's some leftover from the previous installation.

If that doesn't help, check if something is listening on the TCP port 25672.



--
Michał
RabbitMQ team
Reply all
Reply to author
Forward
0 new messages