[afnog] Cacti not graphing

Noah Sematimba ksemat at psg.com
Thu Feb 12 13:25:50 UTC 2009


On Feb 12, 2009, at 1:02 PM, Christiana Toluwanimi Olayinka wrote:

> Hi Peter,
>
> I did a fresh install of cacti from the port.
>
> I have confirmed that the cron is working. The error as shown in the  
> mail to root is pasted below:
>
> Subject: Cron <root at yaba> cacti /usr/local/bin/php /usr/local/share/ 
> cacti/poller.php > /dev/null 2>&1
> X-Cron-Env: <SHELL=/bin/sh>
> X-Cron-Env: <HOME=/root>
> X-Cron-Env: <PATH=/usr/bin:/bin>
> X-Cron-Env: <LOGNAME=root>
> X-Cron-Env: <USER=root>
> cacti: not found
> I tried to adduser cacti on the freebsd machine but it complained  
> that the login name cacti exit.

The problem is not with the cacti user. The problem is that cron can't  
find the cacti command. The cron Environment shows your PATH as /usr/ 
bin and /bin. It is most likely that cacti should be in /usr/local/bin  
since you used ports to install it. Please add that to your PATH.

Noah.



More information about the afnog mailing list