LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 04-16-2003, 10:12 PM   #1
zevious
LQ Newbie
 
Registered: Apr 2003
Posts: 6

Rep: Reputation: 0
Angry Redhat 7.3 hosed - can I just reinstall?


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?

Any advice would be very appreciated.

TIA!
Carl
 
Old 04-16-2003, 11:24 PM   #2
yowwww
Member
 
Registered: Apr 2003
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 533

Rep: Reputation: 30
red hat 7.3 is my favorite, so I feel your pain.

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.
 
Old 04-16-2003, 11:49 PM   #3
zevious
LQ Newbie
 
Registered: Apr 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Actually I had various partitions. The most important one being /www which was on dev/sda8.

Anyone know if I can just do an upgrade?
 
Old 04-17-2003, 02:42 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
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.
 
Old 04-17-2003, 05:15 AM   #5
Obi Perrin
Member
 
Registered: Nov 2002
Posts: 136

Rep: Reputation: 15
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.
 
Old 04-17-2003, 06:42 AM   #6
samri
LQ Newbie
 
Registered: Nov 2002
Posts: 4

Rep: Reputation: 0
As Obi mentioned, "Segmentation fault" is pretty much HW related issue.

Is it just the "ls" command, or anything you typed gave the same error. try "cat" or "telnet" or anything else, and see if the error keep appearing.
 
Old 04-17-2003, 08:17 AM   #7
Obi Perrin
Member
 
Registered: Nov 2002
Posts: 136

Rep: Reputation: 15
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.
 
Old 04-17-2003, 08:19 AM   #8
zevious
LQ Newbie
 
Registered: Apr 2003
Posts: 6

Original Poster
Rep: Reputation: 0
I had considered that it might be hardware related but why would ls and such work fine using linux rescue? (Using a different kernel, etc)?
 
Old 04-17-2003, 10:14 AM   #9
zevious
LQ Newbie
 
Registered: Apr 2003
Posts: 6

Original Poster
Rep: Reputation: 0
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.

Last edited by zevious; 04-17-2003 at 10:17 AM.
 
Old 04-17-2003, 11:18 PM   #10
samri
LQ Newbie
 
Registered: Nov 2002
Posts: 4

Rep: Reputation: 0
maybe the HD is bad.

try to boot into single user and do fsck on the fs.
 
Old 04-17-2003, 11:29 PM   #11
zevious
LQ Newbie
 
Registered: Apr 2003
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to reinstall redhat 9 xspider Linux - Software 8 03-14-2004 10:39 PM
I need to reinstall redhat, some help quick hydro Linux - Newbie 3 03-06-2003 07:02 PM
reinstall of redhat 7.2 spawn500 Linux - Software 1 01-20-2003 01:28 PM
Redhat 8.0 - Do you have to reinstall? dpaille Linux - Distributions 4 10-04-2002 12:05 PM
How to uninstall and reinstall Redhat 7.1? jane207 Linux - Software 1 11-02-2001 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration