By samyang8080
Hi,
I did a CPU/RAM resize on my Ubuntu 16.04 droplet after poweroff. The resize took around 10 min and after I powered it on I found that I was unable to SSH into the droplet.
I used the access console, and arrived at a prompt that says “Press Enter for maintenance (or press Control-D to continue”. Pressing Enter allows me to access the terminal, but Ctrl+D will give an error message that says ‘sulogin: cannot read /dev/tty1: Operation not permitted’.
When I check running services through ‘service --status-all’, I found that services that usually automatically start after reboot aren’t running (they are inactive/dead). These include:
ssh apache2 mysql postfix openvpn
I checked systemctl is-enabled apache2, and the system confirms that the apache2 service is supposed to start on boot.
In terminal, I ran a reboot to see if the above services would automatically start again, but they did not.
Manually starting the services apache2 / mysql will allow me to access my webserver with no problems, but they would unexpectedly go down again after a few hours.
Manually starting the ssh service works, but accessing through putty gives me an error “Fatal Error: Server unexpectedly closed network connection”. I didn’t modify any of my SSH configuration files / keys / passwords. Note that this is not a “Connection refused” error, so I think the authentication was successful but
Questions:
Will be happy to provide logs / additional information. I’m not an expert with Ubuntu and would appreciate any help.
Thank you!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
i got this problem too now, but it after i reboot. i had to start all auto enabled service and i cannot get in with SSH
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.