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
[ERROR: FILE NOT FOUND] in settings running centos5 + plesk
Moderators: Developers, Moderators
[ERROR: FILE NOT FOUND] in settings running centos5 + plesk
- Attachments
-
- file not found
- 1.jpg (48.95 KiB) Viewed 8301 times
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
is SELinux enabled on this host ?
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]
[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]
i did this "/usr/sbin/getenforce"fmangeant wrote:Hi
is SELinux enabled on this host ?
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?
########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:
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 (24.97 KiB) Viewed 8128 times
-
- File found yay
- 1.jpg (47.77 KiB) Viewed 8133 times
Who is online
Users browsing this forum: No registered users and 3 guests