Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/gwt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在超过StartImitBurst后启动linux服务_Linux_Service_Redhat_Heartbeat - Fatal编程技术网

在超过StartImitBurst后启动linux服务

在超过StartImitBurst后启动linux服务,linux,service,redhat,heartbeat,Linux,Service,Redhat,Heartbeat,heartbeat服务在重新启动几次后没有启动,因为它已经达到了看起来定义的最大限制。从/var/log/messages和系统心跳状态,我找到了以下输出。如果已达到最大尝试次数,则如何在不重新启动服务器的情况下启动服务,因为我无法重新启动服务器,因为它是prod box May 30 05:18:11 servername.domain.com heartbeat: Exiting: error loading config file: yaml: line 19: did not find

heartbeat服务在重新启动几次后没有启动,因为它已经达到了看起来定义的最大限制。从
/var/log/messages
系统心跳状态
,我找到了以下输出。如果已达到最大尝试次数,则如何在不重新启动服务器的情况下启动服务,因为我无法重新启动服务器,因为它是prod box

May 30 05:18:11 servername.domain.com heartbeat: Exiting: error loading config file: yaml: line 19: did not find expected key
May 30 05:18:11 servername.domain.com systemd: heartbeat.service: main process exited, code=exited, status=1/FAILURE
May 30 05:18:11 servername.domain.com systemd: Unit heartbeat.service entered failed state.
May 30 05:18:11 servername.domain.com systemd: heartbeat.service failed.
May 30 05:18:11 servername.domain.com systemd: heartbeat.service holdoff time over, scheduling restart.
May 30 05:18:11 servername.domain.com systemd: start request repeated too quickly for heartbeat.service
May 30 05:18:11 servername.domain.com systemd: Failed to start heartbeat.
May 30 05:18:11 servername.domain.com systemd: Unit heartbeat.service entered failed state.
May 30 05:18:11 servername.domain.com systemd: heartbeat.service failed.
May 30 05:20:01 servername.domain.com systemd: Started Session 194726 of user root.
May 30 05:20:01 servername.domain.com systemd: Starting Session 194726 of user root.

请建议启动并运行服务的方法。

要实现此目的,您可以使用:

systemctl重置失败