Monit daemon not available after new deployment on OpsWorks

121 Views Asked by At

We are using Monit to monitor mailman service, Worker nodes, and Opsworks agent. It works fine till new we deploy new release. On new release monit stops the Mailman Service and Start it. And when I do SSH into server and check monit status it gives error "error connecting to the monit daemon"

How do I check the cause of monit daemon stops?

1

There are 1 best solutions below

0
On

Check if an old monit.pid file is still available. Remove the old pid file used by Monit and start Monit again.

See $HOME/.monit.pid or /var/run/monit.pid