httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ohnewald <ma...@bortal.de>
Subject [users@httpd] suexec and apache 2.0.54-5 on sarge
Date Tue, 24 Jan 2006 16:12:42 GMT
Hello List.

I am running apache2 (2.0.54-5) on Sarge.

Where can i go from here? How could i debug this problem a little
further?


Error:
-----------------------------------------
cat /var/log/apache2/suexec.log
[2006-01-24 16:55:55]: too few arguments



Configs and Logs:
----------------------------------------

/etc/apache2# /usr/lib/apache2/suexec2 -V
 -D AP_DOC_ROOT="/home/www"
 -D AP_GID_MIN=100
 -D AP_HTTPD_USER="www-data"
 -D AP_LOG_EXEC="/var/log/apache2/suexec.log"
 -D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
 -D AP_UID_MIN=100
 -D AP_USERDIR_SUFFIX="html"


/etc/apache2# apache2 -V
Server version: Apache/2.0.54
Server built:   Sep  5 2005 11:15:09
Server's Module Magic Number: 20020903:9
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_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=""
 -D SUEXEC_BIN="/usr/lib/apache2/suexec2"
 -D DEFAULT_PIDLOG="/var/run/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="/var/run/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
 -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"


/etc/apache2# grep -i suexec /var/log/apache2/*.log
/var/log/apache2/error.log:[Tue Jan 24 16:42:21 2006] [notice] suEXEC
mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
/var/log/apache2/error.log:[Tue Jan 24 16:54:55 2006] [notice] suEXEC
mechanism enabled (wrapper: /usr/lib/apache2/suexec2)






VHost config:
---------------------------------------------------

<Directory "/home/www/user7/html">
  Options -FollowSymLinks -SymLinksIfOwnerMatch
  <IfModule mod_access.c>
    Allow from all
  </IfModule>
</Directory>


<Directory "/home/www/user7/html/cgi-bin/">
  <IfModule mod_python.c>
    <Files ~ "\.py$">
      AddHandler python-program .py
      PythonHandler mod_python.cgihandler
    </Files>
  </IfModule>
</Directory>

<VirtualHost 192.168.1.252:80>
  ServerName user7.example.org
  DocumentRoot /home/www/user7/html
  SuexecUserGroup user7 user7
  ScriptAlias /cgi-bin/ /home/www/user7/html/cgi-bin/
  <IfModule mod_python.c>
    <Files ~ "\.py$">
      AddHandler python-program .py
      PythonHandler mod_python.publisher
    </Files>
  </IfModule>
  php_admin_value
open_basedir /home/www/user7/html/:/home/www/user7/phptmp/:/home/www/user7/files/:/home/www/user7/atd/
  php_admin_value file_uploads 1
  php_admin_value upload_tmp_dir /home/www/user7/phptmp/
</VirtualHost>




Thanks a lot, Mario


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message