I’m running a ubuntu / Apache system
I did some server maintenance just running the regular maintenance commands.
sudo apt-get update
sudo apt-get upgrade
sudo reboot
After the reboot Apache didn’t start. And all the websites are down. I wasn’t sure what the problem was so I restored a droplet backup from the previous day.
This didn’t seem to work right away. (even though the restore process appeared to be finished) An hour later, I saw my sites were loading again. So I assumed restoring the backup had rolled back the problems caused by the updates. This morning however all the sites are now down again and apache is not able to start.
I thought that restoring the backup would have rolled back any of the server maintenance updates?
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!
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.
Enter your email to get $200 in credit for your first 60 days with DigitalOcean.
New accounts only. By submitting your email you agree to our Privacy Policy.
Hello @danielflorido
One possible reason could be that a package that Apache depends on was altered during the update and upgrade process. It happens sometimes that a new version of a vital package introduces a bug that makes Apache unable to start.
Your decision to restore from a backup was a good one, however, automatic updates could have reinstated the faulty package. To prevent this, you might consider disabling automatic updates momentarily until you can identify and fix the problem.
Here’s the steps to check why Apache is not starting:
/var/log/apache2/error.log
.sudo systemctl start apache2
command into your terminal and see if there are any error messages.sudo systemctl status apache2
into your terminal.These steps should lead you towards the specific error that is preventing Apache from starting.
Once you’ve identified the error, please refer to this DigitalOcean tutorial on troubleshooting common site issues on a Linux server for a range of potential solutions.
Hope that this helps!
Hello,
We understand that you have few queries on Drolpet backup:
You can also restore an existing Droplet to one of its backups, replacing the original Droplet with one based on the backup image. This is useful if you want to completely revert a Droplet to an older point in time, but you will lose any changes on the Droplet from after the backup was taken.
https://docs.digitalocean.com/products/images/backups/how-to/create-and-restore/
Regarding the Apache issue, we request you to open a support ticket, where we have better insights on your Droplet and the backend stuff.
Cheers, Sri Charan