[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#534675: apache2-mpm-prefork: envvars problem with apache2 command



Package: apache2-mpm-prefork
Version: 2.2.9-10+lenny3
Severity: minor


Hi,

Maybe am I missing a package or something, but I have this problem
on many lenny systems :

# apache2 -S
apache2: bad user name ${APACHE_RUN_USER}

Setting the envvars fixes the problem :

# . /etc/apache2/envvars 
# apache2 -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:80                   is a NameVirtualHost
[ list of vhosts ]
Syntax OK

Also changing User and Group variables to www-data in apache2.conf
fixes the problem.

Should the apache2 command include the envvars ??

Thanks in advance
Marc





-- Package-specific info:
List of enabled modules from 'apache2 -M':
  alias auth_basic authn_file authz_default authz_groupfile
  authz_host authz_user autoindex cgi deflate dir env mime
  negotiation php5 rewrite setenvif status

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-openvz-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apache2-mpm-prefork depends on:
ii  apache2.2-common    2.2.9-10+lenny3      Apache HTTP Server common files
ii  libapr1             1.2.12-5             The Apache Portable Runtime Librar
ii  libaprutil1         1.2.12+dfsg-8+lenny2 The Apache Portable Runtime Utilit
ii  libc6               2.7-18               GNU C Library: Shared libraries
ii  libpcre3            7.6-2.1              Perl 5 Compatible Regular Expressi

apache2-mpm-prefork recommends no packages.

apache2-mpm-prefork suggests no packages.

-- no debconf information



Reply to: