I can't access my server for 24 hours

June 11, 2017 294 views
Networking Ubuntu

I can't access my ubuntu 16.4 server for straight 24 hours. Before that i could access it via SSH. I raised a ticket and did a few commands as requested from the web console:

iptables -L
iptables -t nat -L
ip addr show
ls -lah /lib/modules
uname -a
cat /etc/network/interfaces
route -n

those outputs were analyzed but so far no solution yet. I tried to use "shutdown -r now" and "reboot", "init 6" commands from web console to reboot the server, and I got "not found" for each of commands. I searched the forum and see these two posts, this and this - neither provided definitive answers. Seemed that i am at my wit end at this point.
Any advice?

1 Answer

Hi @entrepidea

Since you can access your server via the web console, then it's somehow reachable - though networking or services might not be running.

Have you tried to do a Power Off and Power On via the control panel?

Are you logging in with root in the console, when you're running the reboot command? When I see the "not found" for system commands, then I start to worry.
It seems like something has been corrupted.

If you cannot get the droplet up and running, then the easiest thing might be to request the Recovery Image from support and copy all your data to a new droplet.

Are you running Ubuntu 16.04 ? Have you kept it up-to-date with security updates?

  • thanks to Hansen for the response. I believe the server is running Ubuntu 16.04. Yes i tried "shutdown -r now", "reboot" and other plausible tactics to reboot the system, as well as "power off/on" from the panel. Nothing worked. Have been asking help from support - they have been trying however so far to no avail.

    I might just need to request the recovery image as suggested. I can't afford to have my site down for long.

    • @entrepidea
      It would be really interesting to find out what happened, but given that you can only work in the web console limits that a bit.
      And your focus is of course on getting your server backup and running as fast as possible.
      If you need any help or you have other questions, just create a new question here in the forum. We're usually a little faster to respond than support, but we can only help you from a user-to-user support aspect.

Have another answer? Share your knowledge.