今天爱分享给大家带来ERROR: epmd error for host www: timeout (timed out)【解决方法】,希望能够帮助到大家。
Linux 部署RabbitMQ 启动报错 ERROR: epmd error for host www: timeout (timed out)
rabbitmq-server restart 启动报错
注意这条信息:ERROR: epmd error for host www: timeout (timed out)
编辑/etc/hosts文件,在文件的末尾加一条“xxx.xxx.xxx.xxx airetalk”,即可。其中“xxx.xxx.xxx.xxx”可以写服务器的ip地址
我这里是编辑 www, 您就注意 host后面的名称就行了
这是服务器的本地ip , 后面是名称 独立一行就行了 我刚开始放在其他后面 就不行
Configuring logger redirection 11:04:29.714 [error] 11:04:29.718 [error] BOOT FAILED 11:04:29.718 [error] =========== 11:04:29.718 [error] ERROR: epmd error for host www: timeout (timed out) 11:04:29.718 [error] BOOT FAILED =========== ERROR: epmd error for host www: timeout (timed out) 11:04:30.719 [error] Supervisor rabbit_prelaunch_sup had child prelaunch started with rabbit_prelaunch:run_prelaunch_first_phase() at undefined exit with reason {epmd_error,"www",timeout} in context start_error 11:04:30.719 [error] CRASH REPORT Process <0.151.0> with 0 neighbours exited with reason: {{shutdown,{failed_to_start_child,prelaunch,{epmd_error,"www",timeout}}},{rabbit_prelaunch_app,start,[normal,[]]}} in application_master:init/4 line 138 {"Kernel pid terminated",application_controller,"{application_start_failure,rabbitmq_prelaunch,{{shutdown,{failed_to_start_child,prelaunch,{epmd_error,\"www\",timeout}}},{rabbit_prelaunch_app,start,[normal,[]]}}}"} Kernel pid terminated (application_controller) ({application_start_failure,rabbitmq_prelaunch,{{shutdown,{failed_to_start_child,prelaunch,{epmd_error,"www",timeout}}},{rabbit_prelaunch_app,start,[norm Crash dump is being written to: erl_crash.dump...done
rabbitmq-server restart 启动成功的实例
Configuring logger redirection ## ## RabbitMQ 3.8.9 ## ## ########## Copyright (c) 2007-2020 VMware, Inc. or its affiliates. ###### ## ########## Licensed under the MPL 2.0. Website: https://rabbitmq.com Doc guides: https://rabbitmq.com/documentation.html Support: https://rabbitmq.com/contact.html Tutorials: https://rabbitmq.com/getstarted.html Monitoring: https://rabbitmq.com/monitoring.html Logs: /var/log/rabbitmq/rabbit@www.log /var/log/rabbitmq/rabbit@www_upgrade.log Config file(s): (none) Starting broker... completed with 0 plugins.
rabbitmq-server –detached 启动报错
rabbitmq-server –detached 启动报错 下面是错误信息: 解决方法就是杀掉进程(可能是我重复启动了)
netstat -lnp | grep 25672 (上面报错 这个端口 ) 查看她对应的进程 kill -9 进程就行了
重新启动 rabbitmq-server –detached
或者ps -ef | grep rabbitmq (自己感觉这个也能查看)
Configuring logger redirection BOOT FAILED =========== ERROR: distribution port 25672 in use by another node: rabbit@www 14:43:50.407 [error] 14:43:50.410 [error] BOOT FAILED 14:43:50.410 [error] =========== 14:43:50.410 [error] ERROR: distribution port 25672 in use by another node: rabbit@www 14:43:50.410 [error] 14:43:51.411 [error] Supervisor rabbit_prelaunch_sup had child prelaunch started with rabbit_prelaunch:run_prelaunch_first_phase() at undefined exit with reason {dist_port_already_used,25672,"rabbit","www"} in context start_error 14:43:51.411 [error] CRASH REPORT Process <0.151.0> with 0 neighbours exited with reason: {{shutdown,{failed_to_start_child,prelaunch,{dist_port_already_used,25672,"rabbit","www"}}},{rabbit_prelaunch_app,start,[normal,[]]}} in application_master:init/4 line 138 {"Kernel pid terminated",application_controller,"{application_start_failure,rabbitmq_prelaunch,{{shutdown,{failed_to_start_child,prelaunch,{dist_port_already_used,25672,\"rabbit\",\"www\"}}},{rabbit_prelaunch_app,start,[normal,[]]}}}"} Kernel pid terminated (application_controller) ({application_start_failure,rabbitmq_prelaunch,{{shutdown,{failed_to_start_child,prelaunch,{dist_port_already_used,25672,"rabbit","www"}}},{rabbit_prelau Crash dump is being written to: erl_crash.dump...done