Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 16th April 2008, 06:31 AM
tinhead Offline
Registered User
 
Join Date: Apr 2008
Posts: 2
Angry Apache produces Service Temporarily Unavailable on boot

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
Reply With Quote
  #2  
Old 16th April 2008, 07:05 AM
tinhead Offline
Registered User
 
Join Date: Apr 2008
Posts: 2
Thumbs down SELinux argh!

It appears that SELinux is at fault.

I'm not sure how to change things so in the interim, I've set:

SELINUX=permissive

in /etc/sysconfig/selinux
Reply With Quote
Reply

Tags
apache, boot, produces, service, temporarily, unavailable

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kdevelop libtool temporarily unavailable Indian Programming & Packaging 8 1st May 2010 01:47 AM
nohup.out - rainlendar2: Fatal IO error 11 (Resource temporarily unavailable) on X se Thaidog Using Fedora 0 11th May 2009 12:09 AM
NAMED error? or temporarily unavailable host? overlord Servers & Networking 3 30th August 2008 07:11 PM
cdrecord: Resource temporarily unavailable. Cannot get mmap for 4198400 Bytes... whatdoineed2do Using Fedora 1 24th January 2007 10:47 PM
cdrecord: Resource temporarily unavailable. Cannot get mmap for 8392704 Bytes on /dev jarodriguezm Using Fedora 0 7th June 2006 03:33 AM


Current GMT-time: 06:33 (Saturday, 02-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat