Operating Systems > Linux and UNIX
loading default keymap failed
dishawjp:
Hi All,
I was on my RH 6.2 box in text mode earlier today. I had just finished FTP'ing to and downloading some work files from my employer-provided network drive. I quit FTP and did a "ls" of the directory I had downloaded the files to and got a "segmentation fault (core dumped)" error message.
I got the same message even after doing a "su - root" I tried a reboot, but it hung and I had to power down before the file systems finished unmounting. Rebooting, among other things, I got a "loading default key map failed" error. The computer would boot and I could login as either myself or as root. But any time I tried the "ls" command I got another "segmentation fault (core dumped)" message. What is weird though is that if I use the "dir" command, I get a directory listing with no error message. Also, using the "rm" command gives the same error message and core dump. Every time I reboot, I get the "loading default key map failed" error.
Also, the "ps" command showed a "zombie process" that when I tried to "kill" it said "no such PID" but the process did quit.
Any thoughts? This is an old computer and will be replaced soon, but there is data on it I would like to keep although everything important is backed up (for a change). I tried a reinstall (update) with the RH CD and it hung hard. I could probably do a text mode reinstall, but would lose a lot of time restoring lost data and reconfiguring.
TIA for any help.
Jim
Stryker:
smells like my experiences with a trojan, someone tried to give me one. they succeeded, and i was getting similar problems. I had to reinstall, hopefully yours won't be so bad. (if you can't reinstall i'm sure reinstalling some rpms will do it just fine... after you get rid of the problem).
voidmain:
Have you run a fsck on the drive lately? Maybe the drive is going bad and one of the key libraries has a problem. I also have a machine with RedHat 6.2. I just looked at the startup scripts that load the default keymap and the command used is "loadkeys".
The common shared libraries for all of those commands (including "dir") are libc.so.6 and ld-linux.so.2. You might verify the glibc and fileutils packages by running:
# rpm -V glibc
# rpm -V fileutils
This will tell you if there are any inconsistencies with the associated files from install time (if you have a trojan file this will tell the tale). Also do a "which ls" which on my system is an alias for "ls --color" for "/bin/ls". The "/bin/ls" file is dated Mar 7 2000 and is 43024 bytes from the fileutils-4.0-21 package. Since your "ls" does not appear to work you can do a "dir -l /bin/ls" to check the size/date. Just some things to check. If you don't have the same version of fileutils that I do you won't have the same date/size on the ls command though.
dishawjp:
Hi void main and Stryker,
Just thought I'd let you folks know what it was. It was a virus of some sort. I had installed F-prot for Linux a few days previously and I ran it this afternoon. It had to delete over 27 files on the first run-through and.... hell, to make a long story short, I just finished reinstalling and configuring and all. Took about 4 hours. A big improvemnet from the 4 or so days my first Linux install took a couple of months ago. I've even got the apt-get program for Red Hat going again!
I just got my RH8 boxed set in the mail today and will be ordering my new computer from Linuxcomputersystems.com on Friday. I would really hate to have something like this happen to my new computer.
Any recommendations on firewalls and virus protection and all. I don't stay on-line for long (usually) and it's only a 56k connection. I've never managed to successfully infect a DOS/Windows computer and don't use any AV protection other than F-prot for DOS to check files.
I do have to use FTP quite a bit for work. That's the only method I have of accessing my network drives from home and that's how some little script kiddy puke nailed me this time.
Thanks again for your help and suggestions.
Jim
PS: Just want to wish everyone, or at least everyone who celebrates it, a great Thanksgiving!
Jim
[ November 27, 2002: Message edited by: DOSman ]
voidmain:
Wow, if this is true this would be the very first time in my UNIX history that I have ever talked to anyone that has actually had a virus. I would be very interested to learn more about this, exactly what it was you are referring to. And 4 hours is still way too long. On a fast machine it only takes me around 30 minutes from the time I stick the CD in, do a full install, and have it configured. But then I have been doing this for a while.
I've started a RedHat tips page last night that you might want to visit and make suggestions for things to add or change. I just finished my second tip which describes how to add MS True Type fonts. I will be adding my tips here, and then they can be easily transported to the MES FAQ.
Navigation
[0] Message Index
[#] Next page
Go to full version