Question

Root Reset Password

  • Posted September 16, 2013

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?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Take a snapshot of your existing droplet so that you can restore from it in case you break anything. <br> <br>Once you’ve done that, log in to your droplet and install apache: <br> <br><pre>sudo apt-get install apache2</pre> <br> <br>Your settings should be preserved as long as you didn’t delete any files from /etc/apache2.

Hello, <br> <br>Thanks for reply but i couldnt understand what to do? <br> <br>I will create new snapshot and use it to create new droplet right? <br> <br>Then the missing services will be installed? <br> <br>I guess just one service, Apache, is missing. If i reinstall it, can it be fixed?

Take a snapshot of your droplet b/f you do anything else! <br> <br>On a side note, don’t use passwords if you don’t have to. Key-based authentication is <b>much</b> more secure. <i>See</i> <a href=“https://www.digitalocean.com/community/articles/how-to-create-ssh-keys-with-putty-to-connect-to-a-vps”>How To Create SSH Keys with PuTTY to Connect to a VPS</a>.