Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 86278 invoked by uid 500); 24 Oct 2001 17:22:05 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 86267 invoked from network); 24 Oct 2001 17:22:04 -0000 X-Authentication-Warning: doom.sfo.covalent.net: john set sender to jsachs@covalent.net using -f Date: Wed, 24 Oct 2001 10:21:33 -0700 From: john sachs To: dev@httpd.apache.org Subject: Re: suexec broke? Message-ID: <20011024102133.A136@doom.sfo.covalent.net> References: <20011023141324.D135@doom.sfo.covalent.net> <3BD633D0.7F60F3FC@remulak.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3BD633D0.7F60F3FC@remulak.net>; from gregames@remulak.net on Tue, Oct 23, 2001 at 11:21:52PM -0400 X-Linux: http://zlilo.com/ X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 127.0.0.1] Premature end of script headers: /home/john/public_html/suexec.cgi + + 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 + /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 APR_FILE_BASED_SHM -D APR_HAS_MMAP -D APR_HAVE_IPV6 -D APR_USE_FCNTL_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -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* [john@doom:~/ap2/apache-2.0-suexec] + + 2. Do "strings httpd | grep " . 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 /home/john/ap2/apache-2.0-suexec/lib -D HTTPD_ROOT="/home/john/ap2/apache-2.0-suexec" -D SUEXEC_BIN="/home/john/ap2/apache-2.0-suexec/bin/suexec" /home/john/ap2/apache-2.0-suexec /home/john/ap2/apache-2.0-suexec/htdocs /home/john/ap2/apache-2.0-suexec/bin/suexec + 3. Is there anything in the suexec log? suexec log does not exist. -j