The apache2 configtest failed. Not doing anything.

Created:

2016-11-16 12:44:10 UTC

Modified:

2017-04-24 12:13:35 UTC

0

Was this article helpful?


Have more questions?

Submit a request

The apache2 configtest failed. Not doing anything.

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

Attempt to reload apache2 failed with the following error:

 * Reloading web server apache2 *
* The apache2 configtest failed. Not doing anything.
Output of config test was:
apache2: Syntax error on line 216 of /etc/apache2/apache2.conf: Syntax error on line 7 of /etc/apache2/conf-enabled/zz010_psa_httpd.conf: Could not open config directory /etc/apache2/plesk.conf.d/forwarding: No such file or directory
Action 'configtest' failed.

Cause

The directory /etc/apache2/plesk.conf.d/forwarding is missing

Resolution

Create missing directory

# mkdir -p /etc/apache2/plesk.conf.d/forwarding

Rebuild Plesk config files, if necessary.

# plesk sbin websrvmng --reconfigure-all
Have more questions? Submit a request
Please sign in to leave a comment.