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!

Apache error log full

Discussion in 'EasyApache' started by carock, Jul 31, 2018.

Tags:
  1. carock

    carock Well-Known Member

    Joined:
    Sep 25, 2002
    Messages:
    259
    Likes Received:
    7
    Trophy Points:
    168
    Location:
    St. Charles, MO
    I can't find why my Apache error log is filling up with errors from scripts that seem to be executing normally.

    I have several site that log every single execution of any php file in them in the Apache error log with the following similar entries.

    [Tue Jul 31 10:52:41.843253 2018] [cgi:error] [pid 29863] [client 10.100.1.28:58686] AH01215: Tue Jul 31 10:52:41 2018 (29901): Message Cached script '/home/.../src/classes/mark-lessons-complete.php: /usr/local/cpanel/cgi-sys/ea-php70, referer:

    [Tue Jul 31 10:52:41.816439 2018] [cgi:error] [pid 29837] [client 10.100.1.28:58687] AH01215: Tue Jul 31 10:52:41 2018 (29902): Message Cached script '/home/fastt/public_html/wp-content/plugins/revslider/includes/extension.class.php': /usr/local/cpanel/cgi-sys/ea-php70, referer:

    [Tue Jul 31 10:52:41.681481 2018] [cgi:error] [pid 29809] [client 10.0.200.254:59466] AH01215: Tue Jul 31 10:52:41 2018 (29907): Message Added key '/home/deskman/public_html/vendor/composer/../laravel/framework/src/Illuminate/Database/Eloquent/Relations/HasOne.php': /usr/local/cpanel/cgi-sys/ea-php70, referer:

    No errors are showing up in the individual site error_log files.

    Anyone have any ideas?

    One compressed log file in the log archive is 21 Gig. Uncompressed, it's probably around 80 gig.

    The php applications are working normally as far as users are experiencing.

    For now, I made the cgi loglevel critical and the lines have stopped.

    Thanks,
    Chuck
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello Chuck,

    It looks like the log output stems from OpCache. Are you using the OPCache PHP extension on this server? If so, the following PHP document notes the configuration settings you can alter to adjust the log location and verbosity:

    PHP: Runtime Configuration - Manual

    Let me know if this helps.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. carock

    carock Well-Known Member

    Joined:
    Sep 25, 2002
    Messages:
    259
    Likes Received:
    7
    Trophy Points:
    168
    Location:
    St. Charles, MO
    Editing that opcache.log_verbosity_level worked great.

    However, I was unable to get Apache to recognize the change unless I edited the master file, /opt/cpanel/ea-php70/root/etc/php.d/10-opcache.ini

    I don't know if that's going to stick around. I tried using the WHM MultiPHP.ini editor and also the individual account php.ini editor.

    Neither would show the change when running phpinfo until I edited the master file. Local and global values always show 3

    Is there another place this change should be?

    Thanks,
    Chuck
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello Chuck,

    Are you using PHP-FPM for your accounts?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. carock

    carock Well-Known Member

    Joined:
    Sep 25, 2002
    Messages:
    259
    Likes Received:
    7
    Trophy Points:
    168
    Location:
    St. Charles, MO
    It is installed in EasyApache for my PHP7.0
     
  6. carock

    carock Well-Known Member

    Joined:
    Sep 25, 2002
    Messages:
    259
    Likes Received:
    7
    Trophy Points:
    168
    Location:
    St. Charles, MO
    Doing some more searching around, it looks like it is related to your internal case CPANEL-11563
     
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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