Applicable to:
- Plesk Onyx for Linux
Symptoms
- The following error can be seen on Plesk Home page:
PLESK_ERROR: apache2: Syntax error on line 141 of /etc/apache2/apache2.conf: Syntax error on line 4 of /etc/apache2/mods-enabled/security2.conf: Syntax error on line 6 of /etc/apache2/modsecurity.d/zz_rules.conf: Could not open config directory /etc/apache2/modsecurity.d/rules/tortix: No such file or directory
- The
/etc/apache2/modsecurity.d/rules/tortix
directory is missing:
# ls -la /etc/apache2/modsecurity.d/rules/tortix
ls: cannot access /etc/apache2/modsecurity.d/rules/tortix: No such file or directory
Cause
Missing /etc/apache2/modsecurity.d/rules/tortix
directory
Resolution
- Login to the server via SSH;
- Recreate missing directory:
# mkdir /etc/apache2/modsecurity.d/rules/tortix
- Reconfigure broken configuration at Plesk > Extensions > Webserver Configurations Troubleshooter > Rebuild > Broken:
Comments
0 comments
Please sign in to leave a comment.