Well, I feel fairly close to getting this thing going
My basic problem is that I am not getting any files in the rra directory, and my graphs all have the big x.
I checked out the cron job, and I can run it manually from the command line, but I do not receive any errors. But nothing happens either tha I can tell.
I've read 20 or so articles describing similar problems, but none quite match up to this one, that I can see. I don't believe this is a permissions problem, but I've been wrong before.
Here's my setup:
RH 7.3
Permissions for cacti directory:
drwxr-x--x 8 apache root 4096 Jan 12 00:51 .
drwxr-xr-x 9 root root 143360 Jan 11 13:33 ..
-rw-r--r-- 1 apache root 3325 Sep 5 14:20 about.php
-rw-r--r-- 1 apache root 2956 Sep 5 14:20 auth_changepassword.php
-rw-r--r-- 1 apache root 5148 Sep 5 14:20 auth_login.php
-rw-r--r-- 1 apache root 1493 Sep 5 14:20 auth_noauth.php
-rw-r--r-- 1 apache root 49757 Sep 5 21:02 cacti.sql
-rw-r--r-- 1 apache root 7494 Sep 5 14:20 cdef_items.php
-rw-r--r-- 1 apache root 5286 Sep 5 14:20 cdef.php
-rwxr-xr-x 1 apache root 8135 Sep 5 14:20 cmd.php
-rw-r--r-- 1 apache root 3959 Sep 5 14:20 color.php
-rw-r--r-- 1 apache root 2777 Sep 5 14:20 cron.php
-rw-r--r-- 1 apache root 4536 Sep 5 14:20 data_fields.php
-rw-r--r-- 1 apache root 7443 Sep 5 14:20 data.php
drwxr-xr-x 3 apache root 4096 Sep 5 14:44 docs
-rw-r--r-- 1 apache root 4125 Sep 5 20:25 ds_data_config.php
-rw-r--r-- 1 apache root 15826 Sep 5 14:20 ds.php
-rw-r--r-- 1 apache root 3667 Sep 5 14:20 export_header.php
-rw-r--r-- 1 apache root 3114 Sep 5 14:20 export_images.php
-rw-r--r-- 1 apache root 3268 Sep 5 14:20 export_index.php
-rw-r--r-- 1 apache root 2517 Sep 5 14:20 export.php
-rw-r--r-- 1 apache root 2330 Sep 5 14:20 graph_image.php
-rw-r--r-- 1 apache root 3726 Sep 5 14:20 graph.php
-rw-r--r-- 1 apache root 5859 Sep 5 14:20 graph_settings.php
-rw-r--r-- 1 apache root 24555 Sep 5 14:20 graphs_items.php
-rw-r--r-- 1 apache root 9444 Sep 5 14:20 graphs.php
-rw-r--r-- 1 apache root 13597 Sep 5 14:20 graph_view.php
-rw-r--r-- 1 root root 108 Jan 11 15:34 .htaccess
-rw-r--r-- 1 apache root 25 Jan 11 14:55 htpasswd.users
drwxr-xr-x 2 apache root 4096 Sep 5 14:20 images
drwxr-xr-x 2 apache root 4096 Jan 11 15:38 include
-rw-r--r-- 1 apache root 2083 Sep 5 14:20 index.php
-rw-r--r-- 1 apache root 11672 Sep 5 14:20 install.php
-rw-r--r-- 1 apache root 15141 Sep 5 14:20 LICENSE
drwxr-xr-x 2 apache root 4096 Jan 12 00:56 log
-rw-r--r-- 1 apache root 1728 Sep 5 20:06 logout.php
-rw-r--r-- 1 apache root 72 Sep 5 14:20 README
drwxrwxrwx 2 apache root 4096 Jan 12 00:45 rra
-rw-r--r-- 1 apache root 5880 Sep 5 14:20 rra.php
drwxr-xr-x 2 apache root 4096 Sep 5 15:15 scripts
-rw-r--r-- 1 apache root 4923 Sep 5 14:20 settings.php
-rw-r--r-- 1 apache root 7965 Sep 5 14:20 snmp_interfaces.php
-rw-r--r-- 1 apache root 5594 Sep 5 14:20 snmp.php
-rw-r--r-- 1 apache root 8458 Sep 5 14:20 tree_items.php
-rw-r--r-- 1 apache root 4642 Sep 5 14:20 tree.php
-rw-r--r-- 1 apache root 5615 Sep 5 14:20 user_admin_graphs.php
-rw-r--r-- 1 apache root 4572 Sep 5 14:20 user_admin_ip.php
-rw-r--r-- 1 apache root 3341 Sep 5 14:20 user_admin_permissions.php
-rw-r--r-- 1 apache root 7661 Sep 5 14:20 user_admin.php
Crontab:
*/5 * * * * apache php /var/www/sites/cacti/cmd.php > /dev/null 2>&1
Any help would be appreciated. It's taken about 6 hours just to get to this point, so I'm hoping to get this going before I go insane
Thanks for helping.
No RRD files, no graphs, nothing in the rra directory.
Moderators: Developers, Moderators
Re: No RRD files, no graphs, nothing in the rra directory.
Forgive me for a stupid question, but when you run the cronjob manually, you're not including the "> /dev/null 2>&1", are you? If so, you'll never get any output at all. Run "php /var/www/sites/cacti/php.cmd".jdoak wrote:I checked out the cron job, and I can run it manually from the command line, but I do not receive any errors. But nothing happens either tha I can tell.
Now that we've got that out of the way.
Is there anything showing up in your log/rrd.log file?
This could also be a problem. Are you running net-snmp or ucd-snmp? iirc, 7.3 comes with net-snmp, which doesn't seem to work with cacti without a patch. There's a thread about that somewhere.Here's my setup:
RH 7.3
Your permissions seem right. (Well, actually, they're way too permissive, and you'll want to tighten them down once you get things working).
I'm still a newbie to this program, myself, so that's about the limit of my abilities.
Who is online
Users browsing this forum: No registered users and 1 guest