Cacti Graph not even showing the graph table

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
barry1946
Posts: 4
Joined: Sun Sep 08, 2013 6:38 am

Cacti Graph not even showing the graph table

Post by barry1946 »

my graph of cacti is like what is shown in the photo which is attached
I assume it is a permission problem but don't know how to solve it
if anyone has any idea that would be appreciated
Cacti graph.jpg
Cacti graph.jpg (149.62 KiB) Viewed 914 times
barry1946
Posts: 4
Joined: Sun Sep 08, 2013 6:38 am

Re: Cacti Graph not even showing the graph table

Post by barry1946 »

extra info is also needed I suppose
1. I have installed cacti from source with all many plugins in /var/www/htm/cacti
2. I have created a user called cactiuser and has added the following line to /etc/crontab:
*/5 * * * * cactiuser php /var/www/htm/cacti/poller.php > /dev/null 2>&1
the question is that for graph which directories in cacti directory are responsible and what should be their permissions and owners ?
I think it is related to the permissions and owners of:
1.cacti directory
2./var/www/htm/cacti/rra
3./var/www/htm/cacti/log
4./var/www/htm/cacti/poller
some say their owners should be apache and some say cactiuser!
this can be a great help to make this issue more lucid as ever
cigamit
Developer
Posts: 3368
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti Graph not even showing the graph table

Post by cigamit »

The rra directory hold the rrd files. Owner of the rra directory should be the user that will write to them, so in this case it would be user that is running the cron job, so cactiuser

chown -R cactiuser:cactiuser /var/www/htm/cacti/rra
barry1946
Posts: 4
Joined: Sun Sep 08, 2013 6:38 am

Re: Cacti Graph not even showing the graph table

Post by barry1946 »

thanks for giving it time and answering
what about poller.php file & log directory ? which user should be the owner?
cigamit
Developer
Posts: 3368
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti Graph not even showing the graph table

Post by cigamit »

/var/www/htm/cacti/log

this should be cactiuser, unless you want the ability to clear the log via the Web interface, then it needs the apache group.

Leave poller.php alone.
Zamltda
Posts: 2
Joined: Thu Jun 11, 2015 8:50 am

Re: Cacti Graph not even showing the graph table

Post by Zamltda »

HI guys,

Hey, could you resolve the issue? I have that problem, and I happened then appeared to me the upgrade to 0.8.8b.
No longer can more be.

Please help.

Best Regards
Post Reply

Who is online

Users browsing this forum: manel and 1 guest