PHP Errors in error_log

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

Moderators: Developers, Moderators

Post Reply
lostpckt
Posts: 14
Joined: Wed Sep 12, 2007 1:53 pm

PHP Errors in error_log

Post by lostpckt »

Cacti is working. No errors in the log even if I set the log level to debug.

With that said, when I'm on the main page (<server>/cacti/), login, click 'graphs'), I see where all my graphs SHOULD be, only they're not (see attachment). If I click on them, I get taken to the historical graphs for that RRD and all the data is there.

When I look in /var/log/http/error_log, I am greeted with lots of the following:

Code: Select all

[root@host rra]# tail /var/log/httpd/error_log 
ERROR: I don't understand ':11:34 To 2008/11/01 10:11:34\c' in command: 'COMMENT:From 2008/10/31 10:11:34 To 2008/11/01 10:11:34\c'.
ERROR: I don't understand ':11:34 To 2008/11/01 10:11:34\c' in command: 'COMMENT:From 2008/10/31 10:11:34 To 2008/11/01 10:11:34\c'.
ERROR: I don't understand ':11:34 To 2008/11/01 10:11:34\c' in command: 'COMMENT:From 2008/10/31 10:11:34 To 2008/11/01 10:11:34\c'.
ERROR: I don't understand ':11:34 To 2008/11/01 10:11:34\c' in command: 'COMMENT:From 2008/10/31 10:11:34 To 2008/11/01 10:11:34\c'.
ERROR: I don't understand ':11:34 To 2008/11/01 10:11:34\c' in command: 'COMMENT:From 2008/10/31 10:11:34 To 2008/11/01 10:11:34\c'.
ERROR: I don't understand ':21:14 To 2008/11/01 10:21:14\c' in command: 'COMMENT:From 2008/10/31 10:21:14 To 2008/11/01 10:21:14\c'.
ERROR: I don't understand ':21:14 To 2008/11/01 10:21:14\c' in command: 'COMMENT:From 2008/10/31 10:21:14 To 2008/11/01 10:21:14\c'.
ERROR: I don't understand ':21:14 To 2008/11/01 10:21:14\c' in command: 'COMMENT:From 2008/10/31 10:21:14 To 2008/11/01 10:21:14\c'.
ERROR: I don't understand ':21:14 To 2008/11/01 10:21:14\c' in command: 'COMMENT:From 2008/10/31 10:21:14 To 2008/11/01 10:21:14\c'.
ERROR: I don't understand ':21:14 To 2008/11/01 10:21:14\c' in command: 'COMMENT:From 2008/10/31 10:21:14 To 2008/11/01 10:21:14\c'.
If this is not a cacti problem, then I will extend my apologies and take my leave elsewhere, but I'm not seeing these kinds of issues with any other php apps on this server.

I have installed cacti on 3 other servers in the past (recent past) so I'm familiar with the install process, and this machine is setup the same way as the others (at least as far as I can tell) except for having newer versions of stuff.

Thanks in advance for any help, much appreciated.

[root@host rra]# uname -a
Linux null-routed 2.6.26.6-79.fc9.x86_64 #1 SMP Fri Oct 17 14:20:33 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
About Cacti
Version 0.8.7b
Cacti Variables
Operating System: unix
PHP SNMP Support: yes
Server Version: Apache/2.2.9 (Unix) DAV/2 PHP/5.2.6 mod_ssl/2.2.9 OpenSSL/0.9.8g
Attachments
Picture 7.png
Picture 7.png (96.03 KiB) Viewed 2707 times
lostpckt
Posts: 14
Joined: Wed Sep 12, 2007 1:53 pm

Post by lostpckt »

Found it.

Cacti had defaulted to rrdtool version 1.0.x which wasn't jiving with the 1.3.3 I had installed. Changed this to 1.2.x and graph are now generating perfectly.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This known error will be fixed with 087c
Reinhard
grodno5
Posts: 36
Joined: Fri Feb 18, 2005 12:49 pm
Location: US/PA
Contact:

same problem in 087c

Post by grodno5 »

same problem in 087c
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Make sure the RRDtool version you have installed (that Cacti is using) is the same as Cacti is configured to use.
[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]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest