>Number:         1082
>Category:       os-unixware
>Synopsis:       SIGHUP causes web server to quit instead of restart
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Sep  1 11:50:01 1997
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.2.4
>Environment:
# uname -a
UNIX_SV brahms 4.2MP 2.1 i386 x86at

proprietary cc compiler
officially "UnixWare 2.1.2"
>Description:
Sending SIGHUP to the httpd process causes the web server to quit.  It is 
logged correctly :
[Mon Sep  1 11:34:54 1997] SIGHUP received.  Attempting to restart

But it never succeeds.  If you are on the controlling terminal, you see the 
following output :
bind: Invalid argument
httpd: could not bind to port 80

Here are the compiler warnings from a make, in case you want them :

UX:acomp: WARNING: "http_main.c", line 1799: argument is incompatible with proto
type: arg #3
UX:acomp: WARNING: "http_main.c", line 1844: argument is incompatible with proto
type: arg #3
UX:acomp: WARNING: "http_main.c", line 2468: argument is incompatible with proto
type: arg #3
UX:acomp: WARNING: "http_main.c", line 2476: argument is incompatible with proto
type: arg #3
UX:acomp: WARNING: "util.c", line 1167: argument is incompatible with prototype:
 arg #1
UX:acomp: WARNING: "util.c", line 1175: argument is incompatible with prototype:
 arg #1
UX:acomp: WARNING: "mod_include.c", line 1174: end-of-loop code not reached
UX:acomp: WARNING: "mod_include.c", line 1281: end-of-loop code not reached

Also FYI, I was also having HUP problems with 1.2.1 (the reason why I 
upgraded.)  In 1.2.1, the
HUP would seem to work correctly, but would not re-open log files.  I 
encountered this because
my weekly log cycling script ran normally, finishing it's job by sending a HUP 
to httpd (I use
this same script on a Linux server I am running, it works fine.)  I noticed 
that the logs did not
resume after that point.

For now, I'm going to try to use SIGUSR1 and see if that works.  But I imagine 
a HUP makes
more sense with log cycling.
>How-To-Repeat:
Compile apache on a clean UW 2.1.2 install.  Configure, run, and try to send a 
SIGHUP.
>Fix:
No
>Audit-Trail:
>Unformatted:


Reply via email to