Page 1 of 1
[Monit] Enabling start delay > not working anymore
Posted: Sunday 15 November 2015 22:04
by ThinkPad
Hi,
I had Monit working before, but had to reinstall some things. Was busy configuring Monit again, according to the tutorial:
http://domoticz.com/wiki/Monitoring_domoticz
But it seems, that as soon as i uncomment the "with start delay 300" after the "set daemon 300" part (top of the monitrc file), Monit breaks. When i do a 'sudo monit status' i get a "error connecting to monit daemon" message. When i put the # back before the 'start delay', Monit works again.
Does this seem familiar to anyone? How can i fix this?
Re: [Monit] Enabling start delay > not working anymore
Posted: Monday 16 November 2015 7:20
by stlaha2007
Hi Thinkpad,
Ran into some probs two weeks ago. However was the monitoring part of Domoticz.
What i have done is ran apt-get update and apt-get upgrade.
A few packages were upgraded. After that monit ran fine again.
I'm using monit v. 5.4 (sudo monit -V)
How about yours?
Sent from my D6503 using Tapatalk
Re: [Monit] Enabling start delay > not working anymore
Posted: Monday 16 November 2015 7:22
by stlaha2007
O and dont forget, was unpatience to, wait 5 minutes, it does NOT start! Thats what stressed me up also when debugging the Domoticz part.
Sent from my D6503 using Tapatalk
Re: [Monit] Enabling start delay > not working anymore
Posted: Monday 16 November 2015 7:24
by ThinkPad
I'm running 5.6 i see. On Ubuntu Server 14.04.3 LTS.
Monit is working fine, but it crashes when i uncomment the startdelay part. So a workaround would be to not use that, but it seems like a good feature to me.
Re: [Monit] Enabling start delay > not working anymore
Posted: Monday 16 November 2015 8:04
by stlaha2007
Wasnt sure about your running PI or other hardware... And yes Ubuntu LTS is great and has a higher version.
Perhaps downgrade back to 5.4.
You did some reinstalling recently updated/upgraded some of your core Ubuntu Install perhaps???
Im runnin Raspbian (also Debian) so differences are (possible) there.
Do you have some crashlogging somewhere (/var/log/daemon - messages - others) nkt kernelpanics? Then in / (root) a kerneldump.
Gonna retry Ubuntu install later today on a Nexxt PC stick. Not having a Ubuntu install available to check...
Sent from my D6503 using Tapatalk