[ZendTo] Re: illegal attempt to update using time #######
Brad Beckenhauer
bbecken at aafp.org
Mon Sep 20 16:54:38 BST 2010
I continue to get the below errors when the rrdInit.php script runs.
I also tried deleting all the rrd's and letting hte script re-create them without success.
We only have 20 or so dropoffs and the system is running the Centos-64 vm
My /etc/cron.d/zento file looks like this:
5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php
2 5 * * * root /usr/bin/php /opt/zendto/sbin/rrdInit.php /opt/zendto/config/preferences.php
2 6 * * * root /usr/bin/php /opt/zendto/sbin/rrdUpdate.php /opt/zendto/config/preferences.php
Anything else I can try?
thanks
brad
>>> On 8/6/2010 at 7:49 AM, in message <4C5C04ED.3040303 at ZendTo.com>, Jules <Jules at zendto.com> wrote:
It happens when you call the 2 rrd scripts too close to each other.
Your root crontab should say this, so they stay well apart from each other (they were on the same command-line in earlier releases by mistake):
5 0 * * * root /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php
2 10 * * * root /usr/bin/php /opt/zendto/sbin/rrdInit.php /opt/zendto/config/preferences.php
2 12 * * * root /usr/bin/php /opt/zendto/sbin/rrdUpdate.php /opt/zendto/config/preferences.php
Jules.
On 06/08/2010 13:25, Gavin Silver wrote:
whats this business? i truncated a lot as it all looks pretty similar
----
/usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1280275200:1:1:6774.8
ERROR: /var/zendto/rrd/zendto.rrd: illegal attempt to update using time 1280275200 when last update time is 1280966400 (minimum one second step)
11,12,13
/usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1280361600:3:3:9512.0
ERROR: /var/zendto/rrd/zendto.rrd: illegal attempt to update using time 1280361600 when last update time is 1280966400 (minimum one second step)
14,15,16
/usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1280793600:3:1:11.0
------
_______________________________________________
ZendTo mailing listZendTo at zendto.comhttp://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
Jules
--
Julian Field MEng CITP CEngwww.ZendTo.com
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20100920/16bf48a5/attachment.html
More information about the ZendTo
mailing list