I was getting the following error while creating a Cpanel WHM server with mod_ruid2 and mod_security2
[Wed Aug 10 21:11:49.156474 2016] [:error] [pid 7605] [client 18.104.22.168] ModSecurity: Audit log: Failed to create subdirectories: /etc/apache2/logs/modsec_audit/testuser/20160810/20160810-2111 (Permission denied) [hostname "example.com"] [uri "/cgi-sys/ea-php56/index.php"] [unique_id "V6vJ9eGi@GFDguH4fJwHIgABABk"]
I found that disabling
EXPERIMENTAL: Jail Apache Virtual Hosts using mod_ruid2 and cPanel® jailshell.
resolved this issue