www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Fullerton <fulle...@toronto.cbc.ca>
Subject config/5166: "apachectl configtest" does not detect duplicate Listen statements
Date Mon, 18 Oct 1999 20:00:46 GMT

>Number:         5166
>Category:       config
>Synopsis:       "apachectl configtest" does not detect duplicate Listen statements
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Oct 18 13:10:07 PDT 1999
>Last-Modified:
>Originator:     fullertb@toronto.cbc.ca
>Organization:
apache
>Release:        1.3.9
>Environment:
SunOS home.cbc.ca 5.6 Generic_105181-09 sun4u sparc SUNW,Ultra-4
>Description:
"apachectl configtest" does not detect duplicate Listen statements.
>How-To-Repeat:
Add two duplicate listen statements to httpd.conf, ie:

Listen 127.0.0.1:80
Listen 127.0.0.1:80

Run "apachectl configtest" - it will say "Syntax OK".  Try a restart, and the
server will fail to proceed, logging "[crit] (125)Address already in use:
make_sock: could not bind to address 127.0.0.1 port 80"
>Fix:
Add checking for duplicate Listen statements to "apachectl configtest".
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]




Mime
View raw message