Error during /etc/cron.daily/tmpwatch

Belaird

Well-Known Member
Jun 24, 2004
59
0
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?
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
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.