Hello,
I'm getting the following error in my Cacti Log File every couple of minutes:
CMDPHP: Poller[0] ERROR: SQL Exec Failed "delete from poller_command where poller_id=0"
Does anyone have any suggestions on how to fix this problem?
CMDPHP: Poller[0] ERROR: SQL Exec Failed (SOLVED)
Moderators: Developers, Moderators
CMDPHP: Poller[0] ERROR: SQL Exec Failed (SOLVED)
Last edited by bwood on Wed Aug 01, 2007 4:33 pm, edited 1 time in total.
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Sounds like a hosed database:
TheWitness
Code: Select all
mysql cacti
> repair table poller_output;
> quit
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?
Thank you for your help, I ran your suggestion through mysql and got the following results:
However, I am still receiving the error message in the cacti log. It seems arbitrary, but the fact that it's a big red ERROR bothers me. If anyone has any other suggestions on how to resolve it and make Cacti happy please let me know.
Code: Select all
mysql> repair table poller_output;
+---------------------+--------+----------+----------------------------------------+
| Table | Op | Msg_type | Msg_text |
+---------------------+--------+----------+----------------------------------------+
| cacti.poller_output | repair | warning | Number of rows changed from 815 to 813 |
| cacti.poller_output | repair | status | OK |
+---------------------+--------+----------+----------------------------------------+
2 rows in set (0.25 sec)
mysql> quit;
Bye
Code: Select all
07/31/2007 08:56:35 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "delete from poller_command where poller_id=0"
07/31/2007 08:55:28 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "delete from poller_command where poller_id=0"
07/31/2007 08:54:32 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "delete from poller_command where poller_id=0"
07/31/2007 08:53:27 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "delete from poller_command where poller_id=0"
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Oops: repair table poller_command; my bad...
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?
Here are the results of running the repair on the poller_command table:
Thank you for your help, the errors are no longer appearing in my cacti log.
Code: Select all
mysql> repair table poller_command;
+----------------------+--------+----------+--------------------------------------------+
| Table | Op | Msg_type | Msg_text |
+----------------------+--------+----------+--------------------------------------------+
| cacti.poller_command | repair | info | Wrong bytesec: 0- 0- 0 at 400; Skipped |
| cacti.poller_command | repair | warning | Number of rows changed from 5 to 4 |
| cacti.poller_command | repair | status | OK |
+----------------------+--------+----------+--------------------------------------------+
3 rows in set (0.03 sec)
mysql> quit;
Bye
Who is online
Users browsing this forum: No registered users and 4 guests