Hello, i guess that i am in the last steps of install cacti but i have this problem : All my graphs pictures are broken, and my rra/ directory is empty. I read all the documentation and that is what i get :
1) i configured the crontab : */5 * * * * cactiuser php /root/cacti-0.8.3a/cmd.php > /dev/null 2>&1
2) 'rra/' directory have the right permission
3) when i run : php cmd.php that is what happen
Can't open perl script "/root/cacti-0.8.3a/10.5.113.224/cacti-0.8.3a/auth_login.
php/scripts/linux_memory.pl": No existe el fichero o el directorio
command: perl /root/cacti-0.8.3a/10.5.113.224/cacti-0.8.3a/auth_login.php/script
s/linux_memory.pl MemFree:, output:
Warning: fopen(/root/cacti-0.8.3a/10.5.113.224/cacti-0.8.3a/auth_login.php/log/r
rd.log): failed to open stream: No such file or directory in /root/cacti-0.8.3a/
include/functions.php on line 243
Warning: fclose(): supplied argument is not a valid stream resource in /root/cac
ti-0.8.3a/include/functions.php on line 245
sh: line 1: /usr/etc/RRDtools/bin: is a directory
Can't open perl script "/root/cacti-0.8.3a/10.5.113.224/cacti-0.8.3a/auth_login.
php/scripts/linux_memory.pl": No existe el fichero o el directorio
command: perl /root/cacti-0.8.3a/10.5.113.224/cacti-0.8.3a/auth_login.php/script
s/linux_memory.pl SwapFree:, output:
Warning: fopen(/root/cacti-0.8.3a/10.5.113.224/cacti-0.8.3a/auth_login.php/log/r
rd.log): failed to open stream: No such file or directory in /root/cacti-0.8.3a/
include/functions.php on line 243
and still......
Please if someone can help me i will appreciate !!.
Regards from Argentina
A little of help !!!
Moderators: Developers, Moderators
Yes , what i want to know is where do i need to make the changes in order to point to the correct path.
that is my actuall configuration on settings.php?tab=path
cacti Web Root = /10.5.113.224/cacti-0.8.3a/auth_login.php
Web Server Document Root = /root/cacti-0.8.3a
snmpwalk Binary Path = /usr/bin/snmpwalk
snmpget Binary Path = /usr/bin/snmpget
rrdtool Binary Path = /usr/etc/RRDtools/bin
PHP Binary Path = /usr/local/bin/php
I tried to put the cacti Web Root blank but happened the same.
that is my actuall configuration on settings.php?tab=path
cacti Web Root = /10.5.113.224/cacti-0.8.3a/auth_login.php
Web Server Document Root = /root/cacti-0.8.3a
snmpwalk Binary Path = /usr/bin/snmpwalk
snmpget Binary Path = /usr/bin/snmpget
rrdtool Binary Path = /usr/etc/RRDtools/bin
PHP Binary Path = /usr/local/bin/php
I tried to put the cacti Web Root blank but happened the same.
Steve, we are closer ,
I left the cacti Web Root empty and the Web Server Document Root still like /root/cacti-0.8.3a becuase i put it that way on http.conf in order to put the ip address on the browser and index.php appear.
The problem that i have now is this :
cacti-0.8.3a]# php cmd.php
command: perl /root/cacti-0.8.3a/scripts/linux_memory.pl MemFree:, output: 5128
sh: line 1: /usr/etc/RRDtools/bin: is a directory
command: perl /root/cacti-0.8.3a/scripts/linux_memory.pl SwapFree:, output: 1038380
sh: line 1: /usr/etc/RRDtools/bin: is a directory
MUTLI command: perl /root/cacti-0.8.3a/scripts/loadavg_multi.pl, output: 1min:0.08 5min:0.02 10min:0.01
MULTI expansion: found fieldid: 17, found rrdname: load_1min, value: 0.08
MULTI expansion: found fieldid: 18, found rrdname: load_5min, value: 0.02
MULTI expansion: found fieldid: 19, found rrdname: load_15min, value: 0.01
sh: line 1: /usr/etc/RRDtools/bin: is a directory
command: perl /root/cacti-0.8.3a/scripts/unix_users.pl, output: 2
sh: line 1: /usr/etc/RRDtools/bin: is a directory
command: perl /root/cacti-0.8.3a/scripts/unix_processes.pl, output: 50
sh: line 1: /usr/etc/RRDtools/bin: is a directory
update /root/cacti-0.8.3a/rra/localhost_mem_buffers_3.rrd --template mem_buffers N:5128
sh: line 1: /usr/etc/RRDtools/bin: is a directory
update /root/cacti-0.8.3a/rra/localhost_mem_swap_4.rrd --template mem_swap N:1038380
sh: line 1: /usr/etc/RRDtools/bin: is a directory
update /root/cacti-0.8.3a/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min N:0.08:0.02:0.01
sh: line 1: /usr/etc/RRDtools/bin: is a directory
Looks like rrdtool Binary Path is wrong but i have my RRDtools install here /usr/etc/RRDtools and my binary directory is bin , so is /usr/etc/RRDtools/bin.
Inside that path i have rrdcgi , rrdtool , rrdupdate and trytime files.
I have rrdtool-1.0.45 version
waiting for you man !!!
I left the cacti Web Root empty and the Web Server Document Root still like /root/cacti-0.8.3a becuase i put it that way on http.conf in order to put the ip address on the browser and index.php appear.
The problem that i have now is this :
cacti-0.8.3a]# php cmd.php
command: perl /root/cacti-0.8.3a/scripts/linux_memory.pl MemFree:, output: 5128
sh: line 1: /usr/etc/RRDtools/bin: is a directory
command: perl /root/cacti-0.8.3a/scripts/linux_memory.pl SwapFree:, output: 1038380
sh: line 1: /usr/etc/RRDtools/bin: is a directory
MUTLI command: perl /root/cacti-0.8.3a/scripts/loadavg_multi.pl, output: 1min:0.08 5min:0.02 10min:0.01
MULTI expansion: found fieldid: 17, found rrdname: load_1min, value: 0.08
MULTI expansion: found fieldid: 18, found rrdname: load_5min, value: 0.02
MULTI expansion: found fieldid: 19, found rrdname: load_15min, value: 0.01
sh: line 1: /usr/etc/RRDtools/bin: is a directory
command: perl /root/cacti-0.8.3a/scripts/unix_users.pl, output: 2
sh: line 1: /usr/etc/RRDtools/bin: is a directory
command: perl /root/cacti-0.8.3a/scripts/unix_processes.pl, output: 50
sh: line 1: /usr/etc/RRDtools/bin: is a directory
update /root/cacti-0.8.3a/rra/localhost_mem_buffers_3.rrd --template mem_buffers N:5128
sh: line 1: /usr/etc/RRDtools/bin: is a directory
update /root/cacti-0.8.3a/rra/localhost_mem_swap_4.rrd --template mem_swap N:1038380
sh: line 1: /usr/etc/RRDtools/bin: is a directory
update /root/cacti-0.8.3a/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min N:0.08:0.02:0.01
sh: line 1: /usr/etc/RRDtools/bin: is a directory
Looks like rrdtool Binary Path is wrong but i have my RRDtools install here /usr/etc/RRDtools and my binary directory is bin , so is /usr/etc/RRDtools/bin.
Inside that path i have rrdcgi , rrdtool , rrdupdate and trytime files.
I have rrdtool-1.0.45 version
waiting for you man !!!
Is /usr/etc/RRDtools/bin in your PATH environmental variable?
Type "env | grep RRDtools"
I have to say that /usr/etc/RRDtools/bin is a pretty unorthodox place to keep software IMHO.
Normally, if it comes with the distro, the bin files would be in /usr/bin. Or if you compiled it yourself /usr/local/bin.
Steve
Type "env | grep RRDtools"
I have to say that /usr/etc/RRDtools/bin is a pretty unorthodox place to keep software IMHO.
Normally, if it comes with the distro, the bin files would be in /usr/bin. Or if you compiled it yourself /usr/local/bin.
Steve
Who is online
Users browsing this forum: No registered users and 2 guests