From nobody@hyperreal.com Mon Apr 21 10:49:08 1997 Received: (from nobody@localhost) by hyperreal.com (8.8.4/8.8.4) id KAA02054; Mon, 21 Apr 1997 10:49:08 -0700 (PDT) Message-Id: <199704211749.KAA02054@hyperreal.com> Date: Mon, 21 Apr 1997 10:49:08 -0700 (PDT) From: Andreas Papst Reply-To: andreas.papst@univie.ac.at To: apbugs@hyperreal.com Subject: Cannot use multiple Listen-directives with IP-addresses as argument X-Send-Pr-Version: 3.2 >Number: 438 >Category: os-aix >Synopsis: Cannot use multiple Listen-directives with IP-addresses as argument >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Apr 21 10:50:01 1997 >Last-Modified: Sun Jun 22 17:40:04 PDT 1997 >Originator: andreas.papst@univie.ac.at >Organization: >Release: 1.2b7, 1.2b8 >Environment: AIX 4.2 gcc 2.7.2.1 >Description: To my primary IP-address 1.2.3.2 I defined 3 alias-addresses with ifconfig command showing below too: ifconfig en0 1.2.3.3 netmask 255.255.255.224 alias ifconfig en0 1.2.3.4 netmask 255.255.255.224 alias ifconfig en0 1.2.3.5 netmask 255.255.255.224 alias 1.2b7: I want that apache should listen to 1.2.3.3:80, 1.2.3.4:80 and 1.2.3.5:8000 and not to any other port else! Therefore I tried the config Listen 1.2.3.3:80 Listen 1.2.3.4:80 Listen 1.2.3.5:8000 A call of httpd gives "httpd: could not bind to address 1.2.3.5 port 8000" A different sequence of Listen-directives alway be replied with ip-address and port number of the last Listen directive. Listen 80 Listen 8000 works but does not do what I want. An upgrade to 1.2b8 gives that you can start httpd with the first Listen- directives sequence. but httpd dies silently after approx. 2 hours. >How-To-Repeat: >Fix: >Audit-Trail: State-Changed-From-To: open-analyzed State-Changed-By: dgaudet State-Changed-When: Thu Apr 24 03:57:28 PDT 1997 State-Changed-Why: Andreas, when you say dies silently do you mean the process actually exits, or it just stops responding? If it stops responding could you try adding -DUSE_FLOCK_SERIALIZED_ACCEPT to your EXTRA_CFLAGS and rebuilding. Actually you should try this anyhow, there is a bug with multiple Listens which we are adding to the known_bugs page shortly. Thanks Dean Category-Changed-From-To: config-os-aix Category-Changed-By: dgaudet Category-Changed-When: Thu Apr 24 03:57:28 PDT 1997 State-Changed-From-To: analyzed-closed State-Changed-By: dgaudet State-Changed-When: Sun Jun 22 17:40:04 PDT 1997 State-Changed-Why: Haven't heard back in a while, assuming the serialised accept defines fixed the problem. Dean >Unformatted: