I installed Apache 2 on ubuntu 19.04 desktop and was able to do a test access via localhost. I then discovered that the service was masked. I know how to unmask it, but I do not want to do so until I understand why it was masked and have corrected any error situation. How should I troubleshoot this situation? I am brand new to apache2. The output from systemctl is attached:
gossage@jgossage-XPS-8700:~$ sudo systemctl status apache2
● apache2.service
Loaded: masked (Reason: Unit apache2.service is masked.)
Active: inactive (dead)
systemctl status apache2
before currying on with further steps. – Raffa Sep 28 '19 at 15:40systemctl status apache2
– Raffa Sep 28 '19 at 15:45cat /lib/systemd/system/apache2.service
and the output ofcat /etc/systemd/system/apache2.service
if there is any – Raffa Sep 28 '19 at 16:02