Skip to main content

ModSecurity Failed to lock proc mutex

Comments

6 comments

  • Rodrigo Gomes
    Same problem here.
    [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">
    0
  • cPanelMichael
    Hello, Under Mod_Ruid2/MPM-ITK, the Apache process is run as the cPanel user, and therefore does not have access to obtain a lock on the GeoIP database. This is documented at: Apache Module: ModSecurity - EasyApache 4 - cPanel Documentation Thank you
    0
  • hrace009
    Hello, Under Mod_Ruid2/MPM-ITK, the Apache process is run as the cPanel user, and therefore does not have access to obtain a lock on the GeoIP database. This is documented at:
    0
  • cPanelMichael
    and how to make cPanel user have access to obtain GeoIP database? should i chmod 755 or 777 for this directory?

    It's not currently possible unless you disable Mod_Ruid2 or MPM-ITK. There's a thread on this at:
    0
  • hrace009
    It's not currently possible unless you disable Mod_Ruid2 or MPM-ITK. There's a thread on this at:
    0
  • cPanelMichael
    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.
    0

Please sign in to leave a comment.