Bug#719280: Error/warn: Config variable .... is not defined - Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}
Hello André
It looks like you did not define required variables APACHE_LOCK_DIR,
APACHE_PID_FILE and so on.
This is exactly what envvar file is for. You *need* to source it
before runing apache.
apache2 is a service. On Debian, you need to start services using
service(8) on the command line:
# service apache2 start
This will call /etc/init.d/apache2 that does all the magic.
Alternatively, you could find apache2ctl(8) useful.
On Saturday 10 August 2013 01:09:26 André Verwijs wrote:
> Package: apache2
> Version: 2.4.6-2
> Severity: critical
> Tags: upstream
> Justification: breaks unrelated software
>
> Apache2 does not start, it has following error(s)
>
> [Sat Aug 10 02:56:24.136846 2013] [core:warn] [pid 637] AH00111: Config
> variable ${APACHE_LOCK_DIR} is not defined
> [Sat Aug 10 02:56:24.136932 2013] [core:warn] [pid 637] AH00111: Config
> variable ${APACHE_PID_FILE} is not defined
> [Sat Aug 10 02:56:24.136956 2013] [core:warn] [pid 637] AH00111: Config
> variable ${APACHE_RUN_USER} is not defined
> [Sat Aug 10 02:56:24.136973 2013] [core:warn] [pid 637] AH00111: Config
> variable ${APACHE_RUN_GROUP} is not defined
> [Sat Aug 10 02:56:24.136991 2013] [core:warn] [pid 637] AH00111: Config
> variable ${APACHE_LOG_DIR} is not defined
> [Sat Aug 10 02:56:24.139930 2013] [core:warn] [pid 637:tid 139739417716544]
> AH00111: Config variable ${APACHE_LOG_DIR} is not defined
> [Sat Aug 10 02:56:24.140102 2013] [core:warn] [pid 637:tid 139739417716544]
> AH00111: Config variable ${APACHE_LOG_DIR} is not defined
> [Sat Aug 10 02:56:24.140123 2013] [core:warn] [pid 637:tid 139739417716544]
> AH00111: Config variable ${APACHE_LOG_DIR} is not defined
> AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf:
> Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}
>
>
> line 74 of /etc/apache2/apache2.conf is:
>
> #
> # The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
> #
> Mutex file:${APACHE_LOCK_DIR} default
>
>
>
>
>
>
> -- Package-specific info:
>
> -- System Information:
> Debian Release: jessie/sid
> APT prefers testing-proposed-updates
> APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 3.9-1-amd64 (SMP w/2 CPU cores)
> Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages apache2 depends on:
> ii apache2-bin 2.4.6-2
> ii apache2-data 2.4.6-2
> ii lsb-base 4.1+Debian12
> ii mime-support 3.54
> ii perl 5.14.2-21
> ii procps 1:3.3.4-2
>
> Versions of packages apache2 recommends:
> ii ssl-cert 1.0.32
>
> Versions of packages apache2 suggests:
> ii apache2-doc 2.4.6-2
> pn apache2-suexec-pristine | apache2-suexec-custom <none>
> pn apache2-utils <none>
> ii iceweasel [www-browser] 10.0.12esr-1+nmu1
> ii w3m [www-browser] 0.5.3-8
>
> Versions of packages apache2-bin depends on:
> ii libapr1 1.4.8-1
> ii libaprutil1 1.5.2-1
> ii libaprutil1-dbd-sqlite3 1.5.2-1
> ii libaprutil1-ldap 1.5.2-1
> ii libc6 2.17-7
> 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.14.2-21
> ii zlib1g 1:1.2.8.dfsg-1
>
> Versions of packages apache2-bin suggests:
> ii apache2-doc 2.4.6-2
> pn apache2-suexec-pristine | apache2-suexec-custom <none>
> ii iceweasel [www-browser] 10.0.12esr-1+nmu1
> ii w3m [www-browser] 0.5.3-8
>
> Versions of packages apache2 is related to:
> ii apache2 2.4.6-2
> ii apache2-bin 2.4.6-2
>
> -- no debconf information
>
>
>
Reply to: