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.

/var/log/sa/sa03

Discussion in 'General Discussion' started by jestin_virtual, Sep 3, 2009.

  1. jestin_virtual

    jestin_virtual Active Member

    Joined:
    Sep 2, 2009
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Hello ,


    i have removed my log files using below command :
    Command : rm -Rf /var/log/*

    i`m receiving an email from "Cron Daemon" after removing

    Cannot open /var/log/sa/sa03: No such file or directory

    what to do ? will the problem solve automatically after 1 day or i have to recreate the folder manually ?
     
  2. MattCurry

    MattCurry Well-Known Member

    Joined:
    Aug 18, 2009
    Messages:
    275
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Tx
    Sub directories

    Hello,


    It looks like when you did the "rm -Rf" you did a recursive delete, so yes everything under that directory is gone. So if it pointing to that path you would need to recreate it. However, if there is still an error you may want to open a ticket.

    These are the log directories for SAR:
    sar(1) - Linux man page

    So if you recreate the dir's it should work for you.

    Thank you,
    Matthew Curry
     
  3. jestin_virtual

    jestin_virtual Active Member

    Joined:
    Sep 2, 2009
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6

    Hello ,

    Will all directories Re-create twice if i rebuild the apache ? ( i mean important Directories )

    have checke another server ( /var/log ) there were some another directories such as : "Mail &......" However i haven`t recived any notification regarding those directories , but let me know those directories might have any problem .
     
  4. MattCurry

    MattCurry Well-Known Member

    Joined:
    Aug 18, 2009
    Messages:
    275
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Tx
    Sub directories

    Hello,

    The directories will not be made twice as they are not related, that should not be an issue for you. I hope that gets you fixed up.

    Thank you,
    Matthew Curry
     
  5. jestin_virtual

    jestin_virtual Active Member

    Joined:
    Sep 2, 2009
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6


    Thank you very much , i have recreated "sa" directory manually , the problem has solved ,

    would you please handle the below topic ?
    http://forums.cpanel.net/f34/mail-notification-root-129881.html#post563013
     
  6. jestin_virtual

    jestin_virtual Active Member

    Joined:
    Sep 2, 2009
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Hello , i have received another notification today :( pls help



    subject : Cron <root@server> run-parts /etc/cron.daily




    /etc/cron.daily/logrotate:

    error: error accessing /var/log/conman: No such file or directory
    error: conman:5 glob failed for /var/log/conman/*
    /etc/cron.daily/prelink:

    /etc/cron.daily/prelink: line 45: /var/log/prelink/prelink.log: No such file or directory
    /etc/cron.daily/prelink: line 46: /var/log/prelink/prelink.log: No such file or directory
    /etc/cron.daily/prelink: line 47: /var/log/prelink/prelink.log: No such file or directory
    /etc/cron.daily/rkhunter.sh:

    Null message body; hope that's ok
     
Loading...

Share This Page