I have VM-Instances, working well with ubuntu 16.04, LAMPP and WordPress since Dec 2017.
But since yesterday 25/04/18, when I was building wordpress in wp-admin, suddenly WordPress gave error message "Error establishing a database connection". Immediately I checked GCP-console and access ssh. I suspect there was a problem with mysql (before this ever happened), so I rebooted the server and the server returned to normal, but only a few minutes. Then a database connection error occurs again. This time when I access SSH via console, it always comes out error message
"Connection Failed – An error occurred while communicating with the SSH server. Check the server and the network configuration".
If I open the website was always out message "This site can not be reached". I've tried checking firewall configurations etc, but did not find any weirdness (because I did not make any changes).
so from yesterday to today, I can not access server in browser or via SSH. Server down / offline.
How to solve a suddenly problematic server like this?
Thanks.
Best Answer
Apart from having
regular ssh
, you should haveconsole access
to google cloud platform. (Console access is a sort of emergency/maintenance backdoor ) .If you don't have access to google cloud platform, ask for the person who created the vm for you.if the vm is down start it,
more. https://cloud.google.com/billing/docs/how-to/restart-services
console access etc https://cloud.google.com/compute/docs/instances/connecting-to-instance
Support Options https://cloud.google.com/support/