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!

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:
    156
    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,701
    Likes Received:
    72
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    yes

    your hard may be failing

    I would check your /var/log messages for more drive errors
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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