[Monit] Enabling start delay > not working anymore

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

[Monit] Enabling start delay > not working anymore

Post 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?
I am not active on this forum anymore.
stlaha2007
Posts: 370
Joined: Monday 05 October 2015 10:16
Target OS: -
Domoticz version:
Contact:

Re: [Monit] Enabling start delay > not working anymore

Post 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
stlaha2007
Posts: 370
Joined: Monday 05 October 2015 10:16
Target OS: -
Domoticz version:
Contact:

Re: [Monit] Enabling start delay > not working anymore

Post 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
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: [Monit] Enabling start delay > not working anymore

Post 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.
I am not active on this forum anymore.
stlaha2007
Posts: 370
Joined: Monday 05 October 2015 10:16
Target OS: -
Domoticz version:
Contact:

Re: [Monit] Enabling start delay > not working anymore

Post 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
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest