LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 12-08-2006, 01:03 AM   #1
mr_empty
LQ Newbie
 
Registered: Nov 2006
Posts: 22

Rep: Reputation: 15
Smile Segmentation fault


Hi all,
i had make a web server using FC6, and one day i restart the server i got a lot of segmentation fault, something like pointing to dev/null.
so I tried FC4 and i re-partition the filesystem.
dev/sda /boot
dev/sda5 /home
dev/sda6 /swap
dev/sda7 /

the segmentation fault occur again, and i cannot reboot the server.
did anyone encounter such kind of problem?Thanks
 
Old 12-08-2006, 03:03 AM   #2
Youri
Member
 
Registered: Oct 2004
Distribution: slamd64-current, slackware-current, clfs 6.1, arch-current, ubuntu dapper
Posts: 144

Rep: Reputation: 15
dev/sda /boot

am i wrong or shouldn't this be

dev/sda1(or any other number) /boot

dev/sda is a device pointer to the actual drive and not a partition on that drive, and only the partitions is what you want to mount, right?
 
Old 12-08-2006, 06:40 AM   #3
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
A segmentation fault may be caused by misaligned data. This is a bug in the software or it may be faulty memory. Do a test of your memory. It may also be the memory management system has a problem (new motherboard needed). It may also be a read error from your hard drive, caused by a bad sector or something. I suggest the first thing is to "e2fsck -f /dev/sda?" to check the file sytem on all partitions. Make sure the partitions are not mounted. Best if you use a live cd Linux to do this.
 
Old 12-11-2006, 02:19 AM   #4
mr_empty
LQ Newbie
 
Registered: Nov 2006
Posts: 22

Original Poster
Rep: Reputation: 15
when i read the log i found that there is someone hack on my server, and then i found the segmentation fault on the next day after the hacking. so i guess it should be someone ruining my server, maybe i need to change a more complicated root password.
 
Old 12-11-2006, 05:37 PM   #5
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
Frankly, if you are sure you've been hacked, the only safe solution is a clean re-install from known good resources.
You could try http://www.rootkit.nl/projects/rootkit_hunter.html and/or http://www.chkrootkit.org/ but there's no guarantee of 100% detection/cleanup.
You should definitely (next time) use secure passwords, do not allow direct ssh into root and do run tripwire (should come with your distro) and look at using http://www.bastille-linux.org/ to lock it down.
 
Old 12-19-2006, 08:35 AM   #6
Fadoksi
Member
 
Registered: Apr 2006
Location: Finland
Distribution: Ubuntu, Gentoo, Debian
Posts: 88

Rep: Reputation: 15
You were hacked again? (The post before with SucKIT on Redhat 6.1) Maybe some crackers have found you to be easy target. You should start doing something for your box's security.

Last edited by Fadoksi; 01-01-2007 at 02:03 PM.
 
  


Reply

Tags
fault, segmentation fault


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika Suse/Novell 2 12-02-2005 09:34 AM
segmentation fault lmvent Programming 1 10-29-2005 06:34 PM
Segmentation fault, WHY?? eXor Slackware 8 07-20-2005 01:55 PM
Segmentation fault? JiggaJerry Fedora 10 01-16-2005 04:01 PM
segmentation fault itywygms Linux - Newbie 10 09-19-2004 08:25 PM


All times are GMT -5. The time now is 11:16 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration