1

I am using Magento ver. 1.11.2.0. Site is having an error in admin side "cache_dir is not writable". Site frontend is working fine and in admin side only dashboard and configuration first page is working. other pages in admin side is giving this error "cache_dir is not writable". I checked the cache and var folder permission ,permission is set to 0777. I deleted the cache folder too. error is still not gone.

2
  • Does var folder have full permissions also?
    – Nikitas
    Dec 19, 2013 at 6:22
  • Yes var folder has full permission(0777) Dec 19, 2013 at 6:49

1 Answer 1

3

You'll get this error if your disk is full or partition has run outof inodes. Also check if /tmp/magento exists. Usually it's that partition that's the real cause. In these cases, suphp or mod_ruid is usually in play, denying access to the var/ directory because it's owner is not the right user and Magento will fall back to /tmp/magento. Then add the default tmp_dir for php sessions and MySQL temporary tables and you have your scenario for randomly seeing this error.

3
  • Thanks for your answer , i checked /tmp/magento is not exist. 19 gb full space available on the disk. Other two magento site is also working on that disk space , other sites are working fine. Can you please tell me what is the problem in this site? Thanks in advance Dec 19, 2013 at 11:21
  • Did you check inodes? (df -i) Dec 19, 2013 at 14:21
  • We checked inodes(df -ih) Dec 20, 2013 at 11:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.