Bug 112153 - Server refuses to start with Listen
Summary: Server refuses to start with Listen
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: apache (Show other bugs)
(Show other bugs)
Version: 2.1
Hardware: All Linux
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2003-12-15 14:22 UTC by Nick Strugnell
Modified: 2007-11-30 22:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-02-06 16:16:49 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Nick Strugnell 2003-12-15 14:22:38 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030922

Description of problem:
When configuring a server to only listen to port 80 on the loopback
interface using 'Listen' this causes the following error
at startup:

(98)Address already in use: make_sock: could not bind to address port 80

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Edit httpd.conf and add the Listen line shown above
2. Start server

Actual Results:  Server fails to start - error appears in syslog

Expected Results:  Server start

Additional info:

This is caused by the repeat Listen directive at line 397. Comment
this out and things should be fine.

The problem is really one of the way the httpd.conf file is commented
- the commented listen directives at line 175 give no indication that
there is an uncommented directive at 397.

Comment 1 Joe Orton 2004-02-06 16:16:49 UTC
It's a good point, but changing the default httpd.conf in an erratum
is somewhat annoying since the new file would be created as
httpd.conf.rpmnew for anyone who updated.  Certainly just to fix a
comment, it's not worth it... so I'll just mark this
CLOSED->CURRENTRELEASE since the httpd.conf shipping in RHEL3 doesn't
have this issue.

Note You need to log in before you can comment on or make changes to this bug.