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.

Error during /etc/cron.daily/tmpwatch

Discussion in 'General Discussion' started by Belaird, Apr 24, 2005.

  1. Belaird

    Belaird Well-Known Member

    Joined:
    Jun 24, 2004
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Starting getting these errors during the cron to clean tmp

    /etc/cron.daily/tmpwatch:

    error: failed to lstat /tmp/clamav-94d78905dee0b74b: Input/output error
    error: failed to lstat /tmp/clamav-b5e8cd67eda3bac8: Input/output error
    error: failed to lstat /tmp/clamav-aa171ac58f42084b: Input/output error


    Doing an LS gives me similar results

    ls -al clamav*
    /bin/ls: clamav-94d78905dee0b74b: Input/output error
    /bin/ls: clamav-aa171ac58f42084b: Input/output error
    /bin/ls: clamav-b5e8cd67eda3bac8: Input/output error

    Is this a corrupted directory/file?
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    yes

    your hard may be failing

    I would check your /var/log messages for more drive errors
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If you have secured /tmp with /scripts/securetmp and therefore /tmp is a virtual drive, then it is not a serious issue and you can simple recreate the virtual drive.

    Also, if /tmp is a separate partition on disk and not a virtual one, then it could be a corrupt filesystem on the partition which again you can repair by deeting and recreating the partition.
     
Loading...

Share This Page