httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Boyandin <li...@boyandin.info>
Subject [users@httpd] Apache 2.4.18: warnings issued since environment vars definitions isn't always loaded
Date Wed, 18 Jan 2017 04:39:01 GMT
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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message