我做了什么?
通过我的debian 8.x主机上的命令行。
DD_API_KEY=[...] bash -c "$(curl -L https://raw.githubusercontent.com/DataDog/datadog-agent/master/cmd/agent/install_script.sh)"
预期行为:
● datadog-agent.service - "Datadog Agent"
Loaded: loaded (/lib/systemd/system/datadog-agent.service; enabled)
Active: active (running) since Tue 2018-04-24 10:42:36 CEST; 10h ago
实际行为:
● datadog-agent.service - "Datadog Agent"
Loaded: loaded (/lib/systemd/system/datadog-agent.service; enabled)
Active: failed (Result: start-limit) since Tue 2018-04-24 21:13:40 CEST; 5s ago
Process: 22628 ExecStart=/opt/datadog-agent/bin/agent/agent start -p /opt/datadog-agent/run/agent.pid (code=exited, status=255)
Main PID: 22628 (code=exited, status=255)
Apr 24 21:13:40 worker-1 systemd[1]: Unit datadog-agent.service entered failed state.
Apr 24 21:13:40 worker-1 systemd[1]: datadog-agent.service holdoff time over, scheduling restart.
Apr 24 21:13:40 worker-1 systemd[1]: Stopping "Datadog Agent"...
Apr 24 21:13:40 worker-1 systemd[1]: Starting "Datadog Agent"...
Apr 24 21:13:40 worker-1 systemd[1]: datadog-agent.service start request repeated too quickly, refusing to start.
Apr 24 21:13:40 worker-1 systemd[1]: Failed to start "Datadog Agent".
Apr 24 21:13:40 worker-1 systemd[1]: Unit datadog-agent.service entered failed state.
问题:
由于结果状态:start-limit,我无法启动服务。 我等了大约9个小时。我的想法是服务状态将从多次重启尝试中恢复。它没。有任何想法吗?