• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Apache2/ mod security error

Joe_P

New Pleskian
Server operating system version
Ubuntu 18.04.6
Plesk version and microupdate number
18.0.56
Web server is down. How do I fix this error?
Error: New configuration files for the Apache web server were not created due to the errors in configuration templates: apache2: Syntax error on line 222 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/conf-enabled/00_mod_security.conf: Cannot load /etc/httpd/modules/mod_security2.so into server: /etc/httpd/modules/mod_security2.so: cannot open shared object file: No such file or directory.
 
Please remove and then reinstall ModSecurity through the Plesk installer.
I tried that through the web interface and terminal, it didn't create the file mod_security2.so
The only way to get apache started was to comment out loadmodule in the 00_mod_security.conf
Modsecurity 2.9 fails to start but if I switch to Modsecurity 3.0 it will start.
 
In this case, please open a ticket with support so that they can check the issue on your server. To sign-in to support please go to https://support.plesk.com

If you experience login issues, please see this KB article:
https://support.plesk.com/hc/en-us/...rt-plesk-com-and-password-reset-does-not-work

If you bought your license from a reseller, your reseller should provide support for you. If the reseller does not provide support, here is an alternative:
https://support.plesk.com/hc/en-us/articles/12388090147095-How-to-get-support-directly-from-Plesk-
 
Web server is down. How do I fix this error?
Error: New configuration files for the Apache web server were not created due to the errors in configuration templates: apache2: Syntax error on line 222 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/conf-enabled/00_mod_security.conf: Cannot load /etc/httpd/modules/mod_security2.so into server: /etc/httpd/modules/mod_security2.so: cannot open shared object file: No such file or directory.
Did you click both on the left and the second one in the Plesk error message?

The configuration files should be regenerated.

login via SSH and run apt-get update next apt-get upgrade are there any errors?

maybe you need to run:

Code:
apt --fix-broken install

never delete plesk packages by doing this.
 
Back
Top