ERROR: epmd error for host YOUR_HOSTNAME: timeout (timed out)

ERROR: epmd error for host YOUR_HOSTNAME: timeout (timed out)的解决方案)

问题现象

第一次启动rabbitmq是出现问题
rabbitmq-server -detached #守护进程启动rabbitmq
Warning: PID file not written; -detached was passed.
ERROR: epmd error for host myserver: timeout (timed out)

原因

rabbitmq服务无法识别主机名,检查本地主机名,vim /etc/hosts

127.0.0.1 myserver localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

重新启动,查看端口ss -ptln,启动成功。

你可能感兴趣的:(中间件)