Instance shut-off then connection refused after restart?


#1

Hello, one of my servers was shut-off, and after I restarted it I can now no longer access it using ssh (error is connection refused.) Any thoughts on how I can fix this?
Cheers
Luke


#2

Hi Luke - could you give me some more info please?

Where’s the instance and what is it called?


#3

Hi Matt,

The instance is lukemeredith2 and IP is 37.44.59.201


#4

I’m looking at this now, will update you shortly.


#5

This is fixed now. The problem was caused by permissions being set to ubuntu:ubuntu on "/".

This might’ve happened inadvertently when you were changing permissions on your attached data volumes.

I fixed it by running sudo chown root:root / to restore the permissions to what they should be, then restarted the ssh server with sudo systemctl restart sshd.

Any further problems, let me know…


#6

great, thanks for fixing that Matt.


#7

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.