rrdtool not found - no graph see in CACTI - workaround

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

Moderators: Developers, Moderators

Post Reply
glemble
Posts: 3
Joined: Wed Mar 09, 2005 7:49 am

rrdtool not found - no graph see in CACTI - workaround

Post by glemble »

Helllo,

i have install CACTI on a debian 3.0, with apache2 - mysql 4.1 - php 4.3.10.
Everything is configure quite good.

Crontab for create .rra file is ok. Web site is ok. But no graph in graph section can be see.
After read a lot of linux log, in errors.log from apache i can see that:
sh: line 1: /rrdtool: No such file or directory
sh: line 1: /rrdtool: No such file or directory

So i run to Settings menu for see if all my path settings are good and every thing is good.

So for a workaround , i have just make a soft link from /usr/bin/rrdtool to /rrdtool .
This workaround work fine for me.

But i dont like this workaround. I check Mysql about settings and everything is good:
path_rrdtool /usr/bin/rrdtool

So there is a bug somewhere , or something like that ?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Web server in a root jail?

Also, you can alter the paths in the Console -> Configuration -> Settings -> Paths.
[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]
glemble
Posts: 3
Joined: Wed Mar 09, 2005 7:49 am

Post by glemble »

Hello,

My Path settings is good in cacti:
RRDTool Binary Path
The path to the rrdtool binary. /usr/bin/rrdtool


What do you mean about apache in root jail ?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

I haven't explored doing this, but I'm pretty sure Debian 3.0 sid does this by default.

It's there the a process/deamon is restricted to a certain set of directories as a security percaution. Example "/usr/local/apache", would be the root of the web server install, but to the web server, it would appear as the root of it accessable file system, "/".

How it's configured, and how it works, I do not know, I have yet to explore it. But I sure others here will have insite into this.
[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]
glemble
Posts: 3
Joined: Wed Mar 09, 2005 7:49 am

Post by glemble »

On debian 3.0 there is this in default install:

<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>

There is something to do with this RRDTOOL path issue ?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

No :)
[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 0 guests