• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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