PDA

View Full Version : Segmentation fault, Help


hci
08-11-2006, 02:27 PM
Just ssh'ed into my DA server based on CentOS and this is what I get.

[root@server ~]# ls
Segmentation fault
[root@server ~]#

Everything seems to work fine except for ssh. I am in a bit of a panic since I have no recent backups. I just installed a 2nd drive and planned on running a backup to it once a week but have yet to get it fdisked or formated.

Can anyone tell me what to do here?

Matthew

jlasman
08-11-2006, 09:28 PM
We can start by telling you that ssh is not the culprit.

The culprit may be the ls command.

Do other commands cause segmentation faults? If so, then the problem may be anything as simple as bad memory, or as complicated as a hacked server.

Do all commands cause segmentation faults?

Jeff

existenz
08-12-2006, 07:01 PM
That can also happen when the disk is going bad, some commands are in memory but need to access the disk, if the disk of filesystem is corrupt you can get errors like that. You can tell most of the time if their is a delay before the segfault message appears.

Like Jeff said I bet the real cause is a hacker check the file attributes of the binary's with lsattr command, if you see anything other than dashes paste it here.