[CentOS] disable SELinux

Alex White ethericalzen at gmail.com
Tue Mar 4 19:27:01 UTC 2008


On Tue, 4 Mar 2008 11:11:22 -0800 (PST)
Hiep Nguyen <hiep at ee.ucr.edu> took out a #2 pencil and scribbled:

> On Tue, 4 Mar 2008, Dan Carl wrote:
> 
> >
> > <snip>
> >>
> >> for testing, i need to disable selinux, but something still
> >> not working right.
> >>
> >> i'm trying to figure out why i can't access http://10.0.0.160
> >> from the same network (10.0.0.x).
> >>
> >> on 10.0.0.160 box, i can access http://localhost, or
> >> http://10.0.0.160, but from any other computer, i can't.
> >>
> >> any advice how to troubleshoot this? thanks.
> >
> > The port could be being blocked by iptables.
> > Try
> > #service iptables stop
> >
> you're exactly right, but i thought minimal installation doesn't
> include such.  anyway, if i restart iptables service, what need
> to be done to iptables?
> 
> thanks,
> t. hiep

Also, are you simply getting a time out or a connection refused
error? It sounds, as has been stated before, like an iptables
issue.

If you're getting some other error it would be excellent to know
what that error is. Are you seeing any errors in
the /var/log/httpd/error_log or in /var/log/messages?

I'd think though that it's just iptables blocking the port.

Sincerely,

Alex White
-- 
ethericalzen at gmail.com
Life is a prison, death is a release



More information about the CentOS mailing list