Could not create cache file | cmd: redirect.cgi
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.
-
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? 0 -
this is actually a addon domain, can you please guide how to check that permissions through WHM? 0 -
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. 0 -
Thanks i am submitting ticket. :) 0 -
That sounds good - if you could post the ticket number here once that is generated we can post a reply on how the issue was solved. 0 -
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 :( 0 -
Problem solved. it was due to a wordpress plugin which was trying to use more than alloted memory. thanks cpanel staff. 0 -
Great - I'm glad to hear you were able to get that resolved! 0
Please sign in to leave a comment.
Comments
9 comments