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.
[root@sbmdedge4 cacti]#
what can i do to solve this problem?
some rrd files no created "ERROR: could not lock RRD&qu
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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 dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
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!!
[root@sbmdedge4 ~]# 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
[root@sbmdedge4 ~]#
[root@sbmdedge4 ~]# 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
[root@sbmdedge4 ~]# php -v
[root@sbmdedge4 ~]# 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
[root@sbmdedge4 ~]#
Yes, I have several cmd.php run at same time, i dont know why!!
this is my php version, crontab configuration and process run!!
[root@sbmdedge4 ~]# 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
[root@sbmdedge4 ~]#
[root@sbmdedge4 ~]# 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
[root@sbmdedge4 ~]# php -v
[root@sbmdedge4 ~]# 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
[root@sbmdedge4 ~]#
Who is online
Users browsing this forum: No registered users and 2 guests