ERROR SAVE FAILED..

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

Moderators: Developers, Moderators

Post Reply
ruben23
Posts: 14
Joined: Thu Jul 30, 2009 2:49 pm
Location: Philippines Davao City
Contact:

ERROR SAVE FAILED..

Post by ruben23 »

Hi i have cacti installed on my centos dstro,

Now i tried to delete existing daevice being monitored by cacti and re add it again now im getting ERROR SAVE FAILED...

during i save the device which i cant add the device..,

how do i cehck its error log and what might be causing the problem..please any idea and help would be appreciated...
:(
ruben23
Posts: 14
Joined: Thu Jul 30, 2009 2:49 pm
Location: Philippines Davao City
Contact:

Post by ruben23 »

hi i got this error logs on my cacti---any ideas on this


08/14/2009 11:06:45 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"select poller_id,end_time from poller_time where poller_id=0"
08/14/2009 11:06:44 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000"
08/14/2009 11:06:44 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"select poller_id,end_time from poller_time where poller_id=0"
08/14/2009 11:06:43 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000"
08/14/2009 11:06:43 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"select poller_id,end_time from poller_time where poller_id=0"
08/14/2009 11:06:42 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000"
08/14/2009 11:06:42 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"select poller_id,end_time from poller_time where poller_id=0"
08/14/2009 11:06:41 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000"
08/14/2009 11:06:41 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"select poller_id,end_time from poller_time where poller_id=0"
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This is which version of cacti?
Reinhard
jaradricc
Posts: 7
Joined: Tue Sep 22, 2009 9:17 am

Problem Solved

Post by jaradricc »

Hi,

i had the same problem,

i was trying to solve it with diferent methods, even reinstalling all.

My environment is a CentOS machine 5.3, cacti 0.8.7e and spine 0.8.7e. Both have all the released patches (except the patch that aply to windows server with IIS because I have a Linux).

The problem is with spine, I'm still working to know why with spine the rrd files aren't been created, but changing the poller to cmd.php is working.
jaradricc
Posts: 7
Joined: Tue Sep 22, 2009 9:17 am

Problem Solved (again)

Post by jaradricc »

The problem with spine was compiling it!!!


I entered to spine source folder and apply the make uninstall and make clean commands, and restarted the compile process (./configure --prefix=.... make make install)

and don't forget reconfigure de spine.conf file with your database configs and change the poller to spine in cacti settings (web interface).

that's all.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest