Failed to make directory Permission denied

Nirjonadda

Well-Known Member
May 8, 2013
736
27
78
cPanel Access Level
Root Administrator
Hello,

Everyday I get my site down for 3/5 minutes from following error message. Please let me know that how I can get fixing this error?

Code:
[Tue Aug 15 19:06:43.963322 2017] [pagespeed:error] [pid 10383:tid 139862369806080] [mod_pagespeed 1.11.33.4-0 @10383] Failed to make directory /var/mod_pagespeed/cache/rname: Permission denied
[Mon Aug 14 10:55:47.542228 2017] [pagespeed:warn] [pid 19236:tid 140061232330496] [mod_pagespeed 1.11.33.4-0 @19236] Failed to read cache clean timestamp /var/mod_pagespeed/cache/!clean!time!.
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello,

There's an existing thread referencing that error message at:

mod_pagespeed errors

Keep in mind that mod_pagespeed as provided in the EA4 experimental repo has not yet reached a stable status and isn't recommended on production machines. You can follow the progress of the feature request and add comments to it at:

Add support for mod_pagespeed to easyapache4

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello,

In addition to my previous post, keep in mind that mod_pagespeed will not work properly with per-user MPMs (e.g. MPM ITK). This is something we'll document (and likely create a package conflict for during the install process) once Mod_Pagespeed is no longer in the experimental phase.

Thank you.
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
96
78
India
cPanel Access Level
Root Administrator
Twitter
/var/mod_pagespeed/cache - 0755, What permission need for this folder?
It would have been better if you would have provided the exact output of below command:
# ls -ld /var/mod_pagespeed/cache
# ls -ld /var/mod_pagespeed
Try setting full permission to this. Also make sure to check what user is allowed to use this..