Getting a strange error with a log file below. This is just a normal text log file that is written to by an application on the server. The applicaiton is down, however, I cannot read, remove or touch this file. The file shows on an ls listing but not an ls -al listing.
The file system is JFS2 on a SAN. AIX 6.1.
Any ideas how I can get rid of this file and its containing directory?
Thanks!
/>ls
E17Temr.err E17Temr.log E17Temr.log.old exit_log startup_log
/>ls -al
ls: 0653-341 The file ./E17Temr.err does not exist.
total 48
drwxrwxr-x 2 hci staff 4096 Jan 18 09:27 .
drwxrwxr-x 23 hci staff 4096 Jan 18 09:20 ..
-rw-rw-r-- 1 hci staff 99 Jan 18 09:27 E17Temr.log
-rw-rw-r-- 1 hci staff 99 Jan 18 09:27 E17Temr.log.old
-rw-rw-r-- 1 hci staff 70 Jan 18 09:27 exit_log
-rw-rw-r-- 1 hci staff 245 Jan 18 09:27 startup_log
/>rm E17Temr.err
rm: E17Temr.err: A file, file system or message queue is no longer available.
/>touch E17Temr.err
touch E17Temr.err:A file, file system or message queue is no longer available.
touch: 0652-048 Cannot change the modification time on E17Temr.err.
/>cat E17Temr.err
cat: 0652-050 Cannot open E17Temr.err.
---------- Post updated at 12:08 PM ---------- Previous update was at 10:02 AM ----------
The solution to this problem was to unmount the file system and run a file system check. Appartently either the I-node or direcotory was corrupted.
Thanks,
Troy