The PHP CGI cannot be accessed directly

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

Moderators: Developers, Moderators

Post Reply
CPFarhood
Posts: 7
Joined: Wed Nov 09, 2005 11:00 am

The PHP CGI cannot be accessed directly

Post by CPFarhood »

I'm getting the "The PHP CGI cannot be accessed directly" for the Get Mounted Partitions and Get Processor Information queries. Below is a sample of the query.

+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_cpu.php 67.38.77.218 5 1:161:500:67.38.77.218:::MD5::[None] index'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_cpu.php 67.38.77.218 5 1:161:500:67.38.77.218:::MD5::[None] query index'
+ Found item [hrProcessorFrwID=' The PHP CGI cannot be accessed directly.'] index: Security Alert
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'

Host is FC2
php4.3.10
apache2.0.51
net-snmp5.1.1

Any help here?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

[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]
CPFarhood
Posts: 7
Joined: Wed Nov 09, 2005 11:00 am

Post by CPFarhood »

rony wrote:I suspect SELinux:

http://forums.cacti.net/viewtopic.php?t=7759
I don't think SELinux is part of FC2, i think that's FC3+.

EDIT: Verified it's not SELinux.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

:oops: Opps, sorry, didn't see that...

Don't know then... Google search?
[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]
CPFarhood
Posts: 7
Joined: Wed Nov 09, 2005 11:00 am

Post by CPFarhood »

rony wrote::oops: Opps, sorry, didn't see that...

Don't know then... Google search?
Everything i'm finding in google is related to windows hosts.. hrm...
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest