Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

A website is inaccessible when ModSecurity is enabled: Failed deleting collection (name “ip”, key “xxxxx”): Internal error

 
applications extensionscachedomainsfirewallgo

Symptoms

  • A website is inaccessible when ModSecurity is enabled

  • The following error is found in ModSecurity log in Modsecurity log at Domains > example.com > Web Application Firewall > ModSecurity Log File:

    collections_remove_stale: Failed deleting collection (name "ip", key "xxxxx"): external error

  • Comodo Rule Set is not selected at Tools & Settings > Web Application Firewall (ModSecurity) > Settings > Rule set

Cause

Huge ip.pag file from Modsecurity causing a timeout.

Resolution

Solution for Linux

  1. Log in to Plesk

  2. Go to Tools & Settings > Web Application Firewall (ModSecurity) > Settings tab

  3. Under Custom directives, add the directive SecCollectionTimeout 600 (default is 3600), then click Apply to save the settings:

  4. Go to the General tab in the Web Application Firewall.

  5. Under the option Web application firewall mode select Off, then click Apply to save the settings

  6. Connect to the server via SSH

  7. Run the following command to clear the ip.pag file:

    # echo "" > /var/cache/modsecurity/www-data-ip.pag

  8. In Plesk, under the option Web application firewall mode select On, then click Ok to apply the settings

Solution for Windows

  1. Log in to Plesk

  2. Go to Tools & Settings > Web Application Firewall (ModSecurity) > Settings tab

  3. Under Custom directives, add the directive SecCollectionTimeout 600 (default is 3600), then click Apply to save the settings:

  4. Go to the General tab in the Web Application Firewall.

  5. Under the option Web application firewall mode select Off, then click Apply to save the settings

  6. Connect to the server via RDP

  7. Open CMD as administrator

  8. Run the command below to find the GUID of the affected domain:

    C:> plesk db "select guid from domains where name like '%example.com%'"
    +--------------------------------------+
    | guid |
    +--------------------------------------+
    | B51D0987-DEC1-415C-8941-6BB5A49D5E7E |
    +--------------------------------------+

  9. Open Windows Explorer and navigate to the folder C:Program Files (x86)PleskModSecurityvhosts<GUID>temp

  10. Empty the file IWPD_3(examplecom)-ip.pag

  11. In Plesk in the General tab in the Web Application Firewall, select On, then click Apply to save the settings

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

How to Host a Go App on Plesk

Read More »

Exploring Plesk’s Added Value Solutions So Far in 2023

Read More »

Unveiling Sitejet Builder: The Perfect Match for Your Effortless Website Creation Needs

Read More »
Knowledge Base

ModSecurity rule-set activation/update fails in Plesk: Unable to find row with id X in domains table

Read More »

How to install and run Node.js application in Plesk?

Read More »

How to whitelist IP addresses for ModSecurity in Plesk?

Read More »

How to disable web statistics in Plesk?

Read More »

Hosting Wiki

  • Django
  • Server Redundancy
  • Linux Containers
  • CacheFly
  • Google Cloud CDN
  • AMP
  • Bare Metal Server
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • MongoDB
  • Domain
  • Plesk
  • Web Server
  • DNS Server
  • SSH
  • Firewall
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family