public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Steen Eugen Poulsen <sep@lix-world.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Dead apache (cannot listen)
Date: Fri, 07 Sep 2007 21:18:44 +0200	[thread overview]
Message-ID: <46E1A414.2030603@lix-world.net> (raw)
In-Reply-To: <9acccfe50709070807g1133fa17pd8d2a887b2901607@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1224 bytes --]

Kevin O'Gorman skrev:
> My 00_default_vhost.conf:
> =============== start 00_default_vhost.conf ==========================
> # If your host doesn't have a registered DNS name, enter its IP address 
> here.
> #
> #ServerName www.example.com:80 <http://www.example.com:80>
> ServerName www.kosmanor.com:80 <http://www.kosmanor.com:80>
> 
> #KOSMANOR changes
> #Listen 80
> Listen 64.166.164.49:80 <http://64.166.164.49:80>
> Listen localhost:80

Thats not a vhost configuration, so it's a bit confusing why your trying 
to use Gentoo's default vhost config file and making non vhost configs 
and I bet it isn't liking the missing:

NameVirtualHost *:80 (You will have to check the apache2 doc for the 
VirtualIP version of NameVirtualHost)

<VirtualHost *:80>

If you want to make a non vhost configuration, then do so from the 
ground up, don't mix vhost and non vhost unless you want a mess.

The reason you get :80 already bound, is because your configuration bind 
twice to the same IP. It's Apache itself that bind twice and bails on 
the second attempt.

Not having used this configuration layout in years, I would guess 
ServerName is the one creating the listening socket, maybe because it's 
placed before Listen.




[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3412 bytes --]

  reply	other threads:[~2007-09-07 19:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-07  1:08 [gentoo-user] Dead apache (cannot listen) Kevin O'Gorman
2007-09-07  5:18 ` Alexander Reitzel
2007-09-07 15:07   ` Kevin O'Gorman
2007-09-07 19:18     ` Steen Eugen Poulsen [this message]
2007-09-07 23:25       ` Kevin O'Gorman
2007-09-08  2:06         ` Kevin O'Gorman
2007-09-08  9:02       ` Alexander Reitzel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46E1A414.2030603@lix-world.net \
    --to=sep@lix-world.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox