Hi, i have a fresh installation
Debian Etch 4.1
cacti-0.8.6j
apache 2
mysql 5.0.32
php5
The system make good graphics from localhost, loged users, hdd, swap status etc, the poller is working fine.
Create a new device called cable with the ip X with template generic snmp enable host and create good the graphics in /var/www/graficas/rra but with root privileges for all, i change this folder to apache privileges and graphics are working ok.
When try to create new devices or graphics appear this error in debug mode
RRD Says /var/www/graficas/rra/nameofthedevice.rra
No such file or directory
I cant create new graphics.
But the 2 graphics, cable and localhost are working fine.
The cron is working ok.
*/5 * * * * php /var/www/graficas/poller.php > /dev/null 2>&1
The database is called graficas in include/config.php have user
root and password xxxxx
The apache privileges for all are
chown -R www-data:www-data /var/www/graficas/
Why the system create fine the 2 first graphics and can't create new graphics now??? and the setting are the same???
Any ideas to fix my problem??
Thax for all.
Problem with cacti and debian etch
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Problem with cacti and debian etch
How did you check that crond is working? Does ./log/cacti.log contain entries? Which user runs this crontab? This user must have write access to the ./rra folder!m4ster wrote:.../var/www/graficas/rra but with root privileges for all, i change this folder to apache privileges and graphics are working ok.
...
The cron is working ok.
*/5 * * * * php /var/www/graficas/poller.php > /dev/null 2>&1
...
Reinhard
Problem Solved
Thanx Gandalf, i create a user cacti and chown -R cacti log/ rra/
and su cacti , run php poller.php with this user and not appear errors, in log/cacti.log, and create here the cron , and work fine.
Thanx all
and su cacti , run php poller.php with this user and not appear errors, in log/cacti.log, and create here the cron , and work fine.
Thanx all
Who is online
Users browsing this forum: No registered users and 0 guests