Bug#727182: apache2: config variables not defined on second reload
Package: apache2
Version: 2.4.6-3
Severity: important
Dear Maintainer,
After starting with sudo /etc/init.d/apache2 start; running sudo
/etc/init.d/apache2 reload works fine once; but on the second time, the
configs from /etc/apache2/envvars are missing, resulting in error log
entries like:
[Tue Oct 22 21:53:31.529035 2013] [mpm_prefork:notice] [pid 3222] AH00171:
Graceful restart requested, doing restart
[Tue Oct 22 21:53:31.551403 2013] [core:warn] [pid 3222] AH00111: Config
variable ${APACHE_LOCK_DIR} is not defined
[Tue Oct 22 21:53:31.551460 2013] [core:warn] [pid 3222] AH00111: Config
variable ${APACHE_PID_FILE} is not defined
[Tue Oct 22 21:53:31.551483 2013] [core:warn] [pid 3222] AH00111: Config
variable ${APACHE_RUN_USER} is not defined
etc, ending in:
AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf:
Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}
And the daemon is terminated. Unfortunately this is happening when called
from logrotate as well.
-- Package-specific info:
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.11-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apache2 depends on:
ii apache2-bin 2.4.6-3
ii apache2-data 2.4.6-3
ii lsb-base 4.1+Debian11
ii mime-support 3.54
ii perl 5.18.1-3
ii procps 1:3.3.8-2
Versions of packages apache2 recommends:
ii ssl-cert 1.0.32
Versions of packages apache2 suggests:
pn apache2-doc <none>
pn apache2-suexec-pristine | apache2-suexec-custom <none>
ii apache2-utils 2.4.6-3
ii chromium [www-browser] 27.0.1453.93-1
ii w3m [www-browser] 0.5.3-8
Versions of packages apache2-bin depends on:
ii libapr1 1.4.6-4
ii libaprutil1 1.5.2-1
ii libaprutil1-dbd-mysql 1.5.2-1
ii libaprutil1-ldap 1.5.2-1
ii libc6 2.17-92+b1
ii libcap2 1:2.22-1.2
ii libldap-2.4-2 2.4.31-1+nmu2
ii liblua5.1-0 5.1.5-4
ii libpcre3 1:8.31-2
ii libssl1.0.0 1.0.1e-3
ii libxml2 2.9.1+dfsg1-2
ii perl 5.18.1-3
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages apache2-bin suggests:
pn apache2-doc <none>
pn apache2-suexec-pristine | apache2-suexec-custom <none>
ii chromium [www-browser] 27.0.1453.93-1
ii w3m [www-browser] 0.5.3-8
Versions of packages apache2 is related to:
ii apache2 2.4.6-3
ii apache2-bin 2.4.6-3
-- Configuration Files:
/etc/apache2/sites-available/000-default.conf changed [not included]
-- no debconf information
Reply to: