CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1194'

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
segruber
Posts: 3
Joined: Fri Jun 24, 2011 12:22 pm

CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1194'

Post by segruber »

Our Cacti Linux server had become unresponsive and as a result our colleague had to reboot the server.

I logged in this am and found that the mysqld and httpd was not set to start on bootup. I've since fixed that but Cacti is not graphing.

The error I get in the Cacti log is :

08/10/2012 09:30:01 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1194', SQL:"UPDATE poller_it_step = rrd_step - 300 WHERE (rrd_next_step < 0 AND host_id >= 0 AND host_id <= 12)'
08/10/2012 09:30:01 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1194', SQL:"UPDATE poller_it_step = rrd_step - 300 WHERE (rrd_next_step < 0 AND host_id >= 13 AND host_id <= 20)'
08/10/2012 09:30:02 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1194', SQL:"UPDATE poller_it_step = rrd_step - 300 WHERE (rrd_next_step < 0 AND host_id >= 21 AND host_id <= 28)'
08/10/2012 09:30:02 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'126', SQL:"UPDATE poller_itestep = rrd_next_step - 300 WHERE (host_id >= 29 AND host_id <= 44)'
08/10/2012 09:30:02 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1194', SQL:"UPDATE poller_it_step = rrd_step - 300 WHERE (rrd_next_step < 0 AND host_id >= 29 AND host_id <= 44)'


Where do I go from here ?

Thanks in advance,
Scott
segruber
Posts: 3
Joined: Fri Jun 24, 2011 12:22 pm

Re: CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1194'

Post by segruber »

I need to add some specifics :

Linux version : RHEL 6.1

mysql version : 5.1.52-1

Cacti version : 0.8.7g

Thanks again,
Scott
segruber
Posts: 3
Joined: Fri Jun 24, 2011 12:22 pm

Re: CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1194'

Post by segruber »

Anyone have any ideas ?

Thanks,
Scott
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1194'

Post by paulgevers »

I am no expert on this at all, but maybe your tables got damaged and you need to get mysql to fix the tables.
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1194'

Post by gandalf »

yep, see repair db script in cli directory, please
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests