The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mod_pagespeed and mod_ruid2 not working together

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

  1. kanbam

    kanbam Member

    Joined:
    Aug 16, 2013
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    CENTOS 6.6 x86_64, WHM 11.46.2 (latest), Easy Apache v3.28.2 (latest) , mod_pagespeed 1.9.32.3 (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:
    Code:
    [pagespeed:error] [pid 1905] [mod_pagespeed 1.9.32.3-4448 @1905] /var/mod_pagespeed/cache/********.tempchm4UJ:0: opening temp file: Permission denied [mod_pagespeed 1.9.32.3-4448 @1905]
    [pagespeed:error] [pid 28407] [mod_pagespeed 1.9.32.3-4448 @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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...
Similar Threads - mod_pagespeed mod_ruid2 working
  1. Tony Merlin
    Replies:
    1
    Views:
    256
  2. malioxha
    Replies:
    2
    Views:
    210
  3. Spork Schivago
    Replies:
    13
    Views:
    179
  4. net@work
    Replies:
    1
    Views:
    235
  5. ramil
    Replies:
    1
    Views:
    304

Share This Page