Our server is down and need some assistance

August 10, 2017 289 views
PHP MySQL CentOS

I can not access our DirectAdmin account to view our files and I also attempt to connect via FTP. First was getting the Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request. and when I access the sites is states Database error connection. There are about 9 sites and only 2 are working. most of them are wordpress.

1 Answer
SyAdmin August 10, 2017
Accepted Answer

The problem looks like your database server is not running and your web server is consequently unable to access it. Unfortunately, it is impossible to tell why your database server is not running without logging into your server.

You need to log into your server via SSH and find out why your database server is not running. If you are using an up to date version of Debian/Ubuntu/Fedora then the following command:

sudo systemctl status mysql.service

Will show you the current status. You may simply need to restart with the following:

sudo systemctl restart mysql.service

or the issue may be something else. In any case, these two commands should give you enough information to resolve the issue.

Have another answer? Share your knowledge.