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!

SOLVED EasyApache4 using wrong log file?

Discussion in 'EasyApache' started by PabloC, Dec 1, 2017.

  1. PabloC

    PabloC Active Member

    Joined:
    Mar 24, 2015
    Messages:
    40
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Mar del Plata - Argentina
    cPanel Access Level:
    Website Owner
    Hi

    checking my lfd.log, I have found this. Could anyone tell me, if they are wrong, how to make it right?

    Nov 27 00:00:02 server4 lfd[26676]: EasyApache4, using /etc/apache2/logs/error_log instead of /usr/local/apache/logs/error_log (Web Server)
    Nov 27 00:00:02 server4 lfd[26676]: EasyApache4, using /etc/apache2/logs/error_log instead of /usr/local/apache/logs/error_log {ModSecurity}

    Thanks!
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,678
    Likes Received:
    71
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    Those log file locations are correct
    /usr/local/apache/ is the old location for EA3
    there is symbolic links there so you can view them
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. PabloC

    PabloC Active Member

    Joined:
    Mar 24, 2015
    Messages:
    40
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Mar del Plata - Argentina
    cPanel Access Level:
    Website Owner
    thanks!
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,889
    Likes Received:
    1,814
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm happy to see the question was answered. I'm marking this thread as solved.

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

    mariusfv Active Member

    Joined:
    Mar 24, 2013
    Messages:
    29
    Likes Received:
    4
    Trophy Points:
    78
    Location:
    Romania
    cPanel Access Level:
    Root Administrator
    In the last 2 days I have the same problem.

    In CSF -> /var/log/lfd.log:

    Code:
    Jan 28 08:53:12 server lfd[958]: EasyApache4, using /etc/apache2/logs/error_log instead of /usr/local/apache/logs/error_log (Web Server)
    Jan 28 08:53:12 server lfd[958]: EasyApache4, using /etc/apache2/logs/error_log instead of /usr/local/apache/logs/error_log {ModSecurity}
    Since this error CSF stop to analyse & ban from Modsecurity logs.

    My server:

    Easy Apache 4 (Apache 2.4, PHP 7.0, mpm_prefork)
    Cloudlinux
    CageFS
    Kernelcare
    CSF v11.05
    OWASP ModSecurity Core Rule Set V3.0

    Its an Easyapache 4 BUG?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,889
    Likes Received:
    1,814
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    That's not a bug, as it's correctly noting the changed path with EasyApache 4. As far as CSF functionality not working as expected, I suggest reporting the issue to the CSF support team so they can take a closer look.

    Thank you.
     
    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