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

Re: Woody: Apache SSL not starting



On  0, Holger Rauch <Holger.Rauch@heitec.de> wrote:
> Hi Tom!
> 
> On Wed, 10 Apr 2002, Tom Cook wrote:
> 
> > [...] 
> > You seem to have made a couple of silly mistakes here.
> 
> Yes, indeed... I admit it ;-) Thanks for pointing this out.
> 
> > [...] maybe apache was already configured to listen there?
> 
> I don't know. In order to verify what you suggested, I did the following:
> 
> 1. Removed apache and libapache-mod-ssl again ("apt-get remove ...")
> 2. Reinstalled apache-ssl ("apt-get install apache-ssl")
> 3. Reentered the data for a selfsigned certificate
> 4. Tried the "netstat" and "lsof" commands you suggested
> 
> Result: "apache-ssl" shows up in "ps auxwww | grep apache-ssl" and the
> "netstat" and "lsof" commands showed the expected results (LISTEN state on
> port https).
> 
> Thanks for taking your time and helping me out.

I think what I was suggesting (not too sure about this, but I think
this is where I was going) was that apache was *already* serving up
https content before you even started installing apache-ssl -
certainly something was using port 443 (since apache-ssl couldn't
access it).  The only thing which seems likely is apache.  Now that
you have re-installed apache-ssl (which I think is very keen when you
had a working system) I would be interested in the results of the lsof
command I suggested earlier.  What lsof does is tells you what process
owns a file (or in this case a port).  If

# lsof | grep https

reports something like

apache-ss 440 root IPv4 220292 *:https (LISTEN)

then that means that apache-ssl now 'owns' the https port.  So try
accessing some https content:  point your browser at
https://localhost/ and see what happens.

I feel a bit bad about pointing this out when you had a working
system, as it seems to have made you keen and *uninstalled a working
system* (something you wouldn't catch me doing).  Sorry.

Tom
-- 
Tom Cook
Information Technology Services, The University of Adelaide

"That you're not paranoid does not mean they're not out to get you."
	- Robert Waldner

Get my GPG public key: https://pinky.its.adelaide.edu.au/tom.cook-at-adelaide.edu.au

Attachment: pgp6_o3urjqz_.pgp
Description: PGP signature


Reply to: