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!

Just installed mod secure

Discussion in 'General Discussion' started by screege, Oct 23, 2004.

  1. screege

    screege Well-Known Member

    Joined:
    Aug 11, 2004
    Messages:
    190
    Likes Received:
    0
    Trophy Points:
    166
    Hi I just installed mod secure and now cron is sending me this every hour any ideas?

    /etc/cron.hourly/modsecparse.pl:

    cp: cannot stat `/usr/local/apache/logs/audit_log': No such file or directory

    Thank you
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Try restarting apache. If that doesn't work:

    touch /usr/local/apache/logs/audit_log

    Then restart apache again. You shouldn't have to "touch" the file if mod_security is enabled, but it will stop you getting emails ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. screege

    screege Well-Known Member

    Joined:
    Aug 11, 2004
    Messages:
    190
    Likes Received:
    0
    Trophy Points:
    166
    Thanks done that now I just have to wait to see if it works.

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