httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john sachs <>
Subject Re: suexec broke?
Date Wed, 24 Oct 2001 17:21:33 GMT
On Tue, Oct 23, 2001 at 11:21:52PM -0400, Greg Ames wrote:
+ john sachs wrote:
+ > all cgis fail with:
+ > [Tue Oct 23 14:04:33 2001] [error] [client] Premature end of script headers:
+ yeah, that message sucks canal water.  It's about the only thing we log
+ if a cgi blows up in 2.0.  We need to do something better.

still happening with current apache, just cvs up'd oct24 about 9:30a.

+ 1. What does ls -l show for the suexec binary?  It's probably in
+ <prefix>/bin/

[john@doom:~/ap2/apache-2.0-suexec] ./bin/httpd -V
Server version: Apache/2.0.27-dev
Server built:   Oct 24 2001 09:30:53
Server's Module Magic Number: 20011002:0
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D HTTPD_ROOT="/home/john/ap2/apache-2.0-suexec"
 -D SUEXEC_BIN="/home/john/ap2/apache-2.0-suexec/bin/suexec"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
[john@doom:~/ap2/apache-2.0-suexec] ls -l /home/john/ap2/apache-2.0-suexec/bin/suexec
-rwsr-xr-x   1 root     root        48557 Oct 24 09:55 /home/john/ap2/apache-2.0-suexec/bin/suexec*

+ 2. Do "strings httpd | grep <prefix>" .  You should see some suexec
+ related stuff.  Does it look right?

looks right to me.

[john@doom:~/ap2/apache-2.0-suexec] strings ./bin/httpd |grep /home/john/ap2/apache-2.0-suexec
 -D HTTPD_ROOT="/home/john/ap2/apache-2.0-suexec"
 -D SUEXEC_BIN="/home/john/ap2/apache-2.0-suexec/bin/suexec"

+ 3. Is there anything in the suexec log?

suexec log does not exist.


View raw message