Yes, the workaround allows me to access the cacti application. I was wondering if the workaround was at all related to the current showstopper I have. Essentially, the cactiuser does not seem to update or create rrd's or the cacti log. If I su to the cactiuser I can create, modify, and delete files in the /rra & /log directories. But when the crontab for the cacti user runs, devices are polled but rrds are not updated and the cactilog is not updated. If I run the same command as root instead of cactiuser, the rrds get updated and the log is updated. I then su to the cactiuser and I can manually modify and delete these rrds and the cacti.log file. I should also point out that if I create a new device or graphs in the console, the rrds are not created until I run the poller as root. Again, the cactiuser has the necessary permissions to all relevant directories, in fact the cactiuser is the owner of the entire cacti directory structure. Additionally, when using the system utilities to view the cacti log I can't purge. An error is returned. If I then ssh to the server, su to the cactiuser, I can delete the cacti.log file. If I next try to view the log (that I just deleted) via the system utility, it errors out saying that it can't touch cacti.log. Again, when SUd to cactiuser in the cacti/log directory I can touch cacti.log and create the empty file.gandalf wrote:???
You've found the current workaround already. What are you missing now?
Reinhard
I am at a standstill. This is a clean install. The server is running sles 9. I've run cacti 0.8.6 on a sles 9 box in the past without having this problem.
It seems like a rights issue but when I su to cactiuser I have the rights to everything but the rrds and the log are not modified. The crontab (and the poller settings in cacti) are set for 1 minute polling. According to my /var/log/messages file, the polling commands are being exeuted without error. If I run the commands as cactiuser to stdout I don't have errors retrieving data but I see no entries for updating rrds. Time stamps on the rrds and cacti.log indicate cacti is only updating these files when I've run cacti as root.
What am I doing wrong ?
Sorry for the long post. I welcome any suggestions.
Doug