My original message:
----- Begin Included Message -----
>From sun-managers-relay@ra.mcs.anl.gov Tue Sep 13 03:32:14 1994
Sender: sun-managers-relay@ra.mcs.anl.gov
Date: Mon, 12 Sep 94 09:46:27 EDT
From: asargusi@sbrsim.ed.dreo.dnd.ca (Ayrton Sargusingh)
Reply-To: asargusi@sbrsim.ed.dreo.dnd.ca (Ayrton Sargusingh)
Followup-To: junk
To: sun-managers@eecs.nwu.edu
Subject: find aborts with errors
Content-Length: 4508
Dear Sun Managers:
I have a strange problem that is occuring with find. When I try to use
find, such as 'find / -name hosts -print', find aborts after a few
seconds and I get the following feedback:
find: cannot stat /home/marccur/removdir.com: No such file or directory
find: cannot stat /home/marccur/showver.exe: No such file or directory
find: cannot stat /home/marccur/3com: No such file or directory
find: cannot stat /home/mcpherson: No such file or directory
find: cannot stat /home/mgibb: No such file or directory
find: cannot stat /home/moffat: No such file or directory
find: cannot stat /home/raytheon: No such file or directory
find: cannot stat /home/richard: No such file or directory
find: cannot stat /home/roy: No such file or directory
find: cannot stat /home/sbr_cm: No such file or directory
find: cannot stat /home/smaskell: No such file or directory
find: cannot stat /home/tutorial: No such file or directory
find: cannot stat /home/pfenwick: No such file or directory
find: cannot stat /home/net_res: No such file or directory
find: cannot stat /home/asargusi: No such file or directory
find: cannot stat /home/visitor: No such file or directory
find: cannot stat /home/rcarroll: No such file or directory
find: cannot stat /usr: No such file or directory
find: cannot stat /pcfs: No such file or directory
find: cannot stat /export: No such file or directory
find: cannot stat /etc: No such file or directory
find: cannot stat /tmp: No such file or directory
find: cannot stat /var: No such file or directory
find: cannot stat /dev: No such file or directory
find: cannot stat /mnt: No such file or directory
find: cannot stat /sbin: No such file or directory
find: cannot stat /bin: No such file or directory
find: cannot stat /lib: No such file or directory
find: cannot stat /sys: No such file or directory
find: cannot stat /.cshrc: No such file or directory
find: cannot stat /.login: No such file or directory
find: cannot stat /.profile: No such file or directory
find: cannot stat /.rhosts: No such file or directory
find: cannot stat /vmunix: No such file or directory
find: cannot stat /kadb: No such file or directory
find: cannot stat /boot: No such file or directory
find: cannot stat /sbrsim2: No such file or directory
find: cannot stat /cdrom: No such file or directory
find: cannot stat /sbrsim3: No such file or directory
find: cannot stat /other: No such file or directory
find: cannot stat /sbrsl_run: No such file or directory
find: cannot stat /thirdParty: No such file or directory
find: cannot stat /oracle_data: No such file or directory
find: cannot stat /dos: No such file or directory
find: cannot stat /News: No such file or directory
find: cannot stat /net: No such file or directory
find: cannot stat /.wastebasket: No such file or directory
find: cannot stat /.Xdefaults: No such file or directory
find: cannot stat /.cshrc.old: No such file or directory
find: cannot stat /.Xauthority: No such file or directory
find: cannot stat /.newsrc: No such file or directory
find: cannot stat /.rnlast: No such file or directory
find: cannot stat /.rnsoft: No such file or directory
find: cannot stat /.forward: No such file or directory
find: cannot stat /.oldnewsrc: No such file or directory
find: cannot stat /vmunix.940819: No such file or directory
find: cannot stat /vmunix.orig: No such file or directory
find: cannot stat /.bash_history: No such file or directory
find: cannot stat /.desksetdefaults: No such file or directory
This is a much shortened list, but shows the essence of what occurs.
I am runing SunOS 4.1.3_U1 (level B) with applied patches 100444-58,
100448-02, 101434-03 (done so far) on a SPARC 20 model 61.
All the partitions listed here are locally mounted with the exception
of sbrsim2 and sbrsim3. There is only one directory that I know of that
has 700 permissions and it resides in /usr/local and is not listed above.
I was told there may be problems with find if there are 700 directories
present on the filesystem being checked. Still, I chmod them to 777 to
test but the same thing occurred. Funny thing, but it is always the same
files that are displayed when find aborts.
I have already logged a call with Sun but no one can give me a reasonable
answer or how to resolve it. As a result of this many of my scripts abort
prematurely. Oh another note, there is no find database in /usr/lib/find,
and there is no FCODES environment variable set.
-------
Ayrton Sargusingh
SBR System Manager
asargusi@sofkin.ca
----- End Included Message -----
Thanks to all those who responded so promptly:
Wolf Gruter
Mike Phillips
Andrew Watkins
Gregg Siegfried
Chris Wozniak
Mike Phillips was right on the button with the hard linked directories. A
user 'marccur' hard linked two directories last week... and I even helped
him with it. It never crossed my mind that that would be the problem.
Mike, Andrew, Gregg, and Chris all suggested running fsck in single
user. Doing that brought the problem to the surface with 'extraneous
hard links to directories found, delete?'. I was fooled by fsck saying
the file systems were stable. Thanks again, and perhaps I will be more
prone to ask more questions here than to contact Sun Service (which I
did but got no solution).
-------
Ayrton Sargusingh
SBR System Manager
asargusi@sofkin.ca
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:09 CDT