Ubuntu: upgrading from 14.04 to 16.04, error: Invalid command ‘LockFile’,

AH00526: Syntax error on line 55 of /etc/apache2/apache2.conf: Invalid command ‘LockFile’, perhaps misspelled or defined by a module not included in the server configuration Action ‘start’ failed.

Solutions:

Replacing this line

LockFile ${APACHE_LOCK_DIR}/accept.lock

with this one

Mutex file:${APACHE_LOCK_DIR} default

in /etc/apache2/apache2.conf solved the problem.

Leave a Reply

Your email address will not be published. Required fields are marked *