We've looked at all the similar posts regarding this error, but all of the discussions apply to using mod_ruid2 or mpm_itk. We are using mpm_prefork & lsapi.
Customer complained about not being able to consistently access his cPanel portal without having to reload the page, and sometimes doesn't have access at all. Gets this error immediately upon logging in:
"customer.tld is not responding" and includes a "Recover webpage" button.
From the Apache log:
From mod_sec log:
/var/cpanel/secdatadir:
The weird thing is this entry:
Is the whole thing related to password strength?
Customer complained about not being able to consistently access his cPanel portal without having to reload the page, and sometimes doesn't have access at all. Gets this error immediately upon logging in:
"customer.tld is not responding" and includes a "Recover webpage" button.
From the Apache log:
Code:
[Tue Apr 28 09:15:04.208002 2020] [:error] [pid 3490123] [client 12.34.56.78:49432] [client 12.34.56.78] ModSecurity: collections_remove_stale: Failed to access DBM file "/var/cpanel/secdatadir/nobody-global": Permission denied [hostname "cpanel.customer.tld"] [uri "/___proxy_subdomain_cpanel/styled/current_style/sprites/icon_spritemap.png"] [unique_id "XqhWiI6b9kkqpENtqVbmfgAAAB8"], referer: https://cpanel.reliablefencecompany.com/
[Tue Apr 28 09:15:04.208053 2020] [:error] [pid 3490123] [client 12.34.56.78:49432] [client 12.34.56.78] ModSecurity: collections_remove_stale: Failed to access DBM file "/var/cpanel/secdatadir/nobody-ip": Permission denied [hostname "cpanel.customer.tld"] [uri "/___proxy_subdomain_cpanel/styled/current_style/sprites/icon_spritemap.png"] [unique_id "XqhWiI6b9kkqpENtqVbmfgAAAB8"], referer: https://cpanel.customer.tld/
[Tue Apr 28 09:22:02.948384 2020] [:error] [pid 3491089] [client 12.34.56.78:49514] client denied by server configuration: proxy:http://127.0.0.1:2082/cpsess7316180901/backend/passwordstrength.cgi, referer: https://cpanel.customer.tld/
[Tue Apr 28 09:22:02.950066 2020] [:error] [pid 3491089] [client 12.34.56.78:49514] [client 12.34.56.78] ModSecurity: collections_remove_stale: Failed to access DBM file "/var/cpanel/secdatadir/nobody-global": Permission denied [hostname "cpanel.customer.tld"] [uri "/___proxy_subdomain_cpanel/403.shtml"] [unique_id "XqhYKs3PgVaZDxwoJSC-kgAAAAM"], referer: https://cpanel.customer.tld/
[Tue Apr 28 09:22:02.950098 2020] [:error] [pid 3491089] [client 12.34.56.78:49514] [client 12.34.56.78] ModSecurity: collections_remove_stale: Failed to access DBM file "/var/cpanel/secdatadir/nobody-ip": Permission denied [hostname "cpanel.customer.tld"] [uri "/___proxy_subdomain_cpanel/403.shtml"] [unique_id "XqhYKs3PgVaZDxwoJSC-kgAAAAM"], referer: https://cpanel.customer.tld/
Code:
[28/Apr/2020:09:15:04 --0700] XqhWiI6b9kkqpENtqVbmfgAAAB8 12.34.56.78 49432 123.456.789.012 443
Apache-Error: [file "apache2_util.c"] [line 271] [level 3] [client 12.34.56.78] ModSecurity: collections_remove_stale: Failed to access DBM file "/var/cpanel/secdatadir/nobody-global": Permission denied [hostname "cpanel.customer.tld"] [uri "/___proxy_subdomain_cpanel/styled/current_style/sprites/icon_spritemap.png"] [unique_id "XqhWiI6b9kkqpENtqVbmfgAAAB8"]
Apache-Error: [file "apache2_util.c"] [line 271] [level 3] [client 12.34.56.78] ModSecurity: collections_remove_stale: Failed to access DBM file "/var/cpanel/secdatadir/nobody-ip": Permission denied [hostname "cpanel.customer.tld"] [uri "/___proxy_subdomain_cpanel/styled/current_style/sprites/icon_spritemap.png"] [unique_id "XqhWiI6b9kkqpENtqVbmfgAAAB8"]
[28/Apr/2020:09:22:02 --0700] XqhYKs3PgVaZDxwoJSC-kgAAAAM 12.34.56.78 49514 123.456.789.012 443
Apache-Error: [file "apache2_util.c"] [line 271] [level 3] [client 67.170.161.151] ModSecurity: collections_remove_stale: Failed to access DBM file "/var/cpanel/secdatadir/nobody-global": Permission denied [hostname "cpanel.customer.tld"] [uri "/___proxy_subdomain_cpanel/403.shtml"] [unique_id "XqhYKs3PgVaZDxwoJSC-kgAAAAM"]
Apache-Error: [file "apache2_util.c"] [line 271] [level 3] [client 12.34.56.78] ModSecurity: collections_remove_stale: Failed to access DBM file "/var/cpanel/secdatadir/nobody-ip": Permission denied [hostname "cpanel.customer.tld"] [uri "/___proxy_subdomain_cpanel/403.shtml"] [unique_id "XqhYKs3PgVaZDxwoJSC-kgAAAAM"]
Code:
[ [email protected] ~># ls -l /var/cpanel/secdatadir/
total 0
-rw-r----- 1 root root 0 Feb 10 16:15 global.dir
-rw-r----- 1 root root 0 Feb 10 16:15 global.pag
-rw-r----- 1 root root 0 Feb 10 16:15 ip.dir
-rw-r----- 1 root root 0 Feb 10 16:15 ip.pag
-rw-r----- 1 root root 0 Feb 10 16:15 nobody-global.dir
-rw-r----- 1 root root 0 Feb 10 16:15 nobody-global.pag
-rw-r----- 1 root root 0 Feb 10 16:15 nobody-ip.dir
-rw-r----- 1 root root 0 Feb 10 16:15 nobody-ip.pag
Code:
[Tue Apr 28 09:22:02.948384 2020] [:error] [pid 3491089] [client 12.34.56.78:49514] client denied by server configuration: proxy:http://127.0.0.1:2082/cpsess7316180901/backend/passwordstrength.cgi, referer: https://cpanel.customer.tld/
Last edited: