logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache 2 configtest error
Author
pandpan



Joined: 11 Feb 2017
Posts: 1
Location: Sydney

PostPosted: Sat 11 Feb '17 13:51    Post subject: Apache 2 configtest error Reply with quote

I get the following error when trying to restart apache2

Code:
 * Restarting web server apache2                                                                     [fail]
 * The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 216 of /etc/apache2/apache2.conf: Syntax error on line 5 of /etc/apache2/conf-enabled/zz010_psa_httpd.conf: Syntax error on line 58 of /etc/apache2/plesk.conf.d/server.conf: Could not open configuration file /etc/apache2/plesk.conf.d/ip_default/grayles.net.conf: No such file or directory
Action 'configtest' failed.


line 216 of apache2.conf is :

IncludeOptional conf-enabled/*.conf

line 5 of zz101 is :

Include '/etc/apache2/plesk.conf.d/server.conf'

line 58 server.conf

IncludeOptional "/etc/apache2/plesk.conf.d/ip_default/*.conf"
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7288
Location: Germany, Next to Hamburg

PostPosted: Sat 01 Apr '17 15:00    Post subject: Reply with quote

Do those files and folders exist?
Back to top


Reply to topic   Topic: Apache 2 configtest error View previous topic :: View next topic
Post new topic   Forum Index -> Apache