Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ls: 0653-341 The file ./filename does not exist.

Status
Not open for further replies.

oraytektips

Programmer
Jul 1, 2005
65
US
When I do ls -l on a directory I'm getting this file does not exist error.And it starts at 10min after every hour and lasts exactly 23 min.Everthing is fine after that.We tried everything but could not figure it what was causing it.Any help is appreciated.

Ray
 
hi,
if you do the command ls and you see listed "filename",
while if you do ls -l or ls -l filename you see the error,
it means that the file is listed in the directory, but in effect the file does not exist, then the directory/the filesystem has some problem.

You don't specify if this happens in a specific directory
or not. If it is not a system filesystem (/usr / /var) do:

# umount /yourfilesystem
# fsck -y /yourfilesystem
# mount /yourfilesystem

or copy the files in another dir, rename the original
in .old and the new with the original name.

The periodicity of the effect is strange: do a look at cron.

crontab -l
does an idea about what your user can have in cron table,
but see also in the table of all users:

/var/spool/cron/crontabs/*

To comment strange tasks (for your opinion) use
crontab -e or directly vi /var/spool/cron/crontabs/user
having the attention to save the original version in a safe place.

ciao
vittorio
 
hi,
Our rootvg has only jfs filesystems.We created a jfs2 filesystem in rootvg and the problem came back.But we are not seeing the error on jfs filesystems.

[root]:/backup # ls -l
ls: 0653-341 The file ./bf does not exist.
ls: 0653-341 The file ./.FILELIST does not exist.
ls: 0653-341 The file ./.1249520_sort does not exist.
ls: 0653-341 The file ./hmc does not exist.
ls: 0653-341 The file ./images does not exist.
ls: 0653-341 The file ./lost+found does not exist.
ls: 0653-341 The file ./virtual_io_server does not exist.
ls: 0653-341 The file ./ff does not exist.

[root]:/backup # ls
.1249520_sort bf hmc lost+found .FILELIST ff images virtual_io_server

Thanks!
Ray
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top