• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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