Hi, > I am new to Linux World. I have installed Fedora Core release 2 (Tettnang) > with linux kernel version 2.6.5-1.358 > Installation went fine, but I am getting error whenever log on to system --> > > -sh: /usr/local/bin/grep: cannot execute binary file > -sh: /usr/local/bin/grep: cannot execute binary file Is this as soon as login or are you specifically trying to run /usr/local/bin/grep? Have you installed anything recently and more over, you need to run yum update to get your system up to date. > this error I am getting with all accounts. ( including root). I get > similar error when I tries to use vi or any other command. > -sh-2.05b$ vi > -sh: /usr/local/bin/vim: cannot execute binary file Sounds like something has gone mad on your system. > I checked the file permission. It's ok. ( read and executeto everyone.) > -sh-2.05b$ ls -l /usr/local/bin/vim > -rwxr-xr-x 1 root bin 409600 Jun 16 1997 /usr/local/bin/vim > > But I use the vim from /usr/bin then I don't getany error. It sounds like when you've done a source code install, something has broken on the non-rpm version. Try removing the source code version, run vi, if it works then you've a broken source version install. TTFN Paul -- Homer: Donut? Lisa: No, thanks. Do you have any fruit? Homer: This has purple stuff inside. Purple is a fruit.
Attachment:
signature.asc
Description: This is a digitally signed message part