package apache2 2.4.7-1ubuntu4.21 failed to install/upgrade: podproces zainstalowany skrypt post-installation zwrócił kod błędu 1

Bug #1815191 reported by thor2019
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apache2 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Wydarzyło się podczas "do-release-upgrade" na Ubuntu 14.04.5 LTS (ovh).

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: apache2 2.4.7-1ubuntu4.21
Uname: Linux 3.10.9-xxxx-std-ipv6-64 x86_64
Apache2ConfdDirListing: ['zz010_psa_httpd.conf', 'php_cgi_wrapper.conf']
Apache2Modules:
 Error: command ['/usr/sbin/apachectl', '-D DUMP_MODULES'] failed with exit code 1: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/fcgid.load: Cannot load /usr/lib/apache2/modules/mod_fcgid.so into server: /usr/lib/apache2/modules/mod_fcgid.so: undefined symbol: unixd_config
 Action '-D DUMP_MODULES' failed.
 The Apache error log may have more information.
ApportVersion: 2.14.1-0ubuntu3.29
Architecture: amd64
Date: Thu Feb 7 20:31:05 2019
DuplicateSignature: package:apache2:2.4.7-1ubuntu4.21:podproces zainstalowany skrypt post-installation zwrócił kod błędu 1
ErrorMessage: podproces zainstalowany skrypt post-installation zwrócił kod błędu 1
RelatedPackageVersions:
 dpkg 1.17.5ubuntu5.8
 apt 1.0.1ubuntu2.19
SourcePackage: apache2
Title: package apache2 2.4.7-1ubuntu4.21 failed to install/upgrade: podproces zainstalowany skrypt post-installation zwrócił kod błędu 1
UpgradeStatus: Upgraded to trusty on 2019-02-07 (0 days ago)
modified.conffile..etc.apache2.sites.available.default.ssl.conf: [modified]
mtime.conffile..etc.apache2.sites.available.default.ssl.conf: 2013-08-25T03:36:24.812973

Revision history for this message
thor2019 (thor2019) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

This seems to be the error:

apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/fcgid.load: Cannot load /usr/lib/apache2/modules/mod_fcgid.so into server: /usr/lib/apache2/modules/mod_fcgid.so: undefined symbol: unixd_config

The unixd_config symbol changed names between apache 2.2 and 2.4.

In precise:
root@precise-apache:~# objdump -T /usr/lib/apache2/modules/mod_fcgid.so|grep unixd_config
0000000000000000 D *UND* 0000000000000000 unixd_config

In trusty:
root@trusty-apache:~# objdump -T /usr/lib/apache2/modules/mod_fcgid.so|grep unixd_config
0000000000000000 D *UND* 0000000000000000 ap_unixd_config

So this is due to ordering during the upgrade I believe.

Now that the upgrade is done, what's the state of your system? Do the following work and do not produce unexpected results, like removing many packages?

sudo apt-get update
sudo apt-get -f install

Changed in apache2 (Ubuntu):
status: New → Incomplete
Revision history for this message
thor2019 (thor2019) wrote :

Thanks you for your tips. The reinstallation of fcgid has changed to "ap_unixd_config" and after two days later (and a few other things) my ubuntu 16.04 with apache2 started working.

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

[Expired for apache2 (Ubuntu) because there has been no activity for 60 days.]

Changed in apache2 (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.