Hi all, I'm a relative newbie with Fedora Core 8 so please be kind
I'm trying to run Apache 2.2.8 (downloaded w/yum) as a reverse proxy.
When I run httpd from the command line as root, the processes spawn and it starts no problem.
When I run it from /etc/rc.local or enable the service via chkconfig --levels 235 httpd on,
...upon reboot, the server comes up but is 'stoned' or unresponsive.
When attempting to connect to the server
http://x.x.x.x, I get:
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Error logs:
[Tue Apr 15 16:15:30 2008] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Tue Apr 15 16:15:30 2008] [notice] Apache/2.2.8 (Unix) configured -- resuming normal operations
[Tue Apr 15 16:18:10 2008] [error] proxy: HTTP: disabled connection for (x.x.x.x)
[Tue Apr 15 16:18:59 2008] [error] (13)Permission denied: proxy: HTTP: attempt to connect to x.x.x.x:8080 (x.x.x.x) failed
[Tue Apr 15 16:18:59 2008] [error] ap_proxy_connect_backend disabling worker for (x.x.x.x)
An interesting item to note:
httpd -k restart
Doesn't seem to fix the issue.
Only an httpd -k stop and then httpd -k start
After the server starts, the logs look like:
[Tue Apr 15 16:32:11 2008] [notice] SELinux policy enabled; httpd running as context system_u:system_r:unconfined_t:s0-s0:c0.c1023
[Tue Apr 15 16:32:11 2008] [notice] Apache/2.2.8 (Unix) configured -- resuming normal operations
I'm wondering if and how:
system_u:system_r:unconfined_t:s0-s0:c0.c1023
has something to do with it? If so, how do I get it to run in an unconfined fashion from the get go?
Thanks for your time and assistance.
RT