SOLVED Could not create cache file | cmd: redirect.cgi

howardfmcw

Active Member
Dec 26, 2019
36
4
8
UK
cPanel Access Level
Root Administrator
Am getting error in cpanel error logs, my site sometimes got 500 Error. when i see error logs, getting these errors. can somebody please guide?

Cpanel::Config::LoadConfig::_do_logger("warn", "Could not create cache file \x{e2}\x{80}\x{9c}/home/hoardwe/.cpanel/caches/"...) called at /usr/local/cpanel/Cpanel/Config/LoadConfig.pm line 466
Cpanel::FileUtils::Write::JSON::Lazy::write_file("/home/hoardwe/.cpanel/caches/config/_etc_cpanel_ea4_paths.co"..., HASH(0x109b818), 384) called at /usr/local/cpanel/Cpanel/Config/LoadConfig.pm line 459
Cpanel::FileUtils::Write::eek:verwrite("/home/hoardwe/.cpanel/caches/config/_etc_cpanel_ea4_paths.co"..., "{\"file_conf\":\"/etc/apache2/conf/httpd.conf\",\"bin_apachectl\":\""..., 384) called at /usr/local/cpanel/Cpanel/FileUtils/Write/JSON/Lazy.pm line 54
Cpanel::FileUtils::Write::_write_to_tmpfile("/home/hoardwe/.cpanel/caches/config/_etc_cpanel_ea4_paths.co"..., "{\"file_conf\":\"/etc/apache2/conf/httpd.conf\",\"bin_apachectl\":\""..., 384, CODE(0x109bd10)) called at /usr/local/cpanel/Cpanel/FileUtils/Write.pm line 102
[2019-12-22 15:49:28 +0100] warn [suspendedpage] Could not create cache file


Latest suexec error log messages:


[2019-12-25 03:23:26]: uid: (1010/hoardwe) gid: (1011/hoardwe) cmd: redirect.cgi


have full root WHM access. waiting for guidance.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,469
2,842
363
cPanel Access Level
Root Administrator
Hey there! This looks like it may be a permissions problem with that user. The correct permissions for both /home/username/.cpanel and /home/username/.cpanel/caches are 700, with username:username ownership. Can you make sure that is setup correctly on the account experiencing this issue?
 
  • Love
Reactions: howardfmcw

howardfmcw

Active Member
Dec 26, 2019
36
4
8
UK
cPanel Access Level
Root Administrator
Hi, yes i checked in cpanel, permissions are 700 fine. i thought some other permissions you were talking, but yes permissions are 0700 for cpanel caches.
 

howardfmcw

Active Member
Dec 26, 2019
36
4
8
UK
cPanel Access Level
Root Administrator
Sure ticket #93413934 .
the errors issue was resolved as staff member said in that ticket, but my problem is still not resolved.
problem is user receiving Internal error 500 1-3 times in a day, first when he complaint i checked and saw disk usage was full so i deleted his extra and useless files, after that he complaint again then i see error logs again and submit complaint here, now staff member saying that 500 error was occured last in 19 december also this user issue was due to disk over usage. but now disk usage issue solved but still he is getting this internal 500 error.

Can't understand :(