[NCLUG] error message
Kennan Blehm
kmblehm at sigkill.com
Mon Aug 6 16:27:40 MDT 2001
On Mon, 6 Aug 2001, Bryan Stillwell wrote:
> >[root at anvar kmblehm]# ls -l /usr/bin/top
> >-r-sr-xr-x 1 518 518 266140 Mar 7 2000 /usr/bin/top
> >[root at anvar kmblehm]# chmod 555 /usr/bin/top
> >chmod: /usr/bin/top: Operation not permitted
>
> Well, that's rather unusual. Perhaps your root filesystem is readonly
> or the file is set immutable. Also why is the file ownership 518.518?
>
> To check if the filesystem is read-only, run `cat /proc/mounts`, if it
> says something like:
>
> /dev/hda1 / ext2 ro 0 0
>
>
> It's readonly and you'll have to probably fsck it and then remount it:
>
> fsck -C /dev/hda1 && mount -o remount,rw /dev/hda1
[root at anvar kmblehm]# cat /proc/mounts
/dev/root / ext2 rw 0 0
/proc /proc proc rw 0 0
none /dev/pts devpts rw 0 0
/dev/hda3 /home/kmblehm/PLAY ext2 rw 0 0
/dev/hda4 /slashmount ext2 rw 0 0
[root at anvar kmblehm]#
I'm confused about /dev/root.
[root at anvar kmblehm]# ls -l /dev/root
ls: /dev/root: No such file or directory
[root at anvar kmblehm]#
Plus hda1 didn't even show up. FYI, I'm working on a rhat 6.2 box.
Thanks for the pointers...
____________________________________________________________________
Kennan Blehm kmblehm at sigkill.com
"A chicken or a duck is a mistake when you do 'Swan Lake'." -F.G.
--------------------------------------------------------------------
More information about the NCLUG
mailing list