Rabbitmq-service started successfully but not running

6,567 views
Skip to first unread message

Maciej

unread,
Jul 12, 2018, 2:23:01 AM7/12/18
to rabbitmq-users
Hi,

we have a hard problem to get rabbitmq-service running.

1) the view of the error (afterwards the way of install and start the services, 2), 3)...)

step 1.1

D:\...>rabbitmq-service start
The RabbitMQ service is starting.
The RabbitMQ service was started successfully.

step 1.2

assume servername=server1

D:\...>rabbitmqctl status
Status of node rabbit@server1 ...
Error: unable to perform an operation on node 'rabbit@server1'. 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 http://rabbitmq.com/documentation.html to learn more
 * Consult server logs on node rabbit@server1

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

attempted to contact: [rabbit@server1]

rabbit@<servername>:
  * connected to epmd (port 4369) on server1
  * epmd reports: node 'rabbit' not running at all
                  other nodes on server1: [babysitter_of_ns_1,ns_1,
                                           couchdb_ns_1]
  * suggestion: start the node

Current node details:
 * node name: rabbitmqcli57@server1
 * effective user's home directory: C:\users\xyzuser
 * Erlang cookie hash: anYRUKjJqun4W1WRthNsgg==


2) steps done before 1)

hint:

For each user at the server there was the homedrive/path set to U:
which is a link to a user-specific directory at another server.
Full-access granted.

This U:-path led to a problem with the .erlang.cookie as logged in the erlang_crash.dump
Therefore we deinstalled everything, then set homedrive/path to the server-local
home-directories (C:\users\xyzuser) and re-do following installations - now without
the error.

step 2.1
Installed Erlang within environment where homedrive/path is set to C:\users\xyzuser
(also for all other steps - at least necessarry for rabbitmq installation)

run as admin => otp_win64_21.0.exe (as download)
with 'successful installed' system-message

step 2.2
set ERLANG_HOME envar to target install-directory C:\Program Files (x86)\erl10.0

step 2.3
Installed rabbitmq-server-3.7.6.exe (as download) - run as admin
with 'successful installed' system-message

step 2.4
created rabbitmq.conf with the only entry
	[
  		{rabbit, [
    		{loopback_users = none}
  		]}
	].
(important for the accessing application)
set envar RABBITMQ_CONFIG_FILE

step 2.4
started the rabbitmq-service - see 1)

Thanks in advance for any help.

Daniil Fedotov

unread,
Jul 12, 2018, 4:55:19 AM7/12/18
to rabbitmq-users
Hi.

I can see you use .conf file (new format extension) with the old format configuration.
You should rename it to .config or change the config format https://www.rabbitmq.com/configure.html

If it does not help - more logs will be reqiored.

Do you have any startup logs or erlang_crash.dump?
You can try running rabbitmq-server instead of service to see more startup logs.

Which version of erlang do you use?

Maciej

unread,
Jul 12, 2018, 6:37:12 AM7/12/18
to rabbitmq-users
Hi Daniil,

I've renamed the config file extension and it started to work :)

Thanks a lot!!
Reply all
Reply to author
Forward
0 new messages