Error during startup: (error, no_epmd_port)

1,631 views
Skip to first unread message

Eric Borcyk

unread,
Jan 22, 2021, 2:20:15 PM1/22/21
to rabbitmq-users
Hello All-

I am trying to install RabbitMQ on Windows 10 box with the following installs:

otp_win64_23.2.exe
rabbitmq-server-3.8.10.exe

I ran both executables as Administrator and accepted defaults for install dirs.  After starting the windows service I see this error in the rabbit@<hostname>.log file.


2021-01-22 13:44:05.661 [info] <0.541.0> Ready to start client connection listeners
2021-01-22 13:44:26.664 [error] <0.541.0> 
2021-01-22 13:44:26.664 [error] <0.541.0> BOOT FAILED
2021-01-22 13:44:26.664 [error] <0.541.0> ===========
2021-01-22 13:44:26.664 [error] <0.541.0> Error during startup: {error,no_epmd_port}

Here is results of rabbitmqctl.bat status

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

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

attempted to contact: ['rabbit@<hostname>]

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


Current node details:
 * node name: 'rabbitmqcli-835-rabbit@<hostname>'
 * effective user's home directory: C:\Users\<username>
 * Erlang cookie hash: Vv/eH02g0K5UQUGukSwc3w==

It looks like there is a listener on port 4369 and I checked to make sure firewall is not blocking port.  I also reinstalled Erlang and RabbitMQ twice as that was the solutions proposed in cases with similar issues.

C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.10\sbin>netstat -a | grep 4369
  TCP    0.0.0.0:4369           <hostname>:0          LISTENING

Not sure what else to try.  Looking for suggestions.

Thanks in advanced.

-Eric



Luke Bakken

unread,
Jan 22, 2021, 4:10:09 PM1/22/21
to rabbitmq-users
Hi Eric,

I just installed OTP 23.2.3 and RabbitMQ 3.8.11 on my Windows 10 Pro VM without issues. During the installation process, two popups were shown to allow erl.exe and empd.exe access through the firewall. Did you see popups like that during your installation?

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

It looks like there is a listener on port 4369 and I checked to make sure firewall is not blocking port.  I also reinstalled Erlang and RabbitMQ twice as that was the solutions proposed in cases with similar issues.

C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.10\sbin>netstat -a | grep 4369
  TCP    0.0.0.0:4369           <hostname>:0          LISTENING

I suggest using something like "telnet" to double-check that you can connect to port 4369. Please let us know what command you run and provide the output. 

Also, please be sure that "hostname" resolves to either 127.0.0.1 or a valid local IP address. Again, let us know what you run to test and provide the output.

Thanks,
Luke

Eric Borcyk

unread,
Jan 25, 2021, 10:47:05 AM1/25/21
to rabbitmq-users
Hi Luke-

Please see answers inline below.   I also tried changing the erlang port by setting ERL_ERMD_PORT to 9002 and still get same error.

One last piece of info.  I successfully installed RabbitMQ on my personal Windows 10 laptop without any additional configuration.  The install is failing on my company desktop which makes me think that it is a firewall issue.

Thanks
-Eric

On Friday, January 22, 2021 at 4:10:09 PM UTC-5 Luke Bakken wrote:
Hi Eric,

I just installed OTP 23.2.3 and RabbitMQ 3.8.11 on my Windows 10 Pro VM without issues. During the installation process, two popups were shown to allow erl.exe and empd.exe access through the firewall. Did you see popups like that during your installation?

No but I manually added both programs to Window Defender Firewall.
 

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

It looks like there is a listener on port 4369 and I checked to make sure firewall is not blocking port.  I also reinstalled Erlang and RabbitMQ twice as that was the solutions proposed in cases with similar issues.

C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.10\sbin>netstat -a | grep 4369
  TCP    0.0.0.0:4369           <hostname>:0          LISTENING

I suggest using something like "telnet" to double-check that you can connect to port 4369. Please let us know what command you run and provide the output. 

If I run: telnet <hostname> 4369, I get the blank screen with no errors after running which I believe means that I have successfully connected to port 4369

Also, please be sure that "hostname" resolves to either 127.0.0.1 or a valid local IP address. Again, let us know what you run to test and provide the output.

If I run 'hostname' command I get my <hostname>.  
Here is the line from my hosts file:
127.0.0.1 <hostname>

Thanks,
Luke

Luke Bakken

unread,
Jan 25, 2021, 11:37:35 AM1/25/21
to rabbitmq-users
Hi Eric,

I'm not sure why you're not seeing the firewall popup during installation. If you can completely disable the firewall that would remove one possible cause. I doubt it but maybe there is a corporate policy, virus scanner or some other program causing issues.

Another test you can run is the following:
  • Ensure epmd.exe is running. It is installed in a sub-directory of the Erlang installation.
  • Run erl.exe as follows, using your hostname: erl.exe -sname test@HOSTNAME
  • Let me know what happens
Thanks,
Luke

Eric Borcyk

unread,
Jan 26, 2021, 10:21:02 AM1/26/21
to rabbitmq-users
Hi Luke-

It was the firewall blocking the port.  IT for the company opened the port for my local machine and now all is working.

Thanks for all of your help.

-Eric

Luke Bakken

unread,
Jan 26, 2021, 10:22:35 AM1/26/21
to rabbitmq-users
Hi Eric!

Thanks for following up. It is always very helpful when people let the list know the source of their problem.

Reply all
Reply to author
Forward
0 new messages