On module “Linux Fundamentals”, section “Working with Web Services” it is shown how to install apache2, but on the HTB MyWorkstation it’s already installed.
The issue is that the service is not running and I can’t start it with systemctl start apache2
$systemctl start apache2
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start ‘apache2.service’.
Authenticating as: , (htb-ac326771)
==== AUTHENTICATION COMPLETE ===
Job for apache2.service failed because the control process exited with error code.
See “systemctl status apache2.service” and “journalctl -xe” for details.