Permission denied

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

Moderators: Developers, Moderators

Post Reply
litass
Posts: 25
Joined: Tue Oct 09, 2007 7:46 am

Permission denied

Post by litass »

Hello,

i have fresh installed of Fedora 6 with cacti0.8.7.
mysql: 5.0.27
php: 5.1.6
net-snmp: 5.3.1
httpd: 2.2.6

I've done all the instruction guides from cacti.net, when i point to localhost/cacti, it show "You don't have permission to access /cacti/ on this server."

what should i do ? thanks for giving help.
User avatar
sebbs
Cacti User
Posts: 97
Joined: Mon Jan 22, 2007 9:41 am
Location: Ottawa,Canada

Post by sebbs »

check your apache httpd.conf
and look in your error_log for apache, could give you some clues.
If all else fails, rm -rf /
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

is selinux enforcing?
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
litass
Posts: 25
Joined: Tue Oct 09, 2007 7:46 am

Post by litass »

yes, SELINUX is enforcing ...
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

Have you modified selinux to allow http, https or set it to permissive?
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
litass
Posts: 25
Joined: Tue Oct 09, 2007 7:46 am

Post by litass »

I don't know how to do it, I just disable selinux then its works fine.

any steps to do without disabling selinux?
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests