package apache2 2.4.41-4ubuntu3 failed to install/upgrade: el subproceso instalado paquete apache2 script post-installation devolvió el código de salida de error 1

Bug #1883090 reported by Juan Martin Caro
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libapache2-mod-fcgid (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Install qgis - apache fastcgi-mod

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: apache2 2.4.41-4ubuntu3
ProcVersionSignature: Ubuntu 5.4.0-33.37-generic 5.4.34
Uname: Linux 5.4.0-33-generic x86_64
Apache2ConfdDirListing: False
Apache2Modules:
 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
 httpd (pid 23335) already running
ApportVersion: 2.20.11-0ubuntu27.2
Architecture: amd64
CasperMD5CheckResult: skip
Date: Thu Jun 11 07:18:34 2020
ErrorMessage: el subproceso instalado paquete apache2 script post-installation devolvió el código de salida de error 1
InstallationDate: Installed on 2020-06-09 (1 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.2ubuntu0.1
SourcePackage: apache2
Title: package apache2 2.4.41-4ubuntu3 failed to install/upgrade: el subproceso instalado paquete apache2 script post-installation devolvió el código de salida de error 1
UpgradeStatus: No upgrade log present (probably fresh install)
error.log:
 [Thu Jun 11 07:35:30.613410 2020] [mpm_event:notice] [pid 22688:tid 140506024774720] AH00489: Apache/2.4.41 (Ubuntu) configured -- resuming normal operations
 [Thu Jun 11 07:35:30.613489 2020] [core:notice] [pid 22688:tid 140506024774720] AH00094: Command line: '/usr/sbin/apache2'
 [Thu Jun 11 07:43:03.883881 2020] [mpm_event:notice] [pid 22688:tid 140506024774720] AH00491: caught SIGTERM, shutting down
 [Thu Jun 11 07:43:03.915549 2020] [mpm_event:notice] [pid 23335:tid 140071160503360] AH00489: Apache/2.4.41 (Ubuntu) configured -- resuming normal operations
 [Thu Jun 11 07:43:03.915623 2020] [core:notice] [pid 23335:tid 140071160503360] AH00094: Command line: '/usr/sbin/apache2'

Revision history for this message
Juan Martin Caro (juanargt) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apache2 (Ubuntu):
status: New → Confirmed
Changed in apache2 (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

@bryce,

I believe you have worked in similar issues, is that correct ?

It seems that actions were attempted before libapache2-mod-fcgid was installed, because of the last apt command line:

Commandline: apt install apache2 libapache2-mod-fcgid

----

Package apache2 is not configured yet. Will defer actions by package libapache2-mod-fcgid.
Configurando apache2 (2.4.41-4ubuntu3) ...
Enabling module mpm_event.
Enabling module authz_core.
Enabling module authz_host.
Enabling module authn_core.
Enabling module auth_basic.
Enabling module access_compat.
Enabling module authn_file.
Enabling module authz_user.
Enabling module alias.
Enabling module dir.
Enabling module autoindex.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module filter.
Enabling module deflate.
Enabling module status.
Enabling module reqtimeout.
Enabling conf charset.
Enabling conf localized-error-pages.
Enabling conf other-vhosts-access-log.
Enabling conf security.
Enabling conf serve-cgi-bin.
Enabling site 000-default.
info: Executing deferred 'a2enmod fcgid' for package libapache2-mod-fcgid
ERROR: Module fcgid does not exist!

----

Start-Date: 2020-06-10 16:31:29
Commandline: apt install apache2 libapache2-mod-fcgid
Requested-By: tincho (1000)
Install: libaprutil1:amd64 (1.6.1-4ubuntu2, automatic), libapache2-mod-fcgid:amd64 (1:2.3.9-4), libaprutil1-dbd-sqlite3:amd64 (1.6.1-4ubuntu2, automatic), apache2-data:amd64 (2.4.41-4ubuntu3, automatic), libapr1:amd64 (1.6.5-1ubuntu1, automatic), libaprutil1-ldap:amd64 (1.6.1-4ubuntu2, automatic), liblua5.2-0:amd64 (5.2.4-1.1build3, automatic), apache2-bin:amd64 (2.4.41-4ubuntu3, automatic), apache2:amd64 (2.4.41-4ubuntu3), apache2-utils:amd64 (2.4.41-4ubuntu3, automatic)
End-Date: 2020-06-10 16:31:49

and then

Start-Date: 2020-06-10 21:46:20
Commandline: apt-get remove apache2*
Requested-By: tincho (1000)
Remove: libapache2-mod-fcgid:amd64 (1:2.3.9-4), apache2-data:amd64 (2.4.41-4ubuntu3), apache2-bin:amd64 (2.4.41-4ubuntu3), apache2:amd64 (2.4.41-4ubuntu3), apache2-utils:amd64 (2.4.41-4ubuntu3)
End-Date: 2020-06-10 21:46:25

Start-Date: 2020-06-10 21:47:12
Commandline: apt-get purge apache2
Requested-By: tincho (1000)
Purge: apache2:amd64 ()
End-Date: 2020-06-10 21:47:15

and then

Start-Date: 2020-06-11 07:18:18
Commandline: apt install apache2 libapache2-mod-fcgid
Requested-By: tincho (1000)
Install: libaprutil1:amd64 (1.6.1-4ubuntu2, automatic), libapache2-mod-fcgid:amd64 (1:2.3.9-4), libaprutil1-dbd-sqlite3:amd64 (1.6.1-4ubuntu2, automatic), apache2-data:amd64 (2.4.41-4ubuntu3, automatic), libapr1:amd64 (1.6.5-1ubuntu1, automatic), libaprutil1-ldap:amd64 (1.6.1-4ubuntu2, automatic), liblua5.2-0:amd64 (5.2.4-1.1build3, automatic), apache2-bin:amd64 (2.4.41-4ubuntu3, automatic), apache2:amd64 (2.4.41-4ubuntu3), apache2-utils:amd64 (2.4.41-4ubuntu3, automatic)

> causing the error.

Changed in apache2 (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Bryce Harrington (bryce) wrote :

@rafael, I suspect you're referring to lp: #1850933, which also dealt with an apache module but that was a bug in the php7.4 package so most likely is completely unrelated to this bug.

However, I did attempt to reproduce this issue in lxc, but could not from the given commandline:

root@triage-groovy:/home/bryce# apt-cache policy apache2
apache2:
  Installed: (none)
  Candidate: 2.4.41-4ubuntu3
  Version table:
     2.4.41-4ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu groovy/main amd64 Packages
root@triage-groovy:/home/bryce# apt install apache2 libapache2-mod-fcgid
...
The following additional packages will be installed:
  apache2-bin apache2-data apache2-utils libaprutil1-dbd-sqlite3 libaprutil1-ldap libjansson4 liblua5.2-0 ssl-cert
Suggested packages:
  apache2-doc apache2-suexec-pristine | apache2-suexec-custom openssl-blacklist
The following NEW packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils libapache2-mod-fcgid libaprutil1-dbd-sqlite3 libaprutil1-ldap
  libjansson4 liblua5.2-0 ssl-cert
0 upgraded, 10 newly installed, 0 to remove and 229 not upgraded.
...
Setting up apache2-data (2.4.41-4ubuntu3) ...
Setting up apache2-utils (2.4.41-4ubuntu3) ...
Setting up apache2-bin (2.4.41-4ubuntu3) ...
Setting up libapache2-mod-fcgid (1:2.3.9-4) ...
Package apache2 is not configured yet. Will defer actions by package libapache2-mod-fcgid.
Setting up apache2 (2.4.41-4ubuntu3) ...
...
Enabling conf serve-cgi-bin.
Enabling site 000-default.
info: Executing deferred 'a2enmod fcgid' for package libapache2-mod-fcgid
Enabling module fcgid.
Created symlink /etc/systemd/system/multi-user.target.wants/apache2.service → /lib/systemd/system/apache2.service.
Created symlink /etc/systemd/system/multi-user.target.wants/apache-htcacheclean.service → /lib/systemd/system/apache-h
tcacheclean.service.
...

I attempted the same in a focal lxc, and attempted removing and purging apache2* and repeating. No luck reproducing.

Guessing there are some additional system config tweaks or prerequisites involved in triggering this bug. Any ideas?

Changed in apache2 (Ubuntu):
status: Triaged → Incomplete
Bryce Harrington (bryce)
affects: apache2 (Ubuntu) → libapache2-mod-fcgid (Ubuntu)
Revision history for this message
Juan Martin Caro (juanargt) wrote : Re: [Bug 1883090] Re: package apache2 2.4.41-4ubuntu3 failed to install/upgrade: el subproceso instalado paquete apache2 script post-installation devolvió el código de salida de error 1
Download full text (6.0 KiB)

Estimado: ya esta solucionado al parecer no se habia creado la carpeta sbin
o alguna otra donde estaba el modulo fcgid. elimine la instalación y volvi
a instalar y funciono, lo que no me acuerdo es si cree la carpeta yo para
que funcione.

Saludos y gracias
Martin

El lun., 15 jun. 2020 a las 3:50, Rafael David Tinoco (<
<email address hidden>>) escribió:

> @bryce,
>
> I believe you have worked in similar issues, is that correct ?
>
> It seems that actions were attempted before libapache2-mod-fcgid was
> installed, because of the last apt command line:
>
> Commandline: apt install apache2 libapache2-mod-fcgid
>
> ----
>
> Package apache2 is not configured yet. Will defer actions by package
> libapache2-mod-fcgid.
> Configurando apache2 (2.4.41-4ubuntu3) ...
> Enabling module mpm_event.
> Enabling module authz_core.
> Enabling module authz_host.
> Enabling module authn_core.
> Enabling module auth_basic.
> Enabling module access_compat.
> Enabling module authn_file.
> Enabling module authz_user.
> Enabling module alias.
> Enabling module dir.
> Enabling module autoindex.
> Enabling module env.
> Enabling module mime.
> Enabling module negotiation.
> Enabling module setenvif.
> Enabling module filter.
> Enabling module deflate.
> Enabling module status.
> Enabling module reqtimeout.
> Enabling conf charset.
> Enabling conf localized-error-pages.
> Enabling conf other-vhosts-access-log.
> Enabling conf security.
> Enabling conf serve-cgi-bin.
> Enabling site 000-default.
> info: Executing deferred 'a2enmod fcgid' for package libapache2-mod-fcgid
> ERROR: Module fcgid does not exist!
>
> ----
>
> Start-Date: 2020-06-10 16:31:29
> Commandline: apt install apache2 libapache2-mod-fcgid
> Requested-By: tincho (1000)
> Install: libaprutil1:amd64 (1.6.1-4ubuntu2, automatic),
> libapache2-mod-fcgid:amd64 (1:2.3.9-4), libaprutil1-dbd-sqlite3:amd64
> (1.6.1-4ubuntu2, automatic), apache2-data:amd64 (2.4.41-4ubuntu3,
> automatic), libapr1:amd64 (1.6.5-1ubuntu1, automatic),
> libaprutil1-ldap:amd64 (1.6.1-4ubuntu2, automatic), liblua5.2-0:amd64
> (5.2.4-1.1build3, automatic), apache2-bin:amd64 (2.4.41-4ubuntu3,
> automatic), apache2:amd64 (2.4.41-4ubuntu3), apache2-utils:amd64
> (2.4.41-4ubuntu3, automatic)
> End-Date: 2020-06-10 16:31:49
>
> and then
>
> Start-Date: 2020-06-10 21:46:20
> Commandline: apt-get remove apache2*
> Requested-By: tincho (1000)
> Remove: libapache2-mod-fcgid:amd64 (1:2.3.9-4), apache2-data:amd64
> (2.4.41-4ubuntu3), apache2-bin:amd64 (2.4.41-4ubuntu3), apache2:amd64
> (2.4.41-4ubuntu3), apache2-utils:amd64 (2.4.41-4ubuntu3)
> End-Date: 2020-06-10 21:46:25
>
> Start-Date: 2020-06-10 21:47:12
> Commandline: apt-get purge apache2
> Requested-By: tincho (1000)
> Purge: apache2:amd64 ()
> End-Date: 2020-06-10 21:47:15
>
> and then
>
> Start-Date: 2020-06-11 07:18:18
> Commandline: apt install apache2 libapache2-mod-fcgid
> Requested-By: tincho (1000)
> Install: libaprutil1:amd64 (1.6.1-4ubuntu2, automatic),
> libapache2-mod-fcgid:amd64 (1:2.3.9-4), libaprutil1-dbd-sqlite3:amd64
> (1.6.1-4ubuntu2, automatic), apache2-data:amd64 (2.4.41-4ubuntu3,
> automatic), libapr1:amd64 (1.6.5-1ubuntu1, automatic),
> libaprutil1-ldap:amd64...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for libapache2-mod-fcgid (Ubuntu) because there has been no activity for 60 days.]

Changed in libapache2-mod-fcgid (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.