Modec Failed to create subdirectories

Remco00

Verified User
Joined
Feb 22, 2006
Messages
280
Installed ModSec on new server with CentOS7 and CB 2.0. Server has mod_ruid2 installed. Now this error shows up in the error_log:

Code:
ModSecurity: Audit log: Failed to create subdirectories: /var/log/modsec_audit

Can this has something to do with:

Code:
    <IfModule mod_ruid2.c>
	SecAuditLogType Concurrent
	SecAuditLogStorageDir /var/log/modsec_audit
    </IfModule>

Permissions for the modsec_audit map is 0711 root.root
 
Do you still experience the same problem with the latest version of CustomBuild script?
 
Hi Martynas, thanks for responding. I disabled mod_ruid2 and changed from mod_php to php-fpm. This solved the problem. If you like I can fetch the latest CoustomBuild script and switch back to mod_php together with mod_ruid2 and see if this also solves the problem with the creation of the ModSecurity subdirectories.
 
Back
Top