• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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