LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   solution to segmentation fault for centos linux mail server (https://www.linuxquestions.org/questions/linux-newbie-8/solution-to-segmentation-fault-for-centos-linux-mail-server-779987/)

ogweno 01-05-2010 08:12 AM

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

thePiet 01-05-2010 08:50 AM

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?

ogweno 01-05-2010 09:01 AM

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

thePiet 01-06-2010 03:19 AM

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.

evo2 01-06-2010 03:33 AM

Could be bad RAM. Try booting to memtest on a floppy or cd.

Evo2.

catchvivekg 01-06-2010 05:16 AM

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


All times are GMT -5. The time now is 01:02 AM.