Centos 4.4 fix for some graph problems

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

Moderators: Developers, Moderators

Post Reply
bbach
Posts: 10
Joined: Thu May 24, 2007 10:54 pm

Centos 4.4 fix for some graph problems

Post by bbach »

I was having problems with graphs on a Centos 4.4 based server with cacti installed with "yum install cacti" until I enabled the CentosPlus repositories and did a "yum update". This updated several applications, the most significant probably was php from a 4.x flavor to a 5.x flavor. Hopefully this will help someone else. -- Bud
cdebella
Posts: 2
Joined: Mon Jun 04, 2007 9:23 am

Post by cdebella »

I am having an odd issue myself on CentOS as well. I can invoke the poller script from the command line and the graphs will draw, however if I run it via cron (as either root or my user) nothing draws. I crossed my fingers and used Yum to update both PHP and MySql but that didn't solve it for me. :(

Any thoughts? I have looked at the permissions for everything and they all look fine.

Thanks in advance!
bbach
Posts: 10
Joined: Thu May 24, 2007 10:54 pm

Post by bbach »

Did you turn up debugging? Any clues in the log? If it runs as root, it would seem that it is some sort of permissions problem. Did you try "su" to whatever user your are running as in cron and running poller with debugging?

Just some ideas. I certainly don't have it figured out...

-- Bud
cdebella
Posts: 2
Joined: Mon Jun 04, 2007 9:23 am

Post by cdebella »

Turned up debugging and let cron invoke the script as my user again. Cron is showing in its log that the command is running, however, once again nothing happened until I invoked the poller script manually from the shell. Then the debug messages showed up in the log file and on the web page.

Weird...this one has me stumped. I would understand a permissions thing if the user account was unable to invoke the script from the shell but it can.

:-?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests