ERROR: SQL Exec Failed
Moderators: Developers, Moderators
ERROR: SQL Exec Failed
does anyone can tell me why i'm getting this errors?
thanks in advance.
CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id,rrd_name,time,output) values (758,'traffic_in','2006-07-14 12:15:24','3436189013')"
and
CMDPHP: Poller[0] Host[137] DS[1088] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
thanks in advance.
CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id,rrd_name,time,output) values (758,'traffic_in','2006-07-14 12:15:24','3436189013')"
and
CMDPHP: Poller[0] Host[137] DS[1088] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
another error
CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select snmp_query_graph_rrd.snmp_field_name, data_template_rrd.id as data_template_rrd_id from (snmp_query_graph_rrd,data_template_rrd) where snmp_query_graph_rrd.data_template_rrd_id=data_template_rrd.local_data_template_rrd_id and snmp_query_graph_rrd.snmp_query_graph_id= and snmp_query_graph_rrd.data_template_id=78 and data_template_rrd.local_data_id=352"
SQL Exec Failed
I see this post is rather old, but I am having the same problem and I have not found any solutions yet. Are there any??
-Grant
-Grant
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You need to apply the Cacti patches.
TheWitness
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?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Moved to General
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
patches
i wish you can specify which patches i need to apply to fix this problem.
I already applied many of them, so if you can be more specific it will help a lot.
thanks in advance
I already applied many of them, so if you can be more specific it will help a lot.
thanks in advance
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
This is a database issue spawned by the movement of ADODB by some distributions. When did you last update your RPM?
TheWitness
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?
which RPM
which rpm? DB? cacti? php?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
more errors
before i applied patches, my mactrack was working fine, after patches, i'm getting even more errors
07/19/2006 01:43:08 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "SELECT site_name, description, hostname, mac_address, ip_address, dns_hostname, port_number, port_name, vlan_id, vlan_name, MAX(scan_date) as max_scan_date FROM mac_track_ports LEFT JOIN mac_track_sites ON (mac_track_ports.site_id = mac_track_sites.site_id) WHERE mac_track_ports.device_id= 2 GROUP BY device_id, mac_address, port_number, ip_address ORDER BY mac_track_ports.hostname, mac_track_ports.port_number, mac_track_ports.ip_address LIMIT 0,30"
07/19/2006 01:43:08 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "SELECT COUNT(DISTINCT device_id, mac_address, port_number, ip_address) FROM mac_track_ports WHERE mac_track_ports.device_id= 2"
07/19/2006 01:43:25 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "SELECT site_name, description, hostname, mac_address, ip_address, dns_hostname, port_number, port_name, vlan_id, vlan_name, scan_date FROM mac_track_ports LEFT JOIN mac_track_sites ON (mac_track_ports.site_id = mac_track_sites.site_id) WHERE mac_track_ports.device_id= 2 ORDER BY mac_track_ports.hostname, mac_track_ports.port_number, mac_track_ports.ip_address LIMIT 0,30"
07/19/2006 01:43:25 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "SELECT COUNT(mac_track_ports.device_id) FROM mac_track_ports WHERE mac_track_ports.device_id= 2"
07/19/2006 01:43:08 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "SELECT site_name, description, hostname, mac_address, ip_address, dns_hostname, port_number, port_name, vlan_id, vlan_name, MAX(scan_date) as max_scan_date FROM mac_track_ports LEFT JOIN mac_track_sites ON (mac_track_ports.site_id = mac_track_sites.site_id) WHERE mac_track_ports.device_id= 2 GROUP BY device_id, mac_address, port_number, ip_address ORDER BY mac_track_ports.hostname, mac_track_ports.port_number, mac_track_ports.ip_address LIMIT 0,30"
07/19/2006 01:43:08 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "SELECT COUNT(DISTINCT device_id, mac_address, port_number, ip_address) FROM mac_track_ports WHERE mac_track_ports.device_id= 2"
07/19/2006 01:43:25 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "SELECT site_name, description, hostname, mac_address, ip_address, dns_hostname, port_number, port_name, vlan_id, vlan_name, scan_date FROM mac_track_ports LEFT JOIN mac_track_sites ON (mac_track_ports.site_id = mac_track_sites.site_id) WHERE mac_track_ports.device_id= 2 ORDER BY mac_track_ports.hostname, mac_track_ports.port_number, mac_track_ports.ip_address LIMIT 0,30"
07/19/2006 01:43:25 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "SELECT COUNT(mac_track_ports.device_id) FROM mac_track_ports WHERE mac_track_ports.device_id= 2"
Right, because the plugin architecture is an unofficial addon, which the patches broke. Re-apply the plugin architecture patch.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
thanks for advise
would you please point me to that plugin architecture patch.
thanks in advance
thanks in advance
The same method you previously got the plugin architecture installed... http://cactiusers.org/
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Goto MacTrack Devices and edit a device, replace the device_id in the address bar by "2" to edit that Device. Is it found? Please provide feedback.
TheWitness
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?
Who is online
Users browsing this forum: No registered users and 0 guests