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.

Cron error...

Discussion in 'General Discussion' started by stevieb, Nov 9, 2004.

  1. stevieb

    stevieb Member

    Joined:
    Oct 31, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Hi every hour, i get an email saying

    /etc/cron.hourly/modsecparse.pl:

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

    Anyone know how to fix this?

    Please respond with very clear instructions, as i am a newie!

    Regards

    Steven Billings
     
  2. Aric1

    Aric1 Well-Known Member

    Joined:
    Oct 15, 2003
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    Yes:

    touch /usr/local/apache/logs/audit_log
     
  3. stevieb

    stevieb Member

    Joined:
    Oct 31, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Huh?

    Can you explain how i fix it?

    Regards

    Steven Billings
     
  4. Aric1

    Aric1 Well-Known Member

    Joined:
    Oct 15, 2003
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    The long version of what I already posted: ;)

    1) Log into your server via SSH as root
    2) Type the following:
    touch /usr/local/apache/logs/audit_log
    3) Press ENTER or RETURN or whatever it happens to be called on your keyboard.
    4) Log out of your server.
     
  5. stevieb

    stevieb Member

    Joined:
    Oct 31, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    LOL thanks.. ive done it now! told you i am a newbie!

    Ill see if it works in an hour.

    Thanks

    Steven Billings
     
  6. Aric1

    Aric1 Well-Known Member

    Joined:
    Oct 15, 2003
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
  7. stevieb

    stevieb Member

    Joined:
    Oct 31, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Sorted!

    Cheers - Sorted!

    Steven Billings
     
Loading...

Share This Page