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.

Logrotate Errors after Compilers Tweak(?)

Discussion in 'General Discussion' started by web12, Oct 22, 2004.

  1. web12

    web12 Well-Known Member

    Joined:
    Nov 20, 2002
    Messages:
    240
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    I thought I would enable the compilers restriction tweak in WHM yesterday, and this morning in my Cron emails I received the following
    So i ran logrotate from the command line, and sure enough the permission denied errors appear there too.

    Now, ive allowed root access to the compilers, but should there maybe something else added to allow logrotate.conf to work or have I missed a trick here and done something wrong?

    tia
     
  2. web12

    web12 Well-Known Member

    Joined:
    Nov 20, 2002
    Messages:
    240
    Likes Received:
    0
    Trophy Points:
    16
    Hmmm.. .ok, I think I found the problem and it was nothing to do with the compilers tweak.

    This was actually an addition I made to one of the logrotation files to rotate the domlogs, and where I copied and pasted it from a forum post it added 2>/dev/null instead of >/dev/null

    Just running logrotate again to make sure that cured the problem, but looks promising.
     
Loading...

Share This Page