Brand new server Ubuntu 14.04.1 LTS with Ubuntu package Apache/2.4.7, appears to be working, but I'm not certain that all envvars are set up correctly, as I keep getting "Define" warnings/messages, which I'd like to eleiminate. (Our production servers use 2.2, with none of these messages. This new server is LAN only at the moment.)
apachectl configtest reports "Syntax OK"Log has intermittent "[core:warn] [pid 2620:tid 140267284031360] AH00111: Config variable ${APACHE_LOG_DIR} is not defined" with ${APACHE_LOCK_DIR} ${APACHE_PID_DIR} and ${APACHE_RUN_DIR} appearing very occasionally.
I've tried using mpm_event with occasional "[mpm_event:notice] [pid 1322:tid 140096310007680] AH00493: SIGUSR1 received. Doing graceful restart"
I've also tried mpm_worker with mpm_itk (recommended/required for one open-source package we use), and get numerous "[mpm_prefork:notice] [pid 1475] AH00163: Apache/2.4.7 (Ubuntu) mpm-itk/2.4.6-01 configured -- resuming normal operations." (I realize mpm_itk may be problematic.)
apachectl -S gives me: VirtualHost configuration: [snipped -- all good] ServerRoot: "/etc/apache2" Main DocumentRoot: "/var/www" Main ErrorLog: "/var/log/apache2/error.log" Mutex default: dir="/var/lock/apache2" mechanism=fcntl Mutex mpm-accept: using_defaults Mutex watchdog-callback: using_defaults Mutex rewrite-map: using_defaults PidFile: "/var/run/apache2/apache2.pid" Define: DUMP_VHOSTS Define: DUMP_RUN_CFG Define: ENABLE_USR_LIB_CGI_BIN User: name="www-data" id=33 not_used Group: name="www-data" id=33 not_used but apache2 -S gives me:[Wed Jan 07 10:51:31.785510 2015] [core:warn] [pid 4783] AH00111: Config variable ${APACHE_LOCK_DIR} is not defined [Wed Jan 07 10:51:31.785542 2015] [core:warn] [pid 4783] AH00111: Config variable ${APACHE_PID_FILE} is not defined [Wed Jan 07 10:51:31.785550 2015] [core:warn] [pid 4783] AH00111: Config variable ${APACHE_RUN_USER} is not defined [Wed Jan 07 10:51:31.785553 2015] [core:warn] [pid 4783] AH00111: Config variable ${APACHE_RUN_GROUP} is not defined [Wed Jan 07 10:51:31.785562 2015] [core:warn] [pid 4783] AH00111: Config variable ${APACHE_LOG_DIR} is not defined [Wed Jan 07 10:51:31.786574 2015] [core:warn] [pid 4783] AH00111: Config variable ${APACHE_RUN_DIR} is not defined [Wed Jan 07 10:51:31.786825 2015] [core:warn] [pid 4783] AH00111: Config variable ${APACHE_LOG_DIR} is not defined [Wed Jan 07 10:51:31.786890 2015] [core:warn] [pid 4783] AH00111: Config variable ${APACHE_LOG_DIR} is not defined [Wed Jan 07 10:51:31.786897 2015] [core:warn] [pid 4783] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
AH00526: Syntax error on line 76 of /etc/apache2/apache2.conf: Invalid Mutex directory in argument file:${APACHE_LOCK_DIR} [N.B. line 76 of apache2.conf is "Mutex file:${APACHE_LOCK_DIR} default"] Thoughts? Where and how should these variables be defined? Many thanks -- Paul --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx