[NTLUG:Discuss] re: Linux box crash...revisited...ACHHH
Wayne Dahl
w.dahl4 at verizon.net
Fri Dec 27 13:26:15 CST 2002
At 12:48 PM 12/27/2002 -0600, you wrote:
>Thanks for the help guys.
>
>I thought I had tried this, but obviously, I hadn't. What worked was
>
>fsck -t ext /usr
>
>That got fsck running and enabled me to fix the filesystem...however,
>after it finished and I exited the bash shell, when the system rebooted,
>I did get a failure error...I don't remember the exact words, but it was
>something like...
>
>mount error /usr/local /mnt /usr/local is not a directory. /usr/local is
>its own partition on /dev/hdc3 and when I try to mount it as root, I get
>this error....
>
>mount: mount point /usr/local is not a directory.
>
>So it appears something has happened to /usr/local now. Would running
>fsck on it help?
I ran fsck on it...didn't help...came up clean...BUT...
I think I've found the answer to this question. When I do ls -l local from
/usr, I get no file attributes...no permissions and it's NOT a directory
any more. It's just a file with no permissions owned by root. Somehow,
it's been changed. So I should just have to do a chmod to add permissions
to it. After that, since it's a file and not a directory, should I remove
it and mkdir local to fix this? Can it be that simple?
Thanks for all the help guys...you've been a lifesaver.
Wayne
More information about the Discuss
mailing list