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.

ModSecurity is not logging to cPanel

Discussion in 'EasyApache' started by peterw, Sep 28, 2013.

  1. peterw

    peterw Registered

    Joined:
    Sep 28, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I installed ModSecurity via EasyApache. ModSecurity is working properly and I can see attacks stopped via the modsec_audit.log file. In cPanel though when I click on ModSecurity I do not see any attacks in the front end GUI. How can I fix this so that attacks show up in the cPanel GUI as well?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Check the following log file when accessing the Mod_Security interface in WHM to see if you notice any particular error output:

    Code:
    /usr/local/cpanel/logs/error_log
    Thank you.
     
  3. cPanelKevinS

    cPanelKevinS Member
    Staff Member

    Joined:
    Mar 7, 2013
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    An hourly cron job transfers the contents of the log file to the MySQL database; the database contents are then displayed in WHM. So it may take up to an hour for logged transactions to show up in WHM.

    If it's been over an hour and you still see nothing, please open a ticket with support.
     
Loading...

Share This Page