Cannot Start Apache2?

by Sarah Szabo   Last Updated May 22, 2019 16:02 PM

I'm trying to install apache2 (To set up a LAMP stack), but something appears to be using the FTP port on 0.0.0.0:80.

There is also a text post about not being able to determine the server's fully qualified name.

Here is the full post:

invoke-rc.d: initscript apache2, action "start" failed.
● apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
  Drop-In: /lib/systemd/system/apache2.service.d
           └─apache2-systemd.conf
   Active: failed (Result: exit-code) since Wed 2019-05-22 15:57:55 UTC; 10ms ago
  Process: 28139 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

May 22 15:57:55 scilab_comp_0 apachectl[28139]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.1.222. Set the 'ServerName' directive globally to suppress this message
May 22 15:57:55 scilab_comp_0 apachectl[28139]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
May 22 15:57:55 scilab_comp_0 apachectl[28139]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
May 22 15:57:55 scilab_comp_0 apachectl[28139]: no listening sockets available, shutting down
May 22 15:57:55 scilab_comp_0 apachectl[28139]: AH00015: Unable to open logs
May 22 15:57:55 scilab_comp_0 apachectl[28139]: Action 'start' failed.
May 22 15:57:55 scilab_comp_0 apachectl[28139]: The Apache error log may have more information.
May 22 15:57:55 scilab_comp_0 systemd[1]: apache2.service: Control process exited, code=exited status=1
May 22 15:57:55 scilab_comp_0 systemd[1]: apache2.service: Failed with result 'exit-code'.
May 22 15:57:55 scilab_comp_0 systemd[1]: Failed to start The Apache HTTP Server.
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for systemd (237-3ubuntu10.21) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for ufw (0.36-0ubuntu0.18.04.1) ...
Rules updated for profile 'OpenSSH'

With regards to the server's domain name. I just created a domain name for it using my router's function for DDNS and have made this server a DMZ by forwarding all ports to it.

How should I go about resolving the issue and get Apache to start?



Related Questions


Updated July 27, 2018 09:02 AM

Updated April 24, 2018 13:02 PM

Updated April 03, 2015 21:18 PM

Updated June 27, 2015 16:00 PM

Updated June 28, 2015 19:01 PM