Apache 2.4.18: warnings issued since environment vars definitions isn't always loaded

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

 



Hello,

OS: Ubuntu 16.04, Apache version: 2.4.18 (latest Apache from default repository).

Command

sudo apache2 -M

writes spurious lines like this:

[Wed Jan 18 03:32:29.510875 2017] [core:warn] [pid 11564] AH00111: Config variable ${APACHE_LOG_DIR} is not defined

even though the mentioned variable *is* defined in /etc/apache2/envvars

If I load that file directly, i.e. via command like

. /etc/apache2/envvars

the above warning doesn't happen. Is there standard way to force apache2 loading its environment vars definition file automatically? The message is misleading and, AFAIK, it's never written in manuals that Apache only gets those definitions loaded if initscript/systemctl is executed.

Thanks.

Regards,
Konstantin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux