Spectrum ModSecurity - Failed to access DBM file "/opt/application/spectrum/apache/tmp/ip": Permission denied
search cancel

Spectrum ModSecurity - Failed to access DBM file "/opt/application/spectrum/apache/tmp/ip": Permission denied

book

Article ID: 95247

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

After the implementation of Modsecurity we found an error in the  $SPECROOT/apache/logs/error_log.

"ModSecurity: collections_remove_stale: Failed to access DBM file "/opt/application/spectrum/apache/tmp/ip": Permission denied"

Environment

Any version of Spectrum running on Linux

Cause

The apache process was start with a user other than the user that owns the Spectrum installation.

Resolution

Start the Apache process as the user that owns the Spectrum installation.

Additional Information

Please reference the "Enable ModSecurity Web Application Firewall" section of the documentation for more information.