Plesk Configuration Error

I get this message in plesk. I’m not sure how to fix the errors

New files of configuration for Apache web server were not built due to errors in configuration templates: httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf:

Sometimes this has something to do with the config generation and it can give you more info if you try running the reconfiguration from the commend line.

You can do this by running

/usr/local/psa/bootstrapper/pp11.0.9-bootstrapper/bootstrapper.sh repair

And


/usr/local/psa/admin/sbin/httpdmng --reconfigure-all

Plesk 10 and later versions:


# /usr/local/psa/admin/bin/httpdmng --reconfigure-domain <domain_name>

Plesk 9 and earlier versions:


# /usr/local/psa/admin/bin/websrvmng --reconfigure-vhost --vhost-name=<domain_name>

Note: Replace with the actual domain name.

If the issue occurs for all domains, you could run this command:

Plesk 10 and later versions:


# /usr/local/psa/admin/bin/httpdmng --reconfigure-all

Plesk 9 and earlier versions:


# /usr/local/psa/admin/bin/websrvmng --reconfigure-all

Leave a Comment