Hi, community My computer is running under Fedore9 Yesterday I turned it off and this morning find out that chmod doesnt work It doesnt work fo any file even under root account it just says Code: [mabp@mabp ~]$ chmod a+x 1.txt Segmentation fault even without parametrs it says the same Code: [mabp@mabp ~]$ chmod Segmentation fault i tried to scan and repair my file system with e2fsck Code: [mabp@mabp ~]$ /sbin/e2fsck -p /dev/sdb1/ but without any changes what can be wrong with my system? PS sorry for my poor english
You need to run fsck as root. Probably best to boot into single-user mode, or even a rescue disk might be needed as the filesystem being checked cannot be checked while mounted. Check all linux partitions except swap. chmod (in /bin) is dynamically linked, so the problem could be in one of the library files (in /lib) which could be on a different partition. Your problem could also be caused by some bad RAM. If you find nothing wrong with your disks, try running a memory testing tool such as memtest86+. I'd suggest you run it continuously for nothing less than 24 hours for a reliable test, unless it shows errors sooner than that.
Like ralic I think it's a hardware problem, but it's hard to tell which part it is. Could as well be the mainboard or anything else.
I did the same strace (but on ubuntu). They look very similar. Where yours crashes, mine seems to start doing locale activity. Maybe between reboots you have done something that has messed up your locale configuration? Can you check your locale setup and see if it is working or broken? I'm not a locale expert, but Code: locale -a seems like a useful test to check if it's working. I have it too and mine works. Probably not important for this particular problem.
Ok, probably not that then. Sorry, not sure what else to suggest. Maybe someone can help you re-install chmod on fedora...