Comment 2 for bug 1980620

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

Thanks for taking the time to file this bug and trying to make Ubuntu better.

Checking the logs I can see this error when the apache2 package was installed:

Setting up apache2 (2.4.41-4ubuntu3.12) ...
info: Executing deferred 'a2enmod php7.4' for package libapache2-mod-php7.4
ERROR: Module php7.4 does not exist!
dpkg: error processing package apache2 (--configure):
 installed apache2 package post-installation script subprocess returned error exit status 1

However, I set up a clean Focal container and I was able to install the package and enable the php7.4 module just fine.

From the apache2 modules log we can see this:

Error: command ['/usr/sbin/apachectl', '-D DUMP_MODULES'] failed with exit code 1: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using Set the 'ServerName' directive globally to suppress this message
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address
no listening sockets available, shutting down
AH00015: Unable to open logs
Action '-D DUMP_MODULES' failed.
The Apache error log may have more information.

It seems that you port 80 is already in use. This seems to me a local configuration issue and not a package bug. Due to that I am marking this bug as Incomplete, if you have more information to provide which can help us to reproduce the problem please add a comment and then set the status back to New.