• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Unable to activate Web Application Firewall

WebIP

New Pleskian
Trying to enable web application firewall (ModSecurity) on Plesk Windows 12.5.30
Mode - Detection only
Rule Set - Atomic Basic ModSecurity
Predefined set of values - Fast

Getting Error:
Failed to install the ModSecurity rule set: Unable to find row with id 272 in domains table.Unable to use the current Apache configuration file and to roll back to the previous version of the file because they contain an invalid configuration.

OS ‪Microsoft Windows Server 2008 R2 Service Pack 1‬
Plesk version 12.5.30 Update #40


Any help on this is welcome
Thanks
 
Same issue here but your solution doesn't work.

C:\Windows\system32>plesk repair db

Checking the Plesk database using the native database server tools .. [OK]

Checking the structure of the Plesk database ........................ [OK]

Checking the consistency of the Plesk database ...................... [OK]

Error messages: 0; Warnings: 0; Errors resolved: 0

Error:

Failed to install the ModSecurity rule set: Unable to find row with id 7 in domains table.
Unable to use the current Apache configuration file and to roll back to the previous version of the file because they contain an invalid configuration.
 
Update to previous post:

Failed to install the ModSecurity rule set: Unable to find row with id 7 in domains table.
Unable to use the current Apache configuration file and to roll back to the previous version of the file because they contain an invalid configuration.

As far as I can see there is no row with ID 7 in domains table in PSA

exists ID 6 and 8 but not 7

Any help?
 
Back
Top