Digital Ocean rebooted all droplets 3 days ago but when they came back, my website was down.
Problem seems to arise because all related services (httpd, mysqld, iptables etc) are inactive and have to activate them again.
First of all did anybody else had the same issue and
secondly how can i run systemctl start/stop/restart <service>
through droplet's console (sshd not running so droplet's console it's the only way to get into my system)?
Seems that whenever i perform this action console kicks me off, as it is in emergency mode.
I don't know if it's useful info but system is fedora 21.
Asked
Active
Viewed 1,353 times
0

Nikos Gkikas
- 251
- 2
- 5
1 Answers
0
Use
sudo systemctl enable service.service
to have a service start automatically when your droplet boots.

Oliver
- 11,857
- 2
- 36
- 42
-
Thank you Oliver. Unfortunately this won't work. I enabled sshd.service, rebooted the droplet and when i entered the console, service was inactive again. – Nikos Gkikas Mar 31 '18 at 19:24
-
What was the output when you ran the command? Also, I think you should try `systemctl enable ssh.service` (e.g. not sshd) – Oliver Apr 01 '18 at 02:08
-
It just kicks me out of the service and asks me again for password. Anyway this was a problem that had to do with the entire filesystem that occured immediately after a reboot made by the admins. Nobody knows why it occured. After that they just announced in their blog some problems in FRA1 (where i'm hosted), that are trying to fix. In personal level, support team didn't give me any other tip. They just mounted a recover iso image to gain access via ssh and sftp to my files... – Nikos Gkikas Apr 04 '18 at 19:06