Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Oct 18, 2017 5:53 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: some rrd files no created "ERROR: could not lock RRD&qu
PostPosted: Fri Jul 22, 2005 11:31 am 
Offline

Joined: Tue Jun 21, 2005 4:59 pm
Posts: 19
I get some ERRORS messages when execute (php poller.php) and some .rrd files no created.

Waiting on 1/1 pollers.
OK u:0.22 s:0.32 r:271.94
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
ERROR: could not lock RRD
OK u:0.22 s:0.33 r:273.99
ERROR: illegal attempt to update using time 1122048066 when last update time is 1122048066 (minimum one second step)
OK u:0.22 s:0.33 r:273.99
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.22 s:0.33 r:273.99
ERROR: illegal attempt to update using time 1122048066 when last update time is 1122048066 (minimum one second step)
OK u:0.22 s:0.33 r:273.99
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.22 s:0.33 r:273.99
Waiting on 1/1 pollers.
OK u:0.22 s:0.33 r:275.02
OK u:0.22 s:0.33 r:275.02
OK u:0.22 s:0.33 r:275.02
OK u:0.22 s:0.33 r:275.02
Waiting on 1/1 pollers.
OK u:0.22 s:0.33 r:276.05
OK u:0.22 s:0.33 r:276.05
OK u:0.22 s:0.33 r:276.05
OK u:0.22 s:0.33 r:276.05
OK u:0.22 s:0.33 r:276.05
Waiting on 1/1 pollers.
ERROR: could not lock RRD
OK u:0.22 s:0.33 r:277.08
OK u:0.22 s:0.33 r:277.08
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.22 s:0.33 r:277.08
ERROR: illegal attempt to update using time 1122048066 when last update time is 1122048066 (minimum one second step)
OK u:0.22 s:0.33 r:277.08
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.22 s:0.33 r:277.08
Waiting on 1/1 pollers.
ERROR: illegal attempt to update using time 1122048066 when last update time is 1122048066 (minimum one second step)
OK u:0.22 s:0.33 r:278.11
OK u:0.22 s:0.33 r:278.11
OK u:0.22 s:0.33 r:278.11
OK u:0.22 s:0.33 r:278.11
Waiting on 1/1 pollers.
OK u:0.23 s:0.33 r:279.14
OK u:0.23 s:0.33 r:279.14
OK u:0.23 s:0.33 r:279.14
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.23 s:0.33 r:279.14
ERROR: illegal attempt to update using time 1122048066 when last update time is 1122048066 (minimum one second step)
OK u:0.23 s:0.33 r:279.14
Waiting on 1/1 pollers.
OK u:0.23 s:0.33 r:280.16
OK u:0.23 s:0.33 r:280.16
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.23 s:0.33 r:280.16
Waiting on 1/1 pollers.
ERROR: could not lock RRD
OK u:0.23 s:0.33 r:281.18
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.23 s:0.33 r:281.18
Waiting on 1/1 pollers.
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.23 s:0.33 r:282.20
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.23 s:0.33 r:282.21
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.23 s:0.33 r:282.21
ERROR: illegal attempt to update using time 1122048066 when last update time is 1122048066 (minimum one second step)
OK u:0.23 s:0.34 r:282.21
Waiting on 1/1 pollers.
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.23 s:0.34 r:283.23

ERROR: illegal attempt to update using time 1122048066 when last update time is 1122048066 (minimum one second step)
OK u:0.23 s:0.34 r:283.23
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.23 s:0.34 r:283.23
Waiting on 1/1 pollers.
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.23 s:0.34 r:284.25
Waiting on 1/1 pollers.
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.23 s:0.34 r:285.27
ERROR: illegal attempt to update using time 1122048066 when last update time is 1122048066 (minimum one second step)
OK u:0.23 s:0.34 r:285.28
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.23 s:0.34 r:285.28
Waiting on 1/1 pollers.
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.23 s:0.34 r:286.30
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.23 s:0.34 r:286.30
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.23 s:0.34 r:286.30
Waiting on 1/1 pollers.
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.23 s:0.34 r:287.32
ERROR: illegal attempt to update using time 1122048066 when last update time is 1122048066 (minimum one second step)
OK u:0.23 s:0.34 r:287.32
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.23 s:0.34 r:287.32
Waiting on 1/1 pollers.
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.23 s:0.34 r:288.34
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.23 s:0.34 r:288.34
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.23 s:0.34 r:288.34
Waiting on 1/1 pollers.
OK u:0.23 s:0.34 r:289.37
OK u:0.23 s:0.34 r:289.37
OK u:0.24 s:0.34 r:289.37
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.24 s:0.34 r:289.38
Waiting on 1/1 pollers.
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.24 s:0.34 r:290.40
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.24 s:0.34 r:290.40
Waiting on 1/1 pollers.
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.24 s:0.34 r:291.42
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.24 s:0.34 r:291.42
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.24 s:0.34 r:291.42
Waiting on 1/1 pollers.
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.24 s:0.34 r:292.45
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.24 s:0.34 r:292.45
ERROR: illegal attempt to update using time 1122048066 when last update time is 1122048066 (minimum one second step)
OK u:0.24 s:0.34 r:292.45
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.24 s:0.34 r:292.45
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.2.1.2.2.1.10.11

Waiting on 1/1 pollers.
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.24 s:0.34 r:293.47
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.24 s:0.34 r:293.47
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: .1.3.6.1.2.1.2.2.1.16.11

Waiting on 1/1 pollers.
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.24 s:0.34 r:294.49
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.24 s:0.34 r:294.49
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.24 s:0.34 r:294.49
ERROR: illegal attempt to update using time 1122048066 when last update time is 1122048066 (minimum one second step)
OK u:0.24 s:0.34 r:294.49
Waiting on 1/1 pollers.
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.24 s:0.34 r:295.51
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.24 s:0.34 r:295.51
Waiting on 1/1 pollers.
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.24 s:0.34 r:296.53
ERROR: illegal attempt to update using time 1122048066 when last update time is 1122048066 (minimum one second step)
OK u:0.24 s:0.34 r:296.53
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.24 s:0.34 r:296.53
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.24 s:0.35 r:296.53
Waiting on 1/1 pollers.
OK u:0.24 s:0.35 r:297.56
OK u:0.24 s:0.35 r:297.56
ERROR: illegal attempt to update using time 1122048302 when last update time is 1122048302 (minimum one second step)
OK u:0.24 s:0.35 r:297.56
07/22/2005 11:06:03 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
[[email protected] cacti]#

what can i do to solve this problem?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 22, 2005 11:39 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14863
Location: MI, USA
One of two things:

1) You have multiple Cron Jobs running Cacti (either poller.php or cmd.php)
2) You have PHP 5.1 or 4.4 installed. I know for a fact that PHP 5.1 causes this issue. I have not tested 4.4.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 22, 2005 2:04 pm 
Offline

Joined: Tue Jun 21, 2005 4:59 pm
Posts: 19
Hi! TheWitness thanks for your answer!

Yes, I have several cmd.php run at same time, i dont know why!!

this is my php version, crontab configuration and process run!!

[[email protected] ~]# ps -fea | grep cmd.php | more
501 5052 1 0 12:30 ? 00:00:09 /usr/bin/php -q /var/www/html/cacti/cmd.php 0 41
501 6289 1 0 12:35 ? 00:00:09 /usr/bin/php -q /var/www/html/cacti/cmd.php 0 41
501 7526 1 0 12:40 ? 00:00:09 /usr/bin/php -q /var/www/html/cacti/cmd.php 0 41
501 8763 1 0 12:45 ? 00:00:09 /usr/bin/php -q /var/www/html/cacti/cmd.php 0 41
501 10017 1 0 12:50 ? 00:00:09 /usr/bin/php -q /var/www/html/cacti/cmd.php 0 41
501 11271 1 0 12:55 ? 00:00:09 /usr/bin/php -q /var/www/html/cacti/cmd.php 0 41
501 12525 1 0 13:00 ? 00:00:09 /usr/bin/php -q /var/www/html/cacti/cmd.php 0 41
501 13781 1 0 13:05 ? 00:00:09 /usr/bin/php -q /var/www/html/cacti/cmd.php 0 41
501 15035 1 0 13:10 ? 00:00:09 /usr/bin/php -q /var/www/html/cacti/cmd.php 0 41
501 16301 1 0 13:15 ? 00:00:09 /usr/bin/php -q /var/www/html/cacti/cmd.php 0 41
501 19073 1 0 13:20 ? 00:00:10 /usr/bin/php -q /var/www/html/cacti/cmd.php 0 41
501 21805 1 1 13:25 ? 00:00:09 /usr/bin/php -q /var/www/html/cacti/cmd.php 0 41
501 23079 1 2 13:30 ? 00:00:09 /usr/bin/php -q /var/www/html/cacti/cmd.php 0 41
501 24350 1 4 13:35 ? 00:00:07 /usr/bin/php -q /var/www/html/cacti/cmd.php 0 41
root 25385 24861 0 13:37 pts/1 00:00:00 grep cmd.php
root 26411 24861 0 13:41 pts/1 00:00:00 grep poller.php
[[email protected] ~]#

[[email protected] ~]# php -v
PHP 5.0.4 (cgi) (built: Jul 19 2005 16:05:14)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies
[[email protected] ~]# php -v

[[email protected] ~]# more /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
*/5 * * * * cactiuser php /var/www/html/cacti/poller.php >/dev/null 2>&1 && php
/var/www/html/cacti/thold/check-thold.php > /dev/null 2>&1
[[email protected] ~]#


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group