"Cron is configured to run too often!" Error msg

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
kinetico213
Posts: 3
Joined: Wed Apr 26, 2017 1:04 pm

"Cron is configured to run too often!" Error msg

Post by kinetico213 »

2017-04-27_10-49-38.png
2017-04-27_10-49-38.png (56.96 KiB) Viewed 975 times
First off, before I go ahead and explain the whole situation, I would like to let everyone know that I'm a total newb when it comes to both Linux and Cacti world.
So please bare with me even if I sound confusing :)

Few days ago, I've noticed that the timezone of my Cacti server was set way off (January of 2033) so I managed to reset the date/time to the current time.
Ever since then, graphs of our firewall device stopped generating and I've been getting error messages as the screenshot below:
2017-04-27_10-37-41.png
2017-04-27_10-37-41.png (65.86 KiB) Viewed 975 times
It seems like I would have to reset that -49xxxxxx seconds to current but I just have no idea of how to get this done.

All I've tried so far is:

1. Clearing poller cache which gave me a message saying that "it is not safe to rely on the system's timezone..." as the screenshot below:
2017-04-27_11-10-44.png
2017-04-27_11-10-44.png (53.82 KiB) Viewed 975 times
2. Tried roll back to the original set time (January of 2033) to see if the graphs would start generating again but it was a no go.
(This actually gave me a "SNMP Get Timeout for host..." error and turned my firewall to Down state. - It was Up until then)

Are there any other steps that I can possibly try to have my device come back to Up state and have graphs start generating again?
I had no idea changing the local date/time would give me such a headache like this... :(

Thank you all!!!
cigamit
Developer
Posts: 3368
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: "Cron is configured to run too often!" Error msg

Post by cigamit »

You can probably manually run poller.php with the --force option to update the time, but your RRDs are still going to have the wrong times in them and will refuse to update. You will probably have to wack them and have it recreate them to get them working properly. You could also export to xml, then manually change the times (since you know exactly how far they are off from the negative poller time number) and recreate using the new XML. You will have to discover the joys of doing that yourself though.
kinetico213
Posts: 3
Joined: Wed Apr 26, 2017 1:04 pm

Re: "Cron is configured to run too often!" Error msg

Post by kinetico213 »

cigamit wrote:You can probably manually run poller.php with the --force option to update the time, but your RRDs are still going to have the wrong times in them and will refuse to update. You will probably have to wack them and have it recreate them to get them working properly. You could also export to xml, then manually change the times (since you know exactly how far they are off from the negative poller time number) and recreate using the new XML. You will have to discover the joys of doing that yourself though.
Thank you for your input!!

Btw, as seen below, I've managed to export one of the RRDs to xml but I don't really know which area that I need to change.
Do you happen to know which area I need to change in order for me to set RRDs to the current time?

Thank you!!
2017-05-01_15-14-51.png
2017-05-01_15-14-51.png (101.56 KiB) Viewed 804 times
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: "Cron is configured to run too often!" Error msg

Post by Osiris »

Is date.timezone set properly in php.ini?
Before history, there was a paradise, now dust.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest