RE: Apache startup problem

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

 



Michelle,

Hi. As a curiosity, have you tried to ask the Apache/Httpd mailing list? I
was wondering if they might be able to shed light on this issue.. I'm also
assuming the usual google searches turned up nothing helpful...

-bruce


-----Original Message-----
From: fedora-list-bounces@xxxxxxxxxx
[mailto:fedora-list-bounces@xxxxxxxxxx]On Behalf Of Michelle Schuknecht
Sent: Thursday, May 18, 2006 2:30 PM
To: For users of Fedora Core releases
Subject: Re: Apache startup problem



On May 18, 2006, at 12:27 PM, Paul Howarth wrote:

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

I am using a different script in init.d then what was supplied so
that apache will start automatically with ssl enabled.  I fixed the
script I am using so that chkconfig now works.  I turned httpd off
and on with chkconfig.  I'm still having the same issue.  Upon boot
httpd is running, but I get a bad gateway message.  Once I stop and
start the httpd script in init.d, everything works o.k.  If there is
a problem with the script I am using in init.d, wouldn't I also have
problems when trying to run it manually?  I'm not sure what else
could be causing this behavior.  I have saved the original init.d/
httpd script.  Is there an easier way to make sure apache starts up
with ssl enabled?

>
> Does your SSL certificate require a passphrase?

No passphrase is required.

>
> Paul.
>
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

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