Results 1 to 12 of 12
Thread: all commands segmentation fault
-
12-19-2009, 07:47 PM #1Disabled
- Join Date
- Oct 2004
- Posts
- 244
all commands segmentation fault
After resolving some issues and installing libgcc everything quit on the server I get segmentation fault on most commands ls, cp, vi, cat, tail all have the segmentation fault.
While a few commands work like echo, pwd, iptables
Any suggestions. I would just remove the libgcc but rpm doesn't work.
Can't see logs cause vi, tail, cat doesn't work.
Any suggestions on what to do?
-
12-19-2009, 08:01 PM #2WHT Addict
- Join Date
- Apr 2009
- Location
- Islamabad , pakistan
- Posts
- 128
There could be many reasons for the segmentation fault error, it could be due to any mis-configured software or may be due to the hardware. In your case, I suspect that the installation of libgcc did not go seamless.
-
12-19-2009, 09:28 PM #3Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
Did you do anything with your glibc?
Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
12-19-2009, 11:03 PM #4Disabled
- Join Date
- Oct 2004
- Posts
- 244
was reinstalling it with rpm after that everything is segmentation fault.
-
12-19-2009, 11:12 PM #5Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
12-19-2009, 11:18 PM #6Disabled
- Join Date
- Oct 2004
- Posts
- 244
ok can I do that from the rescue disk Im not sure how I would know just what the rpm i installed would change. What if I did the upgrade on the install disk would that work. I only am worried about the lvm thats where the vps's are sitting
-
12-19-2009, 11:22 PM #7Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
Don't do an upgrade.
You need to get the rpm that matches your operating system and arch (64/32 bit).
and
rpm -ivh --force
it.Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
12-19-2009, 11:28 PM #8Disabled
- Join Date
- Oct 2004
- Posts
- 244
will rpm work from rescue as it doesn't now?
Thanks.
-
12-19-2009, 11:32 PM #9Retired Moderator
- Join Date
- Aug 2003
- Location
- PA
- Posts
- 1,914
I'm not 100% sure such would work from all distributions, one would think so however as a proper rescue cd will boot from the CD and not the system (essentially a console only livecd). As such you should be able to use any core commands even if the hdd installed one(s) is/are broken. I know I myself keep a knoppix disc handy at all times as such never hurts and has proven very useful numerous times.
-
12-19-2009, 11:36 PM #10Disabled
- Join Date
- Oct 2004
- Posts
- 244
ok i can test first its centos that the problem is with. I don't see though how I would of had the wrong file. I downloaded from a mirror. I have 5.3 installed and this is the dl location. http://mirror.5ninesolutions.com/cen...s/i386/CentOS/
-
12-19-2009, 11:50 PM #11Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
It is hard to say what exactly happened without actually looking at it. You have corrupted libs and you need to replace them. Based on what you have told me, it sounds like your glibc libs are the ones at fault.
If you get a centos cd in the server, you can boot into rescue mode, and then mount the drive, and reinstall the rpm(s), you will have to issue the --root=/drive/path flag.Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
12-19-2009, 11:52 PM #12Disabled
- Join Date
- Oct 2004
- Posts
- 244
ok that is what I am going to remove and see if that makes it better. thanks!
Similar Threads
-
Help: Segmentation fault
By hbhb in forum Hosting Security and TechnologyReplies: 5Last Post: 11-11-2009, 02:36 AM -
Segmentation fault
By latitude in forum Hosting Security and TechnologyReplies: 17Last Post: 11-08-2009, 08:09 PM -
Segmentation Fault????
By pirateghost in forum Dedicated ServerReplies: 0Last Post: 12-03-2008, 12:51 AM -
Segmentation fault - what is it?
By SmilieBG in forum Hosting Security and TechnologyReplies: 7Last Post: 06-04-2006, 10:12 PM -
Perl: Segmentation Fault
By vinod in forum Hosting Security and TechnologyReplies: 18Last Post: 11-26-2005, 05:38 AM