LoginSignup
1
0

More than 5 years have passed since last update.

apache2 -Mのエラー(Invalid Mutex directory in argument file:${APACHE_LOCK_DIR})

Posted at

apache2 の モジュール一覧を出すときにエラーができた

$ apache2 -M
[Fri Jun 22 06:01:40.083534 2018] [core:warn] [pid 29273] AH00111: Config variable ${APACHE_LOCK_DIR} is not defined
[Fri Jun 22 06:01:40.083697 2018] [core:warn] [pid 29273] AH00111: Config variable ${APACHE_PID_FILE} is not defined
[Fri Jun 22 06:01:40.083749 2018] [core:warn] [pid 29273] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Fri Jun 22 06:01:40.094040 2018] [core:warn] [pid 29273] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Fri Jun 22 06:01:40.094497 2018] [proxy_html:notice] [pid 29273] AH01425: I18n support in mod_proxy_html requires mod_xml2enc. Without it, non-ASCII characters in proxied pages are likely to display incorrectly.
AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf:
Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}

解決策

source /etc/apache2/envvars 
apache2 -V
sudo service apache2 restart
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0