[ZendTo] Re: illegal attempt to update using time #######
Jules
Jules at Zend.To
Sat Aug 28 21:57:45 BST 2010
They might be from different versions, but I will take a look.
Jules.
On 27/08/2010 19:23, Brad Beckenhauer wrote:
> Hi Julian
> I'm running the Zendto-Centos-64-3.61 VM and noticed that there are
> two cron jobs. I re-installed Zendto 3.61 this morning and before
> making any changes, I verified that both cron jobs are in the default
> vm image.
> There are the two cron jobs.
> a) /etc/cron.d/zendto
> 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
> b) /var/spool/cron/root
> 5 0 * * * /usr/bin/php /opt/zendto/sbin/cleanup.php
> /opt/zendto/config/preferences.php
> 2 0 * * * /usr/bin/php /opt/zendto/sbin/rrdInit.php
> /opt/zendto/config/preferences.php ; /usr/bin/php
> /opt/zendto/sbin/rrdUpdate.php /opt/zendto/config/preferences.php
> Since the cron job in Option A is the preferred one, the cron job for
> the root user (b) should be removed from default download image.
> 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 list
>> ZendTo at zendto.com
>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>
>
> Jules
>
> --
> Julian Field MEng CITP CEng
> www.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
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
Jules
--
Julian Field MEng CITP CEng
www.Zend.To
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/20100828/9c02d467/attachment.html
More information about the ZendTo
mailing list