[ale] Apache

Michael H. Warfield mhw at WittsEnd.com
Tue Feb 16 17:44:30 EST 2010


On Tue, 2010-02-16 at 17:22 -0500, Chuck Payne wrote: 
> On Tue, Feb 16, 2010 at 5:05 PM, Terry Bailey <terry at bitlinx.com> wrote:
> > Hi,
> >
> > I just loaded CentOS 5.4 into a server.  The web page will not come
> > up.  So I cleaned out the error log and tried it once.  At that
> > point, error_log had the following data.
> >
> > [Tue Feb 16 15:31:23 2010] [notice] SELinux policy enabled; httpd
> > running as context user_u:system_r:httpd_t:s0
> > [Tue Feb 16 15:31:23 2010] [notice] suEXEC mechanism enabled
> > (wrapper: /usr/sbin/suexec)
> > [Tue Feb 16 15:31:23 2010] [notice] Digest: generating secret for
> > digest authentication ...
> > [Tue Feb 16 15:31:23 2010] [notice] Digest: done
> > [Tue Feb 16 15:31:23 2010] [notice] Apache/2.2.3 (CentOS) configured
> > -- resuming normal operation
> >
> >
> >
> > It looks like it has something to do with SELinux.  The httpd.conf
> > file says that Apache is running as apache.
> >
> > Any help would be appreciated.
> >
> > Thanks,
> >
> > Terry Bailey
> >
> >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://mail.ale.org/mailman/listinfo/ale
> > See JOBS, ANNOUNCE and SCHOOLS lists at
> > http://mail.ale.org/mailman/listinfo
> >

> SELinux needs to be disable unless you are use to dealing with it.
> SELinux needs to be told that it ok to run Apache. If not, it will not
> run.

That's a rather generic statement.

Have you moved where the Apache files are?  If you moved it out
of /var/www you may need to re-tag things.  There are instructions for
doing that somewhere.  There's some selinux command for doing that.

Mike
-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
Url : http://mail.ale.org/pipermail/ale/attachments/20100216/319a1ba9/attachment-0001.bin 


More information about the Ale mailing list