Root Reset Password

Posted September 16, 2013 2.5k views
Hello, Tonight i resetted root password. Site is working fine until that process. After that site stopped working. Strange thing is that apache service does not exist anymore. Site's folders and databases exist. Should i reinstall Apache and create virtual host for site? I am not the one who first installed server so i do not want to change any predefined settings. Any suggestion please?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers
Take a snapshot of your droplet b/f you do anything else!

On a side note, don't use passwords if you don't have to. Key-based authentication is much more secure. See How To Create SSH Keys with PuTTY to Connect to a VPS.
by Pablo Carranza
This tutorial runs through creating SSH keys with PuTTY to connect to your virtual server.

Thanks for reply but i couldnt understand what to do?

I will create new snapshot and use it to create new droplet right?

Then the missing services will be installed?

I guess just one service, Apache, is missing. If i reinstall it, can it be fixed?
Take a snapshot of your existing droplet so that you can restore from it in case you break anything.

Once you've done that, log in to your droplet and install apache:

sudo apt-get install apache2

Your settings should be preserved as long as you didn't delete any files from /etc/apache2.