Plesk

Apache cannot be started if ModSecurity is enabled: failed to load IPs from: /etc/asl/whitelist

Symptoms

Cause

Corrupted Modsecurity installation.

Resolution

  1. Connect to the server via SSH.

  2. Install the missing package:

For RedHat/CentOS:

# yum install aum --enablerepo tortix-common -y

If the step above did not help, install aum manually:

# wget -q -O - https://updates.atomicorp.com/installers/aum | sh

For Debian/Ubuntu:

# wget -q -O - https://www.atomicorp.com/RPM-GPG-KEY.art.txt | apt-key add -

# apt-get update

# apt-get install aum -y

If the above actions did not help consider applying the following workaround:

  1. Log in to Plesk.
  2. Go to Tools & Settings > Web Application Firewall (ModSecurity) and enable the web application firewall.
  3. Set ruleset to any non-atomic ruleset, for example, Comodo and press OK to apply changes.
  4. After that, again open Tools & Settings > Web Application Firewall (ModSecurity) > Settings tab and switch to the Atomic ruleset.