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!

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:
    151
    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:
    166
    cPanel Access Level:
    DataCenter Provider
    Yes:

    touch /usr/local/apache/logs/audit_log
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. stevieb

    stevieb Member

    Joined:
    Oct 31, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    151
    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:
    166
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. stevieb

    stevieb Member

    Joined:
    Oct 31, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    151
    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:
    166
    cPanel Access Level:
    DataCenter Provider
    np, we all were once... :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. stevieb

    stevieb Member

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

    Cheers - Sorted!

    Steven Billings
     
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