Our server is down and need some assistance

Posted August 10, 2017 2.5k views

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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

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.

mysql server actively running.
Please give me more details