Apache startup problem
Paul Howarth
paul at city-fan.org
Thu May 18 07:35:27 UTC 2006
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
> 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
Paul.
More information about the users
mailing list