[ERROR: FILE NOT FOUND] in settings running centos5 + plesk

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

Moderators: Developers, Moderators

Post Reply
viva
Posts: 8
Joined: Tue Apr 15, 2008 5:52 pm

[ERROR: FILE NOT FOUND] in settings running centos5 + plesk

Post by viva »

hello,

I am currently running cacti with plesk on a cantos 5 server

in settings for all the the binary files, it is showing "[ERROR: FILE NOT FOUND]" though i have checked and the files are there

i have tried changing chown -R root:root cacti, but still no luck

all my binary s are located at /usr/bin/

ive been stuck on this problem for a couple of days, please help me out
Attachments
file not found
file not found
1.jpg (48.95 KiB) Viewed 8265 times
viva
Posts: 8
Joined: Tue Apr 15, 2008 5:52 pm

Post by viva »

common someone must know something about this error
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I suppose it's a security issue denying your web server's user to access those binaries.
Reinhard
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

is SELinux enabled on this host ?
[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]
viva
Posts: 8
Joined: Tue Apr 15, 2008 5:52 pm

Post by viva »

fmangeant wrote:Hi

is SELinux enabled on this host ?
i did this "/usr/sbin/getenforce"

and Permissive was returned

########Update#########

ok i put this in:

nano /etc/sysconfig/selinux

changed
SELINUX=permissive to SELINUX=disabled

saved it, rebooted server still no luck

i forgot to mention i have ip tables, any chance this problem could be to do with plesk

i have changed the cacti folder to:

chown -R root:root cacti

but that doesnt seem to work, the cacti folder is located at:

/var/www/vhosts/my domain/httpdocs/cacti/

it doesnt seem that it will recognize any binary files outside of httpdocs, is there something in plesk control panel that needs changing?
viva
Posts: 8
Joined: Tue Apr 15, 2008 5:52 pm

Post by viva »

########Update#########

wow i can see the graphs!

########Update#########

got it working

i needed to create a vhost.conf file and put it at

/var/www/vhosts/mydomain/conf

then i put this in the file

<Directory /var/www/vhosts/my domaint/httpdocs/>
php_admin_flag engine on
php_admin_value open_basedir "none"
</Directory>

it is now showing as file found, this should be included somewhere for people with plesk?

i was able to get the error, then i google'd the error and found above

the error was:
open_basedir restriction in effect. File(/bin/snmpwalk) is not within the allowed path(s)

ok now i dont have any graphs, im just happy the files are now being shown after days of pain

the rra folder is empty

ok this is what shows with the graphs:
Attachments
2.jpg
2.jpg (24.97 KiB) Viewed 8092 times
File found yay
File found yay
1.jpg (47.77 KiB) Viewed 8097 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests