Cacti doesn't work

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
ALTas
Posts: 3
Joined: Wed Apr 26, 2006 5:54 am

Cacti doesn't work

Post by ALTas »

My graphs are empty and when i trying start poller.php manualy i get this:

04/26/2006 01:45:58 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /bin/php, ARGS: -q /srv/www/htdocs/cacti/cmd.php 0 1]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
....................................
Waiting on 1/1 pollers.
....................................
Waiting on 1/1 pollers.
04/26/2006 01:51:45 PM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
04/26/2006 01:51:45 PM - SYSTEM STATS: Time:293.7602 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:0
PHP Warning: pclose(): 52 is not a valid stream resource in /srv/www/htdocs/cacti/lib/rrd.php on line 47
04/26/2006 01:51:45 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /bin/php, ARGS: -q /srv/www/htdocs/cacti/poller_commands.php]
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Turn logging up to Debug and post on pass of the poller.

Do you have SELinux enabled?
[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]
ALTas
Posts: 3
Joined: Wed Apr 26, 2006 5:54 am

Post by ALTas »

What is SELinux?

Debug mode is turned on, but wahat I must post?
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

SELinux (Security-enhanced Linux) is an enhancement to the Linux kernel that implements mandatory access control.

Here's how to check if it's enabled :

Code: Select all

$ grep SELINUX= /etc/selinux/config
# SELINUX= can take one of these three values:
SELINUX=disabled
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
ALTas
Posts: 3
Joined: Wed Apr 26, 2006 5:54 am

Post by ALTas »

Solved!

Fixed php path.

Thanx
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests