Problem View Cacti Log File (resolved)

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
Alpha_67
Posts: 3
Joined: Fri Nov 09, 2007 6:45 am

Problem View Cacti Log File (resolved)

Post by Alpha_67 »

Hello,


I get this error in the Cacti View Log File:
11/09/2007 02:14:03 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1064', SQL:"replace into host_snmp_cache (host_id,snmp_query_id,field_name,field_value,snmp_index,oid) values ('5','1','ifDescr','Realtek RTL8168/8111 PCI-E Gigabit Ethernet NIC - Miniport d'ordonnancement de paquets','2','.1.3.6.1.2.1.2.2.1.2.2')
11/09/2007 01:36:59 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1064', SQL:"select data_input_fields.type_code, data_input_data.value from (data_input_fields,data_input_data) where data_input_fields.id=data_input_data.data_input_field_id and data_input_data.data_template_data_id= and (data_input_fields.type_code='index_type' or data_input_fields.type_code='index_value' or data_input_fields.type_code='output_type')"
11/09/2007 01:36:59 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'1064', SQL:"select data_template_data.id from (graph_templates_item,data_template_rrd,data_template_data) where graph_templates_item.task_item_id=data_template_rrd.id and data_template_rrd.local_data_id=data_template_data.local_data_id and graph_templates_item.local_graph_id= limit 0,1"
11/09/2007 01:36:59 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'1064', SQL:"select host_id from graph_local where id="
Have you a idea ?
I have windows XP Pro with a server wamp.
I am french, sorry if my English is false.


Cordialy
Last edited by Alpha_67 on Sat Nov 10, 2007 9:23 am, edited 1 time in total.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Alpha_67
Posts: 3
Joined: Fri Nov 09, 2007 6:45 am

Post by Alpha_67 »

I downloaded the patches and they are placed in the directory:
C: \ Inetpub \ wwwroot \ cacti


In the command prompt:

Cd C: \ Inetpub \ wwwroot \ cacti


Then I ran:
Patch-p1-N <graph_create_xml_warning.patch
Patch-p1-N <sec_sql_injection-0.8.7.patch


Here is the error:
Image



edit :
I patched create folder where I put both files and then execute the following screen:
Image


For path, which must be put to the two files please?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Are you running cacti 0.8.7 or 0.8.6? You didn't follow the post I linked to.

Look inside the patch files for what file(s) they actually patch. Then search for where those reside in your cacti folder. Typically all you need to do is download the patch(es) to the root of your cacti folder and then run the patch.

Alternatively, you can navigate to http://www.cacti.net/downloads/patches/ and download the prepatched files and overwrite them in your installation.
Alpha_67
Posts: 3
Joined: Fri Nov 09, 2007 6:45 am

Post by Alpha_67 »

I use 0.8.7 or 0.8.6 (.exe) but any change :(


edit :

I surrender, that do nothing to the English, it is too difficult for me to understand all your terms.
Thanks anyway
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests