My VPS Server Is Down, Won't Let Me Log In To WHM

Michael LS

Registered
Oct 17, 2015
1
0
1
UK
cPanel Access Level
Website Owner
Hi,

Ok so I have a VPS server which I've been hosting around 75 (grown up to that number gradually) sites which each have a very large number of pages (200k+) but are otherwise very simple. I have used Cloudflare free version, new account each, on every site.

About 3 days ago I noticed all the traffic to the sites had gone down. I later realised many of them were saying "error establishing database connection", or were showing the Cloudflare screen displaying Host as the error.

I've been back and forth with the server support many times, who keep saying they restarted it, and it's now responding to ping and online (they did acknowledge a problem to begin with). Since the beginning I have barely been able to log in to WHM - it either times out, or if finally logging in, is so slow it hangs forever.

Today the server login URL didn't even seem to exist in my browser, and the latest support email told to me type (into Putty I inferred, which I have extremely limited experience with) service apache2 restart - which returned to me there was no such service. I looked online and found something for restarting WHM which I thought could be useful. I did service cpanel restart, which maybe completed, and then did service httpd restart which showed nothing. Now the login URL says unable to connect.

What should I do to get things running again?

This is what I got from the command recommended in the stickied post:
Code:
/etc/redhat-release:CentOS release 6.7 (Final)
/usr/local/cpanel/version:11.52.0.15
/var/cpanel/envtype:kvm
CPANEL=release
Server version: Apache/2.2.29 (Unix)
Server built:   May 14 2015 18:47:48
Cpanel::Easy::Apache v3.28.8 rev9999
PHP 5.4.40 (cli) (built: May 14 2015 18:53:00)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v4.6.1, Copyright (c) 2002-2014, by ionCube Ltd., and
    with Zend Guard Loader v3.3, Copyright (c) 1998-2013, by Zend Technologies
mysql  Ver 14.14 Distrib 5.5.45, for Linux (x86_64) using readline 5.1
Many thanks,
Michael
 

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter
Hello,

I think there is an issues with the server firewall. Can you please try to disable server firewall on your server with the following command.

Code:
services iptables stop

csf -x
And also please provide us following command output.

Code:
df -h

df -i

service httpd status

service cpanel status
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

What URL are you using to access cPanel/WHM? Try using the IP address instead of the domain name to see if that makes a difference. Also, you may want to install a firewall such as CSF and ensure all firewall rules are disabled to see if that's the culprit.

Thank you.