Search code examples
centos7google-pagespeeddirectadmin

Google PageSpeed Apache Error log CentOS


I installed the Google PageSpeed module to my CentOS 7.0 DA VPS. I used this blog, by installing the PageSpeed module: http://www.haloseeker.com/install-go...h-directadmin/

When I check my Apache Error Log, I found the following errors:

[pagespeed:error] [pid 2593] [mod_pagespeed 1.11.33.1-0 @2593] Could not create directories for file /var/cache/mod_pagespeed/v3/domain.com/https,3A/,2Fwww.domain.com/icon_feed.gif,.temp
[pagespeed:error] [pid 2593] [mod_pagespeed 1.11.33.1-0 @2593] /var/cache/mod_pagespeed/v3/domain.com/https,3A/,2Fwww.domain.com/icon_feed.gif,.temp8f2OKe:0: opening temp file: No such file or directory
[pagespeed:error] [pid 2673] [mod_pagespeed 1.11.33.1-0 @2673] Failed to make directory /var/cache/mod_pagespeed/v3/domain.com/https,3A/,www.domain.com/images: Permission denied

How can I solve this problem?


Solution

  • Try to update your directory permission with the following command and let me know if you have any issues.

     chmod -R a+w /var/cache/mod_pagespeed