Re: Apache startup problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On May 18, 2006, at 12:35 AM, Paul Howarth wrote:

On Wed, 2006-05-17 at 14:39 -0700, Michelle Schuknecht wrote:
Hello,
I am having a problem starting apache upon boot on FC4.  I have a  
script in /etc/init.d for httpd to start and have linked this with a  
file in /etc/rc3.d.

You did this manually? What did you call the link in /etc/rc.d/rc3.d

The link I made was:  ln -s /etc/rc.d/init.d/httpd /etc/rc.d/rc3.d/S91httpd


  After boot, when I run ps aux, I see that httpd  
is running:

root      2557  2.3  0.6  17048  6896 ?        Ss   14:12   0:00 /usr/ 
sbin/httpd -DSSL -k start
apache    2587  0.0  0.6  17048  6912 ?        S    14:12   0:00 /usr/ 
sbin/httpd -DSSL -k start
apache    2588  0.0  0.6  17048  6912 ?        S    14:12   0:00 /usr/ 
sbin/httpd -DSSL -k start
apache    2589  0.0  0.6  17048  6912 ?        S    14:12   0:00 /usr/ 
sbin/httpd -DSSL -k start
apache    2590  0.0  0.6  17048  6912 ?        S    14:12   0:00 /usr/ 
sbin/httpd -DSSL -k start
apache    2591  0.0  0.6  17048  6912 ?        S    14:12   0:00 /usr/ 
sbin/httpd -DSSL -k start
apache    2592  0.0  0.6  17048  6912 ?        S    14:12   0:00 /usr/ 
sbin/httpd -DSSL -k start
apache    2593  0.0  0.6  17048  6912 ?        S    14:12   0:00 /usr/ 
sbin/httpd -DSSL -k start
apache    2594  0.0  0.6  17048  6912 ?        S    14:12   0:00 /usr/ 
sbin/httpd -DSSL -k start


However when I try to access the website, I get a Bad Gateway: The  
proxy server received an invalid response from an upstream server  
error.  If I go to the script in /etc/init.d to stop and then start  
the httpd process again everything runs o.k.    Why would this not be  
starting properly when booting?

Perhaps your manual link causes httpd to start up too soon, before the
network is up?

It's better to use chkconfig to set up the links:

# chkconfig httpd on

I tried using chkconfig, but get the error: service httpd does not support chkconfig


Paul.


-- 
fedora-list mailing list


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux