no graph is shown
Moderators: Developers, Moderators
-
- Posts: 19
- Joined: Thu Jan 20, 2005 12:25 pm
-
- Posts: 19
- Joined: Thu Jan 20, 2005 12:25 pm
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Please post the output.
Also, double check the permissions. Sorry, I know I'm repeating myself.
Also, double check the permissions. Sorry, I know I'm repeating myself.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
What do you have the shell set to for cactiuser?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
-
- Posts: 19
- Joined: Thu Jan 20, 2005 12:25 pm
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Ok, I'm stumped....
I see nothing wrong with your cron entry, other than not specifying the full path. Which you said you have tested. Even if the shell is set to /bin/false cron will still execute entries in the /etc/crontab for that user, because it has a shell set.
So, I'm at a loss.
The only things I can say is make sure you are using the full path to php and make sure that your permissions on the logs and rra directory are correct.
Other than that, it's has to be an issue with cron, I would focus there.
I see nothing wrong with your cron entry, other than not specifying the full path. Which you said you have tested. Even if the shell is set to /bin/false cron will still execute entries in the /etc/crontab for that user, because it has a shell set.
So, I'm at a loss.
The only things I can say is make sure you are using the full path to php and make sure that your permissions on the logs and rra directory are correct.
Other than that, it's has to be an issue with cron, I would focus there.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
-
- Posts: 19
- Joined: Thu Jan 20, 2005 12:25 pm
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Again, if root can update them, it's a permission issue. The cactiuser has to be able to update the files in the rra and log directory. Typically, you set the owner of the directory and files in the directory to cactiuser.
Run the following in your cacti installation directory.
I know of many users using FC2 and not having problems. So, no I don't think so, the fact that is runs as root is an indication that it is working. Again, it think its a permission issue or a cron issue.
The fact that you don't see any entry in the cron log that poller is being executing is perplexing me.
Run the following in your cacti installation directory.
Code: Select all
chown -R cactiuser log rra
I know of many users using FC2 and not having problems. So, no I don't think so, the fact that is runs as root is an indication that it is working. Again, it think its a permission issue or a cron issue.
The fact that you don't see any entry in the cron log that poller is being executing is perplexing me.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
-
- Posts: 19
- Joined: Thu Jan 20, 2005 12:25 pm
[root@teste cacti]# ls -al | grep rra
drwxrwxrwx 2 cactiuser users 4096 Jan 21 14:39 rra
-rw-r--r-- 1 root users 6068 Dec 19 22:01 rra.php
[root@teste cacti]# ls -al | grep log
-rw-r--r-- 1 root users 6133 Dec 19 22:01 auth_login.php
drwxrwxrwx 2 cactiuser users 4096 Jan 21 17:11 log
-rw-r--r-- 1 root users 1796 Dec 19 22:01 logout.php
I've even tried to run the cron job as root, with same result....I'm stuck too. it's must be a stupid thing that I'm missing
drwxrwxrwx 2 cactiuser users 4096 Jan 21 14:39 rra
-rw-r--r-- 1 root users 6068 Dec 19 22:01 rra.php
[root@teste cacti]# ls -al | grep log
-rw-r--r-- 1 root users 6133 Dec 19 22:01 auth_login.php
drwxrwxrwx 2 cactiuser users 4096 Jan 21 17:11 log
-rw-r--r-- 1 root users 1796 Dec 19 22:01 logout.php
I've even tried to run the cron job as root, with same result....I'm stuck too. it's must be a stupid thing that I'm missing
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Sorry if you covered this, did you install cacti from the source, or from a package?
Because from the source, your will have a log and rra directory in the root of the cacti installation.
If they are else where, you need to locate them and check there permissions.
Because from the source, your will have a log and rra directory in the root of the cacti installation.
If they are else where, you need to locate them and check there permissions.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
-
- Posts: 19
- Joined: Thu Jan 20, 2005 12:25 pm
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
/boggle
But if you run it as root, it updated the rrds?
But if you run it as root, it updated the rrds?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
-
- Posts: 19
- Joined: Thu Jan 20, 2005 12:25 pm
-
- Posts: 19
- Joined: Thu Jan 20, 2005 12:25 pm
-
- Posts: 19
- Joined: Thu Jan 20, 2005 12:25 pm
local it's working.....at least for now....
next problem....it's not working right with another remote linux machine.... the graph is shown, but no update is made...
01/24/2005 03:45:03 PM - SYSTEM STATS: Time: 3.0753 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 4, Hosts/Process: 4
01/24/2005 03:45:03 PM - CMDPHP: Poller[0] Time: 2.3824 s, Theads: N/A, Hosts: 3
01/24/2005 03:45:03 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 193.231.79.1, dsname: hdd_used, oid: .1.3.6.1.4.1.2021.9.1.8.End of MIB, output: U
01/24/2005 03:45:03 PM - CMDPHP: Poller[0] Host[3] WARNING: Result from SNMP not valid. Partial Result:
01/24/2005 03:45:03 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 193.231.79.1, dsname: hdd_free, oid: .1.3.6.1.4.1.2021.9.1.7.End of MIB, output: U
01/24/2005 03:45:03 PM - CMDPHP: Poller[0] Host[3] WARNING: Result from SNMP not valid. Partial Result:
01/24/2005 03:45:02 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 193.231.79.1, dsname: mem_free, oid: .1.3.6.1.4.1.2021.4.6.0, output: U
01/24/2005 03:45:02 PM - CMDPHP: Poller[0] Host[3] WARNING: Result from SNMP not valid. Partial Result:
01/24/2005 03:45:02 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 193.231.79.1, dsname: mem_cache, oid: .1.3.6.1.4.1.2021.4.15.0, output: U
01/24/2005 03:45:02 PM - CMDPHP: Poller[0] Host[3] WARNING: Result from SNMP not valid. Partial Result:
01/24/2005 03:45:02 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 193.231.79.1, dsname: mem_buffers, oid: .1.3.6.1.4.1.2021.4.14.0, output: U
01/24/2005 03:45:02 PM - CMDPHP: Poller[0] Host[3] WARNING: Result from SNMP not valid. Partial Result:
01/24/2005 03:45:02 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 193.231.79.1, dsname: load_5min, oid: .1.3.6.1.4.1.2021.10.1.3.2, output: U
...etc
suggestions?
next problem....it's not working right with another remote linux machine.... the graph is shown, but no update is made...
01/24/2005 03:45:03 PM - SYSTEM STATS: Time: 3.0753 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 4, Hosts/Process: 4
01/24/2005 03:45:03 PM - CMDPHP: Poller[0] Time: 2.3824 s, Theads: N/A, Hosts: 3
01/24/2005 03:45:03 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 193.231.79.1, dsname: hdd_used, oid: .1.3.6.1.4.1.2021.9.1.8.End of MIB, output: U
01/24/2005 03:45:03 PM - CMDPHP: Poller[0] Host[3] WARNING: Result from SNMP not valid. Partial Result:
01/24/2005 03:45:03 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 193.231.79.1, dsname: hdd_free, oid: .1.3.6.1.4.1.2021.9.1.7.End of MIB, output: U
01/24/2005 03:45:03 PM - CMDPHP: Poller[0] Host[3] WARNING: Result from SNMP not valid. Partial Result:
01/24/2005 03:45:02 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 193.231.79.1, dsname: mem_free, oid: .1.3.6.1.4.1.2021.4.6.0, output: U
01/24/2005 03:45:02 PM - CMDPHP: Poller[0] Host[3] WARNING: Result from SNMP not valid. Partial Result:
01/24/2005 03:45:02 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 193.231.79.1, dsname: mem_cache, oid: .1.3.6.1.4.1.2021.4.15.0, output: U
01/24/2005 03:45:02 PM - CMDPHP: Poller[0] Host[3] WARNING: Result from SNMP not valid. Partial Result:
01/24/2005 03:45:02 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 193.231.79.1, dsname: mem_buffers, oid: .1.3.6.1.4.1.2021.4.14.0, output: U
01/24/2005 03:45:02 PM - CMDPHP: Poller[0] Host[3] WARNING: Result from SNMP not valid. Partial Result:
01/24/2005 03:45:02 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 193.231.79.1, dsname: load_5min, oid: .1.3.6.1.4.1.2021.10.1.3.2, output: U
...etc
suggestions?
Who is online
Users browsing this forum: No registered users and 5 guests