Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Up until this morning my Redhat 7.3 install was working great.
I problem started when I tried to do 'ls' on directories and was getting a Segmentation Fault. So I restarted the machine.
Now the machine seg faults during the boot up process, at some point goes into showing weird asci characters and eventually freezes. I have fsck the disk and there are no errors. If I use the Redhat Rescue I can see the files are on the drive but if I try to chroot to /mnt/sysimage, ls stops working again.
I was thinking that I could just reinstall or use the upgrade function to fix it.
I'd like to salvage the current configuration if possible.
On a side note, I wonder if the server was hacked or what would cause this?
actually one way you can retrieve your data in the future is by creating a separate primary partition for your /home directory, that way if you lose everything then you can just replace it and use the same /home partition - you just have to mount it once you re-install.
I would just say to backup any info you want via a cd recorder if you have one by using cdrecord from the command line. If not then start over. I don't know what could have caused that - I don't run a server and my 7.3 has been super stable since day 1.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
upgrading will save as much of your configuration
stuff as it can. i have a few times backed up stuff
and upgraded to see how it went, and it was generally
ok. most of the settings stay the same. the upgrade
will usually even make backups of the files it needs
to overwrite.
Not to get you unduly worried, but when 'ls' started segfaulting on me, it was the first symptom of bad RAM. If this is the case then no amount of re-installs will solve it. http://www.memtest86.com have a really good RAM checker that you add to your boot menu, then just let it run for a while.
Another factor indicative to bad RAM is the compiler segfaulting on compiling bigger programs - sometimes even small ones. If you get internal compiler segmentation faults during compilation, then type make again and you get a bit further and it happens again, very likely to be bad RAM.
ok, I ran a short memory test and no errors came up. I ran the upgrade, didn't fix anything.
What's happening during bootup is that I get a bunch of Seg faults on lines in rc.sysinit(rm -r {filename} type lines) (Also more times further into the boot process)
Hardware wise, does this look like memory, hard drive controller or?
When I am in rescue mode, everything seems to work just fine.
Upgrading to RH9 seems to have done the trick. I tried new memory, a new SCSI card, 'upgrading' to RH7.3. None of that worked. I had previously tried fsck. No errors were reported.
Still not sure what was up but it's working for now..
now to get my httpd.conf file migrated from Apache1.3 to Apache2.x
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.