Page 1 of 1

ERROR: fork 3 has died ahead of time

Posted: Thu Nov 29, 2018 3:23 pm
by sathevaner
Since upgrading to 5.5.7 via the GUI, I am seeing repeated notifications involving the MRTG cron job:

*/5 * * * * root LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok --user=nagios --group=nagios
2018-11-29 13:55:12: ERROR: fork 3 has died ahead of time ...
These are happening every 5 minutes. Please advise on how to troubleshoot this.

Re: ERROR: fork 3 has died ahead of time

Posted: Thu Nov 29, 2018 4:48 pm
by npolovenko
Hi, @sathevaner. Please remove --user=nagios and --group=nagios from the cron:
*/5 * * * * root LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok
Then restart the crond:
service crond restart
Let me know if it fixes your problem.

Re: ERROR: fork 3 has died ahead of time

Posted: Mon Dec 03, 2018 10:19 am
by sathevaner
Good morning, @npolovenko:

Removing the user and group from the Cron job had no effect. Please advise.

Re: ERROR: fork 3 has died ahead of time

Posted: Mon Dec 03, 2018 11:41 am
by sathevaner
UPDATE: The messages stopped as of 9:30 AM CT. Standing by to ensure these don't reappear.

Re: ERROR: fork 3 has died ahead of time

Posted: Mon Dec 03, 2018 3:34 pm
by lmiltchev
Let us know when you think it's safe to lock the topic. Thanks!

Re: ERROR: fork 3 has died ahead of time

Posted: Mon Dec 03, 2018 5:00 pm
by sathevaner
It appears the problem has been resolved. Feel free to lock this thread. I will open a new one if I see the issue happen again.

Thank you both for the assistance!