View Single Post
  #7  
Old 6th February 2008, 21:44
Chip Chip is offline
Junior Member
 
Join Date: Nov 2007
Posts: 12
Thanks: 3
Thanked 1 Time in 1 Post
Default

Hi,

no output as root, the following as cacti user:

sh-3.1$ php /var/www/cacti/poller.php
ERROR: opening '/var/www/cacti/rra/localhost_mem_free_18.rrd': Permission denied
ERROR: opening '/var/www/cacti/rra/localhost_mem_cache_17.rrd': Permission denied
ERROR: opening '/var/www/cacti/rra/localhost_load_5min_15.rrd': Permission denied
ERROR: opening '/var/www/cacti/rra/localhost_cpu_user_12.rrd': Permission denied
ERROR: opening '/var/www/cacti/rra/localhost_cpu_system_11.rrd': Permission denied
ERROR: opening '/var/www/cacti/rra/localhost_cpu_nice_10.rrd': Permission denied
ERROR: opening '/var/www/cacti/rra/localhost_load_15min_14.rrd': Permission denied
ERROR: opening '/var/www/cacti/rra/localhost_mem_buffers_16.rrd': Permission denied
ERROR: opening '/var/www/cacti/rra/localhost_load_1min_13.rrd': Permission denied
ERROR: opening '/var/www/cacti/rra/localhost_hdd_free_8.rrd': Permission denied
ERROR: opening '/var/www/cacti/rra/localhost_proc_7.rrd': Permission denied
ERROR: opening '/var/www/cacti/rra/localhost_load_1min_5.rrd': Permission denied
ERROR: opening '/var/www/cacti/rra/localhost_mem_swap_4.rrd': Permission denied
ERROR: opening '/var/www/cacti/rra/localhost_mem_buffers_3.rrd': Permission denied
02/06/2008 09:34:20 PM - SYSTEM STATS: Time:1.1170 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:15 RRDsProcessed:14

after changing permissions no errors on both, I'll wait to see the results and report here again


root:
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
02/06/2008 09:42:31 PM - SYSTEM STATS: Time:1.1193 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:15 RRDsProcessed:14
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01

output after changing permissions:

root: no output

cacti: no output
Reply With Quote