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.

system logs not rotatiting

Discussion in 'Data Protection' started by lawrence.dcosta, May 31, 2006.

  1. lawrence.dcosta

    lawrence.dcosta Active Member

    Joined:
    Oct 6, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Hi All

    Recently we had a system crash and was restored from backup. Now we are seeing that the log files are not getting weekly rotated and zipped .gz

    If any one has faced this issue please help

    Lawrence
     
  2. avijit

    avijit Well-Known Member

    Joined:
    Jul 26, 2004
    Messages:
    116
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Make sure that the syslog is running so that the logs are rottated properly.

    Check by : service syslog status

    If it says that it is stopped : service syslog start

    Also make sure that crond is running:
    check by : service crond status

    if not running start it.
     
  3. lawrence.dcosta

    lawrence.dcosta Active Member

    Joined:
    Oct 6, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Hi Avijit

    Both the services are running

    Lawrence
     
  4. eger

    eger Well-Known Member

    Joined:
    Feb 28, 2003
    Messages:
    128
    Likes Received:
    0
    Trophy Points:
    16
    What OS are you running?
     
  5. lawrence.dcosta

    lawrence.dcosta Active Member

    Joined:
    Oct 6, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    we are running Redhat 9
     
  6. eger

    eger Well-Known Member

    Joined:
    Feb 28, 2003
    Messages:
    128
    Likes Received:
    0
    Trophy Points:
    16
    There is an issue on RHES4/CentOS 4 with logrotate no working properly with a /tmp mounted noexec. Don't think it would apply to RH9 though.
     
Loading...

Share This Page