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.

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:
    186
    Likes Received:
    0
    Trophy Points:
    16
    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,475
    Likes Received:
    20
    Trophy Points:
    38
    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 ;)
     
  3. screege

    screege Well-Known Member

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

    Thank you
     
Loading...

Share This Page