Skip to main content

Mod Security Hit List is empty and Internal error in modsec log

Comments

3 comments

  • cPanelMichael
    Hello, Would you mind opening a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • postcd
    Thx for an advice, i submitted ticket and this is the final reply by the cpanel staff: After continued research, I found that your custom configuration relocated the ModSecAuditLog. I created a backup of your existing configuration, and made the following changes as shown: ==== [11:26:22 host1 root@7542771 /usr/local/apache/conf]cPs# cp -av modsec2.user.conf{,.7542771.bak} `modsec2.user.conf' -> `modsec2.user.conf.7542771.bak' [11:35:38 host1 root@7542771 /usr/local/apache/conf]cPs# diff modsec2.user.conf.7542771.bak modsec2.user.conf 51,52c51,53 < SecAuditLogType Serial < SecAuditLog logs/mod_security.log --- > #SecAuditLogType Serial > #SecAuditLog logs/mod_security.log > SecAuditLog /usr/local/apache/logs/modsec_audit.log 55c56 < SecDataDir logs/mod_security-data --- > #SecDataDir logs/mod_security-data ==== After doing so, you'll notice your Hits List is now being populated. ---- so it appears issue is solved
    0
  • cPanelMichael
    I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.