LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-05-2010, 09:12 AM   #1
ogweno
LQ Newbie
 
Registered: Jan 2010
Location: Nairobi
Posts: 2

Rep: Reputation: 0
solution to segmentation fault for centos linux mail server


Hallo,

My centos linux mailserver has crushed and does not allow any login form any user including root. I have managed to start it in single user mode but using vi editor, df command gives segmentation fault. I suspect the /var/* is full but I can neither remove any file/folder/mail/logs nor copy these to make a backup.Attempt to do this as single user/root is met with readonly files yet I have given full permissions to the files and the folders.

I would be glad to have a solution to this

ogweno
 
Old 01-05-2010, 09:50 AM   #2
thePiet
LQ Newbie
 
Registered: Dec 2009
Posts: 25

Rep: Reputation: 15
For as far as I have experienced, full disks do not cause segmentation faults. Segmentation faults occur when a program reads or writes from memory it should not (most of the times this is a bug in the program).

Are you sure you installed your packages for your architecture (e.g. i386 or amd64 etc.) ? Have you upgraded your packages lately?
 
0 members found this post helpful.
Old 01-05-2010, 10:01 AM   #3
ogweno
LQ Newbie
 
Registered: Jan 2010
Location: Nairobi
Posts: 2

Original Poster
Rep: Reputation: 0
No update has been done on the linux and no problem was encountered during installation (at least this showed that the right version was installed). The unit has been running smoothly for the last 5 months until now.

Ogweno
 
Old 01-06-2010, 04:19 AM   #4
thePiet
LQ Newbie
 
Registered: Dec 2009
Posts: 25

Rep: Reputation: 15
Try running some kind of live CD on it to check out if the hardware is still fine. If so, your installation is just wasted, you could try to upgrade your whole system or worst case... reinstall the box.
 
Old 01-06-2010, 04:33 AM   #5
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Could be bad RAM. Try booting to memtest on a floppy or cd.

Evo2.
 
Old 01-06-2010, 06:16 AM   #6
catchvivekg
LQ Newbie
 
Registered: Jan 2010
Posts: 1

Rep: Reputation: 0
Mostly this will be something to do with the memory. Check the memory using memtest and see if it is fine.
 
  


Reply


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
Best Enterprise Security Solution For Linux Web Server & Mail Server satishmali1983 Linux - Security 1 12-22-2009 10:08 PM
Segmentation fault while generating the scsi hostid in CentOS 4.2 Kernel 2.6.9-22 siddesh Linux - Newbie 2 11-10-2009 02:49 AM
I'm looking a solution about mail server on CENTOS ThanhDuongCong Linux - Server 2 05-11-2009 10:51 AM
Segmentation fault over UBUNTU SERVER Freeck Linux - Server 3 02-22-2009 10:08 AM
Segmentation fault in client - server programming in Linux ankurcse Programming 10 07-17-2006 10:41 AM


All times are GMT -5. The time now is 08:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration