No graphs only broken link image

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

Moderators: Developers, Moderators

Post Reply
Guest

No graphs only broken link image

Post by Guest »

hi
I have installed the newest Cacti on a suse9 System,but i see no graphs.
If i press the Graph tab, Apache say:
sh: line 1: /srv/www/htdocs/empty/rrdtool: No such file or directory

What is cacti doing in this Folder,its installed in :
/srv/www/htdocs/web3/cacti
Is he searching the rrdtool? Thats installed in usr/bin ,in the cacti settings:
I wrote usr/bin/rrdtool thats correct? If i write usr/bin (without rrdtool) in
the cactisettings then apache say :
sh: line 1: /srv/www/htdocs/empty/: is a directory ??

If i Turn on Graph Debug Mode, i see a broken Image link and on right
side on this the words: RRDTool Says: .Not more only this two
Words.

Other dings seems to be correct,there is a log file in /log and there are
rrd files in cacti/rra (updated every 5 min) Crontab is from web3,
owner of all files in /Cacti is web3.
maenu
Cacti User
Posts: 57
Joined: Thu Jul 17, 2003 8:55 am
Location: Switzerland

Post by maenu »

looks like your cacti doesn't find your rrdtool...

change the rrdtool-path to /usr/bin/rrdtool

=> the leading slash is important..

regards, mänu
To know recursion, you must first know recursion.
Guest

Post by Guest »

Sorry forget the / in my first post
the phaths are
/usr/bin/snmpwalk
/usr/bin/snmpget
/usr/bin/rrdtool
/usr/bin/php
thats correct!?
but don't work
Guest

Post by Guest »

Anonymous wrote:Sorry forget the / in my first post
the phaths are
/usr/bin/snmpwalk
/usr/bin/snmpget
/usr/bin/rrdtool
/usr/bin/php
thats correct!?
but don't work
Guest

Post by Guest »

I have "played" with the path settings.
If the Path is /usr/bin/rrdtool Apache say:
sh: line 1: /srv/www/htdocs/empty/rrdtool: No such file or directory

if the Path is "/usr/bin/rrdtool" (Yes only the " are diff.) apache say:

sh: line 1: /srv/www/htdocs/empty/rrdtool graph - --imgformat=PNG --start=-86400 --end=-300 --title=Localhost: No such file or directory

...and ever the same question :what to hell will Cacti do in Empty?
This folder is not part of web3.!?
Guest

Post by Guest »

So, now i have used a tiny trick

Loged in with putty, go to this strange empty folder and linked it to rrdtool
with:
ln -s /usr/bin/rrdtool rrdtool

And Tataaa ,it's works

But why is this .... whats wrong with my config :(
maenu
Cacti User
Posts: 57
Joined: Thu Jul 17, 2003 8:55 am
Location: Switzerland

Post by maenu »

use the command "whereis" to find out where the binary of rrdtool is located..

baboo@zeus baboo $ whereis rrdtool
rrdtool: /usr/bin/rrdtool

=> the symlink also works, but is not really elegant..

regards, mänu
To know recursion, you must first know recursion.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests