You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1997/03/13 13:44:58 UTC

[BUG]: "Listen Directive overly position sensitive for SIGHUP" on Solaris 2.x (fwd)

not acked

---------- Forwarded message ----------
Date: Wed Mar 12  9:22:44 1997
From: dkearns@mot.com
To: apache-bugs%apache.org@organic.com
Subject: [BUG]: "Listen Directive overly position sensitive for SIGHUP" on Solaris 2.x

Submitter: dkearns@mot.com
Operating system: Solaris 2.x, version: 
Version of Apache Used: 1.2b7
Extra Modules used: usertrack, rewrite, auth_dbm
URL exhibiting problem: 

Symptoms:
--
On a server with multiple IP-based virtual hosts,
where we need to keep the possibility of a separate
daemon for some virtual hosts open, we are having
some odd problems with restarts and Listen directives.

I have narrowed it down to the following repeatable
scenario:

In httpd.conf, we have all sorts of standard stuff
along with some vhost blocks. We have an m4-based macro
expansion process we use to build these conf files.

There are additional directives in the srm.conf and 
access.conf

When I build the httpd.conf file so that the vhost blocks
at their simplest look like the following:
Listen <ip>:80
<VirtualHost <fqdn>>
  ServerName <fqdn>
</VirtualHost>

The server will start up okay, but
kill -HUP pid
fails with a "cannot bind to <ip> port 80
where <ip> is the ip of the last Listen in the file.

If I take all of the Listen directives and put them at the 
beginning of the file, kill -HUP works fine.

If I take all of the Listen directives and put them
at the end of the file (after the <vhost> blocks)
it also fails.

this is also the case for at least AIX 4.1.x

any ideas?
--

Backtrace:
--

--