apache2.service is masked [duplicate]
A masked service is used to prevent a unwanted start of this service. If you are sure that Apache2 shouldn't be masked, you can just unmask and then restart your service with:
sudo systemctl unmask apache2
sudo service apache2 restart