ModSecurity Failed to lock proc mutex

hrace009

Well-Known Member
Dec 24, 2013
75
10
8
Root
cPanel Access Level
Root Administrator
Twitter
Hi,

I got this error many times
Code:
[Sun Sep 04 03:38:22.056288 2016] [:error] [pid 10763] [client 124.83.51.106] ModSecurity: Geo Lookup: Failed to lock proc mutex: Permission denied [hostname "www.domain.com"] [uri "/members/"] [unique_id "V8s0vrccqMv5koTYEm2t9wAAAAU"]
[Sun Sep 04 03:38:22.056393 2016] [:error] [pid 10763] [client 124.83.51.106] ModSecurity: Geo Lookup: Failed to lock proc mutex: Permission denied [hostname "www.domain.com"] [uri "/members/"] [unique_id "V8s0vrccqMv5koTYEm2t9wAAAAU"]
[Sun Sep 04 03:38:22.074105 2016] [:error] [pid 9837] [client 124.83.51.106] ModSecurity: Geo Lookup: Failed to lock proc mutex: Permission denied [hostname "www.domain.com"] [uri "/"] [unique_id "V8s0vm-kWs2pDbhAfDcLZAAAAAc"]
[Sun Sep 04 03:38:22.074200 2016] [:error] [pid 9837] [client 124.83.51.106] ModSecurity: Geo Lookup: Failed to lock proc mutex: Permission denied [hostname "www.domain.com"] [uri "/"] [unique_id "V8s0vm-kWs2pDbhAfDcLZAAAAAc"]
[Sun Sep 04 03:38:22.205229 2016] [:error] [pid 10763] [client 124.83.51.106] ModSecurity: collection_store: Failed to access DBM file "/var/cpanel/secdatadir/ip": Permission denied [hostname "www.domain.com"] [uri "/cgi-sys/ea-php70/index.php"] [unique_id "V8s0vrccqMv5koTYEm2t9wAAAAU"]
[Sun Sep 04 03:38:22.232729 2016] [:error] [pid 9837] [client 124.83.51.106] ModSecurity: collection_store: Failed to access DBM file "/var/cpanel/secdatadir/ip": Permission denied [hostname "www.domain.com"] [uri "/cgi-sys/ea-php70/index.php"] [unique_id "V8s0vm-kWs2pDbhAfDcLZAAAAAc"]
[Sun Sep 04 03:38:23.327726 2016] [:error] [pid 10614] [client 36.68.49.98] ModSecurity: Geo Lookup: Failed to lock proc mutex: Permission denied [hostname "www.domain.com"] [uri "/admin.php"] [unique_id "V8s0vwuc-GdkZTx1kyQBMAAAAAY"]
[Sun Sep 04 03:38:23.327913 2016] [:error] [pid 10614] [client 36.68.49.98] ModSecurity: Geo Lookup: Failed to lock proc mutex: Permission denied [hostname "www.domain.com"] [uri "/admin.php"] [unique_id "V8s0vwuc-GdkZTx1kyQBMAAAAAY"]
[Sun Sep 04 03:38:23.683273 2016] [:error] [pid 10614] [client 36.68.49.98] ModSecurity: collection_store: Failed to access DBM file "/var/cpanel/secdatadir/ip": Permission denied [hostname "www.domain.com"] [uri "/cgi-sys/ea-php70/admin.php"] [unique_id "V8s0vwuc-GdkZTx1kyQBMAAAAAY"]
should i chmod 777 for this folder?
Code:
/var/cpanel/secdatadir/ip
 

Rodrigo Gomes

Well-Known Member
Apr 6, 2016
128
29
78
Brazil
cPanel Access Level
Root Administrator
Same problem here.

Code:
[Sun Sep 04 22:41:22.319268 2016] [:error] [pid 25326] [client 123.456.789.00] ModSecurity: collection_store: Failed to access DBM file "/var/cpanel/secdatadir/default_SESSION": Permission denied [hostname "website.com"] [uri "/wp-admin/admin-ajax.php"] [unique_id "V8zNQtGFz7QAAGLurVcAAAAK"]
[Sun Sep 04 22:41:22.319310 2016] [:error] [pid 25326] [client 123.456.789.00] ModSecurity: Audit log: Failed to create subdirectories: /usr/local/apache/logs/modsec_audit/muitofranca736/20160904/20160904-2241 (Read-only file system) [hostname "website.com"] [uri "/wp-admin/admin-ajax.php"] [unique_id "V8zNQtGFz7QAAGLurVcAAAAK"]
[Sun Sep 04 22:41:23.076541 2016] [:error] [pid 25394] [client 123.456.789.00] ModSecurity: collection_store: Failed to access DBM file "/var/cpanel/secdatadir/default_SESSION": Permission denied [hostname "website.com"] [uri "/wp-admin/admin.php"] [unique_id "V8zNQdGFz7QAAGMyXCYAAAAU"]
[Sun Sep 04 22:41:23.076582 2016] [:error] [pid 25394] [client 123.456.789.00] ModSecurity: Audit log: Failed to create subdirectories: /usr/local/apache/logs/modsec_audit/muitofranca736/20160904/20160904-2241 (Read-only file system) [hostname "website.com"] [uri "/wp-admin/admin.php"] [unique_id "V8zNQdGFz7QAAGMyXCYAAAAU"]
[Sun Sep 04 22:41:24.932010 2016] [:error] [pid 25389] [client 123.456.789.00] ModSecurity: collection_store: Failed to access DBM file "/var/cpanel/secdatadir/ip": Read-only file system [hostname "website.com"] [uri "/wp-admin/admin.php"] [unique_id "V8zNQ9GFz7QAAGMtXoMAAAAL"]
[Sun Sep 04 22:41:24.932036 2016] [:error] [pid 25389] [client 123.456.789.00] ModSecurity: collection_store: Failed to access DBM file "/var/cpanel/secdatadir/default_SESSION": Permission denied [hostname "website.com"] [uri "/wp-admin/admin.php"] [unique_id "V8zNQ9GFz7QAAGMtXoMAAAAL"]
[Sun Sep 04 22:41:24.932058 2016] [:error] [pid 25389] [client 123.456.789.00] ModSecurity: Audit log: Failed to create subdirectories: /usr/local/apache/logs/modsec_audit/muitofranca736/20160904/20160904-2241 (Read-only file system) [hostname "website.com"] [uri "/wp-admin/admin.php"] [unique_id "V8zNQ9GFz7QAAGMtXoMAAAAL"]
[Sun Sep 04 22:41:25.646964 2016] [:error] [pid 25396] [client 123.456.789.00] ModSecurity: collection_store: Failed to access DBM file "/var/cpanel/secdatadir/default_SESSION": Permission denied [hostname "website.com"] [uri "/wp-admin/admin.php"] [unique_id "V8zNQ9GFz7QAAGM0NwAAAAAZ"]
[Sun Sep 04 22:41:25.647006 2016] [:error] [pid 25396] [client 123.456.789.00] ModSecurity: Audit log: Failed to create subdirectories: /usr/local/apache/logs/modsec_audit/muitofranca736/20160904/20160904-2241 (Read-only file system) [hostname "website.com"] [uri "/wp-admin/admin.php"] [unique_id "V8zNQ9GFz7QAAGM0NwAAAAAZ"]
[Sun Sep 04 22:41:28.497065 2016] [:error] [pid 25394] [client 123.456.789.00] ModSecurity: collection_store: Failed to access DBM file "/var/cpanel/secdatadir/default_SESSION": Permission denied [hostname "website.com"] [uri "/wp-admin/index.php"] [unique_id "V8zNRdGFz7QAAGMyXDMAAAAU"]
[Sun Sep 04 22:41:28.497108 2016] [:error] [pid 25394] [client 123.456.789.00] ModSecurity: Audit log: Failed to create subdirectories: /usr/local/apache/logs/modsec_audit/muitofranca736/20160904/20160904-2241 (Read-only file system) [hostname "website.com"] [uri "/wp-admin/index.php"] [unique_id "V8zNRdGFz7QAAGMyXDMAAAAU"]
[Sun Sep 04 22:41:29.829682 2016] [:error] [pid 25394] [client 123.456.789.00] ModSecurity: collection_store: Failed to access DBM file "/var/cpanel/secdatadir/default_SESSION": Permission denied [hostname "website.com"] [uri "/wp-admin/admin-ajax.php"] [unique_id "V8zNSdGFz7QAAGMyXD8AAAAU"]
[Sun Sep 04 22:41:29.829725 2016] [:error] [pid 25394] [client 123.456.789.00] ModSecurity: Audit log: Failed to create subdirectories: /usr/local/apache/logs/modsec_audit/muitofranca736/20160904/20160904-2241 (Read-only file system) [hostname "website.com"] [uri "/wp-admin/admin-ajax.php"] [unique_id "V8zNSdGFz7QAAGMyXD8AAAAU"]
[Sun Sep 04 22:41:30.065859 2016] [:error] [pid 25396] [client 123.456.789.00] ModSecurity: collection_store: Failed to access DBM file "/var/cpanel/secdatadir/default_SESSION": Permission denied [hostname "website.com"] [uri "/wp-admin/admin.php"] [unique_id "V8zNSdGFz7QAAGM0NwQAAAAZ"]
[Sun Sep 04 22:41:30.065930 2016] [:error] [pid 25396] [client 123.456.789.00] ModSecurity: Audit log: Failed to create subdirectories: /usr/local/apache/logs/modsec_audit/muitofranca736/20160904/20160904-2241 (Read-only file system) [hostname "website.com"] [uri "/wp-admin/admin.php"] [unique_id "V8zNSdGFz7QAAGM0NwQAAAAZ"]
[Sun Sep 04 22:41:31.005298 2016] [:error] [pid 25396] [client 123.456.789.00] ModSecurity: collection_store: Failed to access DBM file "/var/cpanel/secdatadir/ip": Read-only file system [hostname "website.com"] [uri "/wp-admin/admin.php"] [unique_id "V8zNStGFz7QAAGM0NwcAAAAZ"]
[Sun Sep 04 22:41:31.005329 2016] [:error] [pid 25396] [client 123.456.789.00] ModSecurity: collection_store: Failed to access DBM file "/var/cpanel/secdatadir/default_SESSION": Permission denied [hostname "website.com"] [uri "/wp-admin/admin.php"] [unique_id "V8zNStGFz7QAAGM0NwcAAAAZ"]
[Sun Sep 04 22:41:31.005350 2016] [:error] [pid 25396] [client 123.456.789.00] ModSecurity: Audit log: Failed to create subdirectories: /usr/local/apache/logs/modsec_audit/muitofranca736/20160904/20160904-2241 (Read-only file system) [hostname "website.com"] [uri "/wp-admin/admin.php"] [unique_id "V8zNStGFz7QAAGM0NwcAAAAZ"]
[Sun Sep 04 22:41:31.078509 2016] [:error] [pid 25394] [client 123.456.789.00] ModSecurity: collection_store: Failed to access DBM file "/var/cpanel/secdatadir/default_SESSION": Permission denied [hostname "website.com"] [uri "/wp-admin/index.php"] [unique_id "V8zNStGFz7QAAGMyXEUAAAAU"]
[Sun Sep 04 22:41:31.078550 2016] [:error] [pid 25394] [client 123.456.789.00] ModSecurity: Audit log: Failed to create subdirectories: /usr/local/apache/logs/modsec_audit/muitofranca736/20160904/20160904-2241 (Read-only file system) [hostname "website.com"] [uri "/wp-admin/index.php"] [unique_id "V8zNStGFz7QAAGMyXEUAAAAU"]
[Sun Sep 04 22:41:34.809699 2016] [:error] [pid 25394] [client 123.456.789.00] ModSecurity: collection_store: Failed to access DBM file "/var/cpanel/secdatadir/default_SESSION": Permission denied [hostname "website.com"] [uri "/wp-admin/admin-ajax.php"] [unique_id "V8zNTtGFz7QAAGMyXFcAAAAU"]
[Sun Sep 04 22:41:34.809738 2016] [:error] [pid 25394] [client 123.456.789.00] ModSecurity: Audit log: Failed to create subdirectories: /usr/local/apache/logs/modsec_audit/muitofranca736/20160904/20160904-2241 (Read-only file system) [hostname "website.com"] [uri "/wp-admin/admin-ajax.php"] [unique_id "V8zNTtGFz7QAAGMyXFcAAAAU"]
[Sun Sep 04 22:41:34.897709 2016] [:error] [pid 25389] [client 123.456.789.00] ModSecurity: collection_store: Failed to access DBM file "/var/cpanel/secdatadir/default_SESSION": Permission denied [hostname "website.com"] [uri "/wp-admin/admin.php"] [unique_id "V8zNTtGFz7QAAGMtXqsAAAAL"]
[Sun Sep 04 22:41:34.897750 2016] [:error] [pid 25389] [client 123.456.789.00] ModSecurity: Audit log: Failed to create subdirectories: /usr/local/apache/logs/modsec_audit/muitofranca736/20160904/20160904-2241 (Read-only file system) [hostname "website.com"] [uri "/wp-admin/admin.php"] [unique_id "V8zNTtGFz7QAAGMtXqsAAAAL"]
[Sun Sep 04 22:41:35.675422 2016] [:error] [pid 25396] [client 123.456.789.00] ModSecurity: collection_store: Failed to access DBM file "/var/cpanel/secdatadir/ip": Read-only file system [hostname "website.com"] [uri "/wp-admin/admin.php"] [unique_id "V8zNT9GFz7QAAGM0Nx8AAAAZ"]
[Sun Sep 04 22:41:35.675452 2016] [:error] [pid 25396] [client 123.456.789.00] ModSecurity: collection_store: Failed to access DBM file "/var/cpanel/secdatadir/default_SESSION": Permission denied [hostname "website.com"] [uri "/wp-admin/admin.php"] [unique_id "V8zNT9GFz7QAAGM0Nx8AAAAZ"]
[Sun Sep 04 22:41:35.675474 2016] [:error] [pid 25396] [client 123.456.789.00] ModSecurity: Audit log: Failed to create subdirectories: /usr/local/apache/logs/modsec_audit/muitofranca736/20160904/20160904-2241 (Read-only file system) [hostname "website.com"] [uri "/wp-admin/admin.php"] [unique_id "V8zNT9GFz7QAAGM0Nx8AAAAZ"]
[Sun Sep 04 22:42:34.634775 2016] [:error] [pid 25389] [client 123.456.789.00] ModSecurity: collection_store: Failed to access DBM file "/var/cpanel/secdatadir/default_SESSION": Permission denied [hostname "website.com"] [uri "/wp-admin/admin-ajax.php"] [unique_id "V8zNitGFz7QAAGMtXyYAAAAL"]
[Sun Sep 04 22:42:34.634820 2016] [:error] [pid 25389] [client 123.456.789.00] ModSecurity: Audit log: Failed to create subdirectories: /usr/local/apache/logs/modsec_audit/muitofranca736/20160904/20160904-2242 (Read-only file system) [hostname "website.com"] [uri "/wp-admin/admin-ajax.php"] [unique_id "V8zNitGFz7QAAGMtXyYAAAAL"]
 

hrace009

Well-Known Member
Dec 24, 2013
75
10
8
Root
cPanel Access Level
Root Administrator
Twitter

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
  • Like
Reactions: Rodrigo Gomes

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
You can install both modules, and they will function, however some issues can arise, like the one referenced on this thread and documented on the link referenced earlier:

If your system uses either the mod_ruid2 or the mod_mpm_itk Apache modules and also uses Persistant Storage with the initcol, setuid, or setsid directives in the ModSecurity rules, Apache will fail to track that rule. Apache will also log errors to its error_log file. For example, the IP Reputation rule in the OWASP core ruleset may give this error.
Thank you.
 
  • Like
Reactions: Rodrigo Gomes