[ZendTo] Re: rrd preferences.php errors

Jules Jules at Zend.To
Thu Oct 13 10:23:45 BST 2011



On 12/10/2011 05:56, John Cooper wrote:
> Hi Jules, just posting these errors in case any use in diagnosing the
> problem.
>
> Thanks, John.
>
> At 0:05
>
> /usr/bin/php /opt/zendto/sbin/cleanup.php /opt/zendto/config/preferences.php
>
> the clean up runs fine.
>
> At 2.02 I also see rrdInit cron
>
> /usr/bin/php /opt/zendto/sbin/rrdInit.php /opt/zendto/config/preferences.php
>
> 38,40
> /usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1317769200:2:2:1155547.7
>
> ERROR: /var/zendto/rrd/zendto.rrd: illegal attempt to update using time 1317769200 when last update time is 1318287600 (minimum one second step)
> 48,49,50,51,52,53,54,55,56,57
> /usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1318287600:10:10:88.9
>
> ERROR: /var/zendto/rrd/zendto.rrd: illegal attempt to update using time 1318287600 when last update time is 1318287600 (minimum one second step)
> 60,62,63
> /usr/bin/rrdtool update /var/zendto/rrd/zendto.rrd 1318374000:3:3:201258.3
That's perfectly fine. It's merely attempting to re-log the data it 
logged the day before, and the day before that, hence 2 errors from 
RRDtool. Every night it re-logs all the day it can extract from the 
ZendTo database logs, in case either
a) you deleted the zendto.rrd file for some reason,
b) you missed a night's cron job.

So expect to get the rrdtool error for every submission except the last 
one (which is logging the data from the last 24 hours).
>
>
> The daily cron at 4am
>
> /usr/bin/php /opt/zendto/sbin/rrdUpdate.php
> /opt/zendto/config/preferences.php
>
> is giving an output of
>
> 481x188
> 481x188
> 481x188
> 481x188
> 481x188
> 481x188
> 481x188
> 481x188
> 481x188
> 481x188
> 481x188
> 481x188
> 481x188
> 481x188
> 481x188
> 481x188
> 481x188
> 481x188
> 481x188
> 481x188
>
> (or 481x193 on my other install).
That's it generating the graphs.

Jules.
>
>
> _______________________________________________
> 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

Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

'It's okay to live without all the answers' - Charlie Eppes, 2011
'All programs have a desire to be useful' - Tron, 1982
'That is the land of lost content,
  I see it shining plain,
  The happy highways where I went,
  And cannot come again.' - A.E. Houseman



More information about the ZendTo mailing list