My Server is Not Working Correctly – What Should I Do?

If you find that your server instance is not working as expected, there are a few things that you can do to troubleshoot the cause. The steps required to troubleshoot this will vary depending on what OS you have installed and the issue that you’re experiencing with the server. This article will cover the required steps for a Linux based server with cPanel, however some of these steps can be utilized on a Linux server without cPanel.

 

Top

The first thing that you can do is login to your server via SSH and check the output of the top command. Top is a command line utility that can be used to check the load of your server. To check top, issue the following command via SSH.

 

 

You should see output similar to the following:

 

Showing the output of the top command in Putty

 

The load is generally displayed in the upper right hand corner, as you can see in the image below:

 

Showing the load average via the top command in Putty

 

The resources of the server instance will ultimately determine what type of load is acceptable, however if you see a load higher than 10, and the server is performing slowly you’ll need to further investigate what is causing the load.

 

Process Manager

If you have WHM you can use check the load of the server simply by logging in, as the load is generally displayed on the main page.

 

Showing the Load Averages in WHM

 

 

For a more in depth look at each process and their resource usage you can use the Process Manager in WHM.

 

  1. Search for “process” in the search bar
  2. Select Process Manager under System Health

 

Showing the Process Manager location in WHM

 

With the Process Manager you can Kill processes or trace them, as well as simply get an idea of the resource utilization of each process.

 

Check Apache

The next step is to check the Apache web server to see if it is running. This can be done a few ways depending on your OS and if you’re using cPanel. Let’s take a look at a few common ways to check if Apache is running.

 

CentOS 6

You can check if Apache is running in CentOS 6 by issuing the following command while logged in via SSH:

 

 

If this command returns that Apache is stopped, you can start it using this command:

 

 

You can also restart Apache at anytime by using the following:

 

 

CentOS 7

To check Apache’s status in CentOS 7 please issue the following command:

 

 

If the output of this command states that Apache is stopped, you can start it by issuing this command:

 

 

You can also restart the Apache web server via this command:

 

 

WHM

You can check Apache’s status by utilizing the steps below. Please note that you’ll need to be logged into WHM before continuing.

 

  1. Search for “apache” in the search bar
  2. Select Apache Status under the Server Status section

 

Showing the Apache Status location in WHM

 

You can also restart Apache from within WHM.

 

  1. Search for “apache” in the search bar
  2. Select HTTP Server (Apache) under the Restart Services section
  3. Select Yes

 

Showing the Restart HTTP Server location

 

 

Apache should now be restarting.

 

Reboot the server

In some cases you just need to reboot the server, as the old adage states “have you tried turning it off and back on again?” can hold very true. Rebooting the server can be accomplished a few ways; via SSH, through WHM (if purchased) and through the Hostwinds client area.

 

SSH

To reboot the server via SSH  you’ll first need to be logged in to the server as the root user through SSH. Once logged in as root, issue the following command:

 

 

Or

 

 

Either command should suffice to reboot the server.

 

WHM

To reboot the cloud instance using WHM, you’ll first need to login to WHM.

 

  1. Search for “reboot” in the search bar
  2. Select Graceful Server Reboot
  3. Click Proceed

 

Showing the Graceful Server Reboot location in WHM

 

The server should now be rebooting.

 

Hostwinds Client Area

First you’ll need to login to the Hostwinds client area to proceed.

 

  1. Click on Services
  2. Select My Services

 

Services

 

  1. Select Actions > Manage next to the product you want to reboot

 

 

  1. Scroll to the bottom of the page and select Reboot under Control Panel

 

Showing the Reboot option in the Hostwinds client area

 

The server should now be rebooting.

If the server is still experiencing issues, please feel free to contact us so that we may take a closer look for you.


Share:

Leave a Reply