Developers Documentation

×

Warning

301 error for file:https://clearos.com/dokuwiki2/lib/exe/css.php?t=dokuwiki&tseed=82873f9c9a1f5784b951644363f20ef8

User Tools

Site Tools


Troubleshooting a Crashing Server

ClearOS is a very stable operating system with some users being able to have uptimes reported in years! However, certain situations can bring ClearOS to its knees. This guide will help you track down the issue and hopefully resolve whatever ails your system.

Getting Started

Experience demonstrates that the primary reason that a ClearOS server will crash is related to hardware. This is a good place to start so consider the following questions:

  • Have you added any hardware recently?
  • Did you experience hardware difficulty when you initially installed ClearOS?
  • Did your system restart recently with a new kernel from an update?
  • Is your hard disk full or otherwise impaired?

A good place to start is to rule out some easy items.

Hard Drive space

You can look at you hard drive available space with the following command:

df -h

Hard Drive Health

The smartmontools can help you find out if your hard drive is itself reporting errors. This works on systems with directly connected hard drives (not on ones that have a RAID card, consult with the RAID card's reporting if that is the case). To get started, install the smartmontools and then check the drives listed in the 'df' from above.

If df lists only LVM drives, use pvs to find out the drives. If pvs or df lists md devices, use 'cat /proc/mdstat' to find out what they are.

yum -y install smartmontools
smartctl -A /dev/sda

Kernel messages

Often times with hardware issues, the kernel will complain about the hardware. You can use the /var/log/messages file to discover what these issues are. You can use the log viewer app, tail the log file, or edit the log file to discover these kernel messages.

tail -f /var/log/messages

Panic messages

If a kernel panic has occurred, linux will often display those messages on the video output of the server. Try attaching a monitor to discover any messages related to a kernel panic.

Applications

Applications can sometimes also cause problems. Check the /var/log/messages file for any warnings or errors associated with applications.

Help

content/en_us/kb_troubleshooting_a_crashing_server.txt · Last modified: 2015/01/30 08:59 (external edit)

https://clearos.com/dokuwiki2/lib/exe/indexer.php?id=content%3Aen_us%3Akb_troubleshooting_a_crashing_server&1710830511