Re: Apache startup problem

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

 



On Thu, 2006-05-18 at 11:51 -0700, Michelle Schuknecht wrote:
> 
> 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

That should be OK then; the default is 85 so 91 should be fine too.

> > >   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

Are you using something other than the FC4 standard httpd package, or
have you edited the initscript?

Does your SSL certificate require a passphrase?

Paul.


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux