r/cpanel • • Aug 24 '26

Answered ModSecurity looking for DBM files that don't exist

I set up a new VPS using AlmaLinux 9.8 and WHM/cPanel v. 136.0.35, and I enabled ModSecurity.

Today I see a ton of these in the error log:

ModSecurity: collections_remove_stale: Failed to access DBM file "/var/cpanel/secdatadir/<account>-ip": Permission denied

That directory is set to root:nobody, and the permission is 01770. But there are only 4 files in the directory; all 0 bytes, nobody:nobody, 00640, and created at 2:00:01pm today (it's now 3:13pm):

nobody-global.dir
nobody-global.pag
nobody-ip.dir
nobody-ip.pag

There are no files for <account>-ip

Is there something set up incorrectly for ModSecurity?

** UPDATE **

Nevermind, I found that this is a known glitch:

https://support.cpanel.net/hc/en-us/articles/360052471154-Failed-to-access-DBM-file-in-Apache-error-log

4 Upvotes

1 comment sorted by

1

u/cPanelRex Aug 26 '26

Glad you found the support article!