home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!yale.edu!nigel.msen.com!sdd.hp.com!elroy.jpl.nasa.gov!ames!olivea!sgigate!odin!twilight!zuni!anchor!olson
- From: olson@anchor.esd.sgi.com (Dave Olson)
- Newsgroups: comp.sys.sgi
- Subject: Re: Cron script problems
- Message-ID: <prk1on4@zuni.esd.sgi.com>
- Date: 14 Sep 92 18:29:04 GMT
- References: <32567@adm.brl.mil>
- Sender: news@zuni.esd.sgi.com (Net News)
- Organization: Silicon Graphics, Inc. Mountain View, CA
- Lines: 30
-
- In <32567@adm.brl.mil> bob@caw2.4950tw.wpafb.af.mil (Bob Plested) writes:
-
- | Hello all,
- | My machine has a crontab entry which, among other things, runs every morning
- | at 5:00 am looking for old garbage to delete. It looks something like this:
- |
- | 0 5 * * * find / -local -type f '(' -name core -o
- | -name dead.letter ')' -atime +7 -mtime +7 -exec rm -f '{}' ';'
- |
- | All on one line. This is the command as distributed by SGI, I've not changed
- | it.
- | When it runs (every day for the past couple of weeks) I get...
- |
- | find: stat() failed: /usr/catman/u_man/cat1/what.z: No such file or directory
- | find: stat() failed: /usr/catman/u_man/cat1/whatis.z: No such file or directory
- | find: stat() failed: /usr/catman/u_man/cat1/whereis.z: No such file or directory
- | find: stat() failed: /usr/catman/u_man/cat1/which.z: No such file or directory
- | find: stat() failed: /usr/catman/u_man/cat1/who.z: No such file or directory
- | find: stat() failed: /usr/catman/u_man/cat1/whoami.z: No such file or directory
-
- Are you getting disk errors in /usr/adm/SYSLOG at about the same time,
- or other messages about corrupted directories or the like? For 'volatile'
- directories, like /tmp or /usr/spool/mqueue it is not unreasonable to get
- messages like this for files that existed when the readdir() syscall was
- executed, but were removed by the time find got around to stat'ing the
- file itself, but for directories like cat1, this isn't reasonable.
- --
- Let no one tell me that silence gives consent, | Dave Olson
- because whoever is silent dissents. | Silicon Graphics, Inc.
- Maria Isabel Barreno | olson@sgi.com
-