From nobody@hyperreal.com Mon Dec 23 14:37:53 1996 Received: by taz.hyperreal.com (8.8.3/V2.0) id OAA05273; Mon, 23 Dec 1996 14:37:53 -0800 (PST) Message-Id: <199612232237.OAA05273@taz.hyperreal.com> Date: Mon, 23 Dec 1996 14:37:53 -0800 (PST) From: Alan Olsen Reply-To: alan@ctrl-alt-del.com To: apbugs@hyperreal.com Subject: Child process core dumps when ServerName not defined on Virtual Hosts X-Send-Pr-Version: 3.2 >Number: 56 >Category: os-linux >Synopsis: Child process core dumps when ServerName not defined on Virtual Hosts >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Dec 23 14:40:00 1996 >Last-Modified: Fri Jan 24 21:09:20 PST 1997 >Originator: alan@ctrl-alt-del.com >Organization: >Release: 1.1.1 >Environment: I have tried this on a number of versions of Linux's kernel. It happens on all of the ones I tried. 2.0.12 to about 2.0.24 or so. >Description: If you do not define a valid server name for each and every virtual defined, the first virtual defined will work and all others child processes for the virtuals and default host will core dump. I have not tested this for 1.2, but it is consistant for 1.1.1. >How-To-Repeat: Define a bunch of s using IP addesses. Do not give them any server host names. Restart the server. No errors in the log. Connect to any of the IP addresses (i.e. http://101.44.43.11/ ) and watch it fail on everything BUT the first virtual defined in the list. It will not kill the server, just the child processes. >Fix: Test if virtuals have the server host name defined >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Fri Jan 24 21:09:19 PST 1997 State-Changed-Why: Should be fixed in revision 1.90 of http_main.c which was available with 1.2b1. >Unformatted: