LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   getting "segmentation fault" when trying to ls (https://www.linuxquestions.org/questions/linux-software-2/getting-segmentation-fault-when-trying-to-ls-420089/)

kennmurrah 02-27-2006 12:36 PM

getting "segmentation fault" when trying to ls
 
Greetings.

I'm getting a segmentation fault whenever I try to "ls" to see the contents of my directories ... I can "cd" at will, and the web server is still functioning properly, because I can add orders to web sites, access the mysql database, etc. What I *cannot* do is list directories, nor can I access samba shares on that box from my Windows computer ...

What's going on, and what can I do to troubleshoot it?

Thanks for any and all advice.

Kenn

japetto 02-27-2006 03:05 PM

How about a little more info? Kernel version, Distro, etc.

kennmurrah 02-27-2006 03:12 PM

sorry ... in my rush, I omitted the details ... I'm running Debian sarge .... i'm guessing 2.4 kernel, but since i can't ls on /boot, i don't know how to determine version ....

japetto 02-28-2006 08:39 AM

Use the uname command to get kernel version. Run either "uname -r" or "uname -a" and post results.

kennmurrah 02-28-2006 08:49 AM

Okay, the problem has worsened ... I can no longer boot the system .... it hangs early on in the boot cycle ... after displaying the message, "egrep 2.5.1" and its copyright notice ... does that multiple times, but goes no further ...

So, I'm thinking of trying to fsck from Knoppix ... what do you think?

Thanks.

Desperate.

japetto 02-28-2006 10:19 AM

Sounds like a plan. If you can get it up and running a again you should try to update the system to the latest software and see if it solves the seg error.


All times are GMT -5. The time now is 03:13 AM.