Applicable to:
- Plesk for Linux
Symptoms
-
Plesk is showing the following error message:
Warning: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/zz010_psa_httpd.conf:
Could not open configuration file /etc/httpd/conf/plesk.conf.d/webmails/example.com_webmail.conf:
No such file or directory -
After the configuration is restored to working state it will again fail after some time.
-
When it is failing, while debug log is actived, it will produce the following output in
/var/log/plesk/panel.log
:-
Configuration is started to being checked:
CONFIG_TEXT: [2018-08-27 02:28:40.187] DEBUG [util_exec] [f926be357f4f8882cd171c1497bf728d-4] Starting: apache-config -t, stdin:
[2018-08-27 02:28:40.194] DEBUG [util_exec] [d5442a6994695935536e6f50448dd3a5-4] Starting: nginx-config -t, stdin: -
Webmail configuration is being deleted:
CONFIG_TEXT: [2018-08-27 02:28:40.208] DEBUG [util_exec] [5157fcc5c24f807f9a06c60751a9684b-0] Starting: websrvmng --remove-configs=nginx webmails/example.com_webmail.conf, stdin:
-
Configuration check is failing:
CONFIG_TEXT: [2018-08-27 02:28:40.496] DEBUG [util_exec] [f926be357f4f8882cd171c1497bf728d-4] Finished in 0.30927s, Error code: 1, stdout: Action '-t' failed.
The Apache error log may have more information.
, stderr: apache2: Syntax error on line 216 of /etc/apache2/apache2.conf: Syntax error on line 6 of /etc/apache2/conf-enabled/zz010_psa_httpd.conf: Could not open configuration file /etc/apache2/plesk.conf.d/webmails/example.com_webmail.conf: No such file or directory
-
Cause
Resolution
This is a cosmetic bug which does not cause real Apache or Nginx misconfiguration.
Error message can be removed from Plesk using Webserver Configuration Troubleshooter.
Subscribe to the article to be notified when the bug is fixed
Comments
2 comments
This issue is affecting us after we repaired an orphaned subscription
Let us know when it is fixed please
@Liam, sure, the article will be updated with this information.
Please sign in to leave a comment.