[SOLVED] New install cacti-0.8.7a weird probs

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

Moderators: Developers, Moderators

Post Reply
visrailevich
Posts: 2
Joined: Thu Dec 13, 2007 1:01 pm

[SOLVED] New install cacti-0.8.7a weird probs

Post by visrailevich »

This one is very weird.
Installed a new cacti from tarball. Also installed net-snmp 5.4.1 and rrdtools:
perl-rrdtool-1.2.23-1.el5.rf
rrdtool-1.2.23-1.el5.rf
When cacti checked the paths to the binaries such as rrdtools, snmpget etc, it could not find any. Doing which $binname results in correct path.
Cacti runs but poller.php hangs.
Apache logs the following error:
sh: /rrdtool: No such file or directory
Going into view_tech on cacti produces:
ERROR: Installed RRDTool version does not match configured version.
Please visit the Configuration Settings and select the correct RRDTool Utility Version.
Selection of etiher 1.0.x or 1.2.x resuls in the same error.
There's no data in rra/ directory.
Both SNMP and poller cache have data when viewed from withing Cacti.
Rebuild poller cache does not produce any errors, but nothing gets written to rra/
After install, entire cacti/ has been chowned to cacti user.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: New install cacti-0.8.7a weird probs

Post by gandalf »

visrailevich wrote:Doing which $binname results in correct path.
Please provide /full/path/to/rrdtool at Settings -> Paths
Reinhard
visrailevich
Posts: 2
Joined: Thu Dec 13, 2007 1:01 pm

Gave up

Post by visrailevich »

Hi, Gandalf.
I gave up on that server and installed cacti on another box. The problems may have been multi-fold.
1 - I was using a built-from source RPM of net-snmp 5.4.1. Standard CentOS is 5.3.1. I needed .4 to prevent clients from logging snmp access messages. But server-side 5.4 was missing several core mibs. I installed 5.3.1 and all is well.
2 - The rrdtool was also built from source rpm as once again CentOS did not have it. Going to a server that had pre-cmpiled .re5. rpms installed - the problem went away.
3 - I am still having problems running cron when cacti user does not have a shell in /etc/passwd. Cron, even when called by root does not want to run as cacti. Making cacti user able to login solved that problem.

Anyway, thanks for the help.
Regards,
-V
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest