You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 1, 2020. It is now read-only.
If you are using the init-scripts that are included in the debian sensu package and add them to start during boot (with update.rc-d), sensu-server, sensu-api and sensu-client will fail to start.
Debian GNU/Linux 7
Sensu 0.12.6-4
If you check the logs, it is because rabbitmq-server and redis-server isn't started yet:
sensu-server.log
{"timestamp":"2014-05-09T23:42:06.967583+0200","level":"fatal","message":"redis connection error","error":"unable to connect to redis server"}
{"timestamp":"2014-05-09T23:42:06.967747+0200","level":"warn","message":"stopping"}
{"timestamp":"2014-05-09T23:42:06.967818+0200","level":"warn","message":"unsubscribing from keepalive and result queues"}
{"timestamp":"2014-05-09T23:42:06.967893+0200","level":"info","message":"completing handlers in progress","handlers_in_progress_count":0}
{"timestamp":"2014-05-09T23:42:06.968081+0200","level":"error","message":"[amqp] Detected TCP connection failure"}
{"timestamp":"2014-05-09T23:42:06.968154+0200","level":"fatal","message":"rabbitmq connection error","error":"failed to connect"}
sensu-client.log
{"timestamp":"2014-05-09T23:42:06.967855+0200","level":"error","message":"[amqp] Detected TCP connection failure"}
{"timestamp":"2014-05-09T23:42:06.968019+0200","level":"fatal","message":"rabbitmq connection error","error":"failed to connect"}
{"timestamp":"2014-05-09T23:42:06.968072+0200","level":"warn","message":"stopping"}
{"timestamp":"2014-05-09T23:42:06.968117+0200","level":"warn","message":"unsubscribing from client subscriptions"}
{"timestamp":"2014-05-09T23:42:06.968173+0200","level":"info","message":"completing checks in progress","checks_in_progress":[]}
{"timestamp":"2014-05-09T23:42:07.509580+0200","level":"warn","message":"stopping reactor"}
To solve this, I just added the require services that has to be running for the init-script that fails.
@jagardaniel Thanks for reporting the issue 👍 I've labeled this issue w/ "Wrong Repo", since it has more to do w/ sensu-build, here is a similar issue sensu/sensu-build#73
Hello!
If you are using the init-scripts that are included in the debian sensu package and add them to start during boot (with update.rc-d), sensu-server, sensu-api and sensu-client will fail to start.
Debian GNU/Linux 7
Sensu 0.12.6-4
If you check the logs, it is because rabbitmq-server and redis-server isn't started yet:
sensu-server.log
sensu-client.log
To solve this, I just added the require services that has to be running for the init-script that fails.
And then let update-rc.d take care of the "boot-reorder" again:
I'm not sure if this is the best solution, but it works for me. Still in the learning phase :)
/Daniel
The text was updated successfully, but these errors were encountered: