Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

mod_pagespeed and mod_ruid2 not working together

Discussion in 'EasyApache' started by kanbam, Jan 29, 2015.

  1. kanbam

    kanbam Member

    Aug 16, 2013
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    CENTOS 6.6 x86_64, WHM 11.46.2 (latest), Easy Apache v3.28.2 (latest) , mod_pagespeed (latest), PHP 5.5.21 (latest), Apache 2.4.10 (latest)

    The system was working with Apache 2.4 + SuPHP + mod_pagespeed + mod_security without troubles. But I learned that OPCache module was built into PHP 5.5 and I wanted to use it too. The problem is that SuPHP and OPCache do not work together.

    So I used Easyapache to compile and configure Apache 2.4 + mod_ruid2 + mod_pagespeed + mod_security + OPCache. Everything is working except mod_pagespeed, error log:
    [pagespeed:error] [pid 1905] [mod_pagespeed @1905] /var/mod_pagespeed/cache/********.tempchm4UJ:0: opening temp file: Permission denied [mod_pagespeed @1905]
    [pagespeed:error] [pid 28407] [mod_pagespeed @28407] Serf status 4(Interrupted system call) polling for 1 threaded fetches for 0.05 seconds
    Error log is full of those type of errors.

    I can get rid of "Permission denied" type errors temporarily if I change /var/mod_pagespeed/cache folder and subfolders to 777 permissions and pagespeed works well, but when new files and folders are generated by the pagespeed module the permissions are not 777 anymore and in starts to fail again.
    The "Serf status 4(Interrupted system call)" error I don't know what causes it and how to solve the problem.

    What can I do?
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice