• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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