[ZendTo] Re: rrdInit.php error

Naz Snidanko nsnidanko at harperpowerproducts.com
Fri Jul 16 15:23:49 BST 2010


Yes, correct I didn't have any drop-offs in-between. I created upload
today so we should see if it repeats itself. Also, if there no uploads
its value should change so it updates graphs (rrd database) properly.

 

Regards, 

 

Naz Snidanko

Desktop & Network Support

Harper Power Products Inc.

(p) 416 201- 7506

nsnidanko at harperpowerproducts.com

  _____  

From: zendto-bounces at zendto.com [mailto:zendto-bounces at zendto.com] On
Behalf Of Jules
Sent: Friday, July 16, 2010 10:13 AM
To: ZendTo Users
Subject: [ZendTo] Re: rrdInit.php error

 



On 16/07/2010 15:01, Naz Snidanko wrote: 

I am using version 3.53 with a lot of patches, so I am not sure where I
stand version-wise. I will update to the latest one tonight.

 

Here's my crontab:

 

# Zendto service scripts

5 0 * * * /usr/bin/php /home/zendto/sbin/cleanup.php
/home/zendto/config/preferences.php &> /dev/null

10 2 * * *  /usr/bin/php /home/zendto/sbin/rrdInit.php
/home/zendto/config/preferences.php

15 2 * * * /usr/bin/php /home/zendto/sbin/rrdUpdate.php
/home/zendto/config/preferences.php

 

Btw, my crontab format is:

 

# m h  dom mon dow   command

 

I was observing this thing for 3 days and got the following:

 

*************Day 1

 

Initial creation of RRD file (start date of 2010-07-13)

1

/usr/bin/rrdtool update /home/zendto/data/rrd/dropbox.rrd
1279080000:1:1:32.0

 

*************Day 2

 

1

/usr/bin/rrdtool update /home/zendto/data/rrd/dropbox.rrd
1279080000:1:1:32.0

 

ERROR: /home/zendto/data/rrd/dropbox.rrd: illegal attempt to update
using time 1279080000 when last update time is 1279080000 (minimum one
second step)

 

*************Day 3

 

1

/usr/bin/rrdtool update /home/zendto/data/rrd/dropbox.rrd
1279080000:1:1:32.0

 

ERROR: /home/zendto/data/rrd/dropbox.rrd: illegal attempt to update
using time 1279080000 when last update time is 1279080000 (minimum one
second step)

 

Value of 1279080000 always stays the same. How is it generated in
rrdInit.php?

It is calculated from the dates of dropoffs in your database. So it's
quite possible it might produce that value. Do you have more dropoffs
going into your system every day?

Jules.



 

Please advice,

Naz Snidanko

Desktop & Network Support

Harper Power Products Inc.

(p) 416 201- 7506

nsnidanko at harperpowerproducts.com
<mailto:nsnidanko at harperpowerproducts.com> 

  _____  

From: zendto-bounces at zendto.com [mailto:zendto-bounces at zendto.com] On
Behalf Of Jules
Sent: Friday, July 16, 2010 9:24 AM
To: ZendTo Users
Subject: [ZendTo] Re: rrdInit.php error

 

You need to change the cron jobs a little, to ensure there is a couple
of minutes delay between the rrdInit and the rrdUpdate. This will show
you what you need: (I have fixed this in a more recent version)

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

Let me know if this fixes it for you (or not!).

Jules.

On 16/07/2010 13:56, Naz Snidanko wrote: 

Hi Everyone,

 

To begin; I've been following development of ZendTo for sometime. We
actually have this product in production working with 3 AD domains.

 

I've been getting email reports of my cron jobs for ZendTo and the
following error message keeps appearing:

 

/usr/bin/php /home/zendto/sbin/rrdInit.php
/home/zendto/config/preferences.php

 

Output:

 

1

/usr/bin/rrdtool update /home/zendto/data/rrd/dropbox.rrd
1279080000:1:1:32.0

 

ERROR: /home/zendto/data/rrd/dropbox.rrd: illegal attempt to update
using time 1279080000 when last update time is 1279080000 (minimum one
second step)

 
>From what I understand there's something wrong with rrdInit.php. That
happens whenever script attempts to update an RRD file using a timestamp
that was already used previously.

 

Please advice,

Naz Snidanko

Desktop & Network Support

Harper Power Products Inc.

(p) 416 201- 7506

nsnidanko at harperpowerproducts.com
<mailto:nsnidanko at harperpowerproducts.com> 

 
 
_______________________________________________
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 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20100716/bb03fe45/attachment-0001.html 


More information about the ZendTo mailing list