Bug 75210 - httpd service doesn't restart when 2 ports are defined (ex: 80 & 8080)
Summary: httpd service doesn't restart when 2 ports are defined (ex: 80 & 8080)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-httpd
Version: 8.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact: Brian Brock
URL:
Whiteboard:
: 81092 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-10-05 14:39 UTC by Yannick Haineault
Modified: 2015-03-05 01:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-02-06 14:53:42 UTC
Embargoed:


Attachments (Terms of Use)

Description Yannick Haineault 2002-10-05 14:39:43 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830

Description of problem:
In the Apache configuration tool on Gnome, I add another port (8080) and this
message appears when I restart httpd:

Starting httpd: Syntax error on line 176 of /etc/httpd/conf/httpd.conf:
Listen takes one argument, A port number or a numeric IP address and a port number

Line 176 on my httpd.conf is: Listen *:8080 *:80

The version of httpd is httpd-2.0.40-8

This was working with Red Hat 7.3

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


How reproducible:
Always

Steps to Reproduce:
1.Specify another port on Apache configuration tool
2.restart hhtpd with user root: service httpd restart
3.Look at the error message (and cry!!!)
	

Actual Results:  I get this error message:


Starting httpd: Syntax error on line 176 of /etc/httpd/conf/httpd.conf:
Listen takes one argument, A port number or a numeric IP address and a port number

Expected Results:  Starting httpd:   [  OK  ]

Additional info:

Comment 1 Yannick Haineault 2002-10-05 16:55:36 UTC
If I manually configure the file /etc/httpd/conf/httpd.conf and add a new line 
for the second port, it works.

Example:
Apache configuration tool create this entry in httpd.conf:
Listen: *:80 *:8080

I replace this line by:
Listen: *:80
Listen: *:8080

and it works.  The problem seems to be at the Apache Configuration tool level.

Comment 2 Joe Orton 2003-01-13 17:44:32 UTC
*** Bug 81092 has been marked as a duplicate of this bug. ***

Comment 3 Phil Knirsch 2003-02-06 14:53:42 UTC
Fixed in CVS, rawhide package comming soon.

Read ya, Phil


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