package apache2 2.4.4-6ubuntu5 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück

Bug #1204561 reported by Arne Meyer on 2013-07-24
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apache2 (Ubuntu)
Undecided
Unassigned

Bug Description

Description: Ubuntu Saucy Salamander (development branch)
Release: 13.10
apache2:
  Installiert: 2.4.4-6ubuntu5
  Installationskandidat: 2.4.4-6ubuntu5
  Versionstabelle:
 *** 2.4.4-6ubuntu5 0
        500 http://de.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status

Happens on update

ProblemType: Package
DistroRelease: Ubuntu 13.10
Package: apache2 2.4.4-6ubuntu5
ProcVersionSignature: Ubuntu 3.10.0-3.12-generic 3.10.1
Uname: Linux 3.10.0-3-generic x86_64
Apache2ConfdDirListing: ['javascript-common.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: Could not open configuration file /etc/apache2/mods-enabled/php5_cgi.load: No such file or directory
 Action '-D DUMP_MODULES' failed.
 The Apache error log may have more information.
ApportVersion: 2.11-0ubuntu1
AptOrdering:
 apache2: Install
 apache2: Configure
Architecture: amd64
Date: Wed Jul 24 17:37:56 2013
DuplicateSignature: package:apache2:2.4.4-6ubuntu5:Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
ErrorMessage: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
InstallationDate: Installed on 2011-10-06 (657 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427)
MarkForUpload: True
SourcePackage: apache2
Title: package apache2 2.4.4-6ubuntu5 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
UpgradeStatus: Upgraded to saucy on 2013-06-18 (36 days ago)
error.log:

Arne Meyer (am-v) wrote :
tags: removed: need-duplicate-check
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Please could you attach your /etc/apache2/apache2.conf and report the output of the command: "stat /etc/apache2/mods-enabled/php5_cgi.load". Please check for any private information in apache2.conf and obscure before attaching.

Once done, please change the bug status back to New. Thanks!

Changed in apache2 (Ubuntu):
status: New → Incomplete
Arne Meyer (am-v) wrote :

stat /etc/apache2/mods-enabled/php5_cgi.load:

  Datei: »/etc/apache2/mods-enabled/php5_cgi.load“ -> »../mods-available/php5_cgi.load“
  Größe: 31 Blöcke: 0 EA Block: 4096 symbolische Verknüpfung
Gerät: 805h/2053d Inode: 654822 Verknüpfungen: 1
Zugriff: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Zugriff : 2013-07-31 17:08:09.251691822 +0200
Modifiziert: 2013-06-17 19:22:39.108196976 +0200
Geändert : 2013-06-17 19:22:39.108196976 +0200
 Geburt : -

Changed in apache2 (Ubuntu):
status: Incomplete → New
Robie Basak (racb) wrote :

Thanks. Based on your results, I have a further question: what are the outputs of the following commands please?

stat /etc/apache2/mods-available/php5_cgi.load

dpkg -s php5-cgi

Once done, please change the bug status back to New. Thanks!

Changed in apache2 (Ubuntu):
status: New → Incomplete
Arne Meyer (am-v) wrote :

Hi Robbie,
stat /etc/apache2/mods-available/php5_cgi.load
says file not found

 dpkg -s php5-cgi:
Package: php5-cgi
Status: install ok installed
Priority: optional
Section: php
Installed-Size: 17694
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Source: php5
Version: 5.5.1+dfsg-1ubuntu1
Depends: libbz2-1.0, libc6 (>= 2.15), libdb5.1, libpcre3 (>= 8.10), libssl1.0.0 (>= 1.0.0), libxml2 (>= 2.9.0), zlib1g (>= 1:1.1.4), mime-support, php5-common (= 5.5.1+dfsg-1ubuntu1), libmagic1, ucf, tzdata
Suggests: php-pear
Conffiles:
 /etc/apache2/conf-available/php5-cgi.conf 0158cca25ac357210ac14265d90e08ac
Description: server-side, HTML-embedded scripting language (CGI binary)
 This package provides the /usr/lib/cgi-bin/php5 CGI interpreter built
 for use in Apache 2 with mod_actions, or any other CGI httpd that
 supports a similar mechanism. Note that MOST Apache users probably
 want the libapache2-mod-php5 package.
 The following extensions are built in: bcmath bz2 calendar Core ctype date
 dba dom ereg exif fileinfo filter ftp gettext hash iconv libxml mbstring
 mhash openssl pcntl pcre Phar posix Reflection session shmop SimpleXML soap
 sockets SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader
 xmlwriter zip zlib.
 .
 PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
 open source general-purpose scripting language that is especially suited
 for web development and can be embedded into HTML.
Homepage: http://www.php.net/
Original-Maintainer: Debian PHP Maintainers <email address hidden>

hth
Arne

Changed in apache2 (Ubuntu):
status: Incomplete → New
Robie Basak (racb) wrote :

Thanks!

php5-cgi provides /etc/apache2/mods-available/php5_cgi.load, so it seems that you have a problem local to your system. Try reinstalling the php5-cgi package.

Since this looks like a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug as Invalid.

You can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

If you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug rather than a problem specific to your system, and then change the bug status back to New.

In particular, in your case, it seems far more likely that something local has accidentally removed /etc/apache2/mods-available/php5_cgi.load, rather than there being a bug in packaging here. I'd only consider this a bug if you could show that something in packaging deletes /etc/apache2/mods-available/php5_cgi.load when it should not. Please post steps to reproduce if this is the case.

Changed in apache2 (Ubuntu):
status: New → Invalid
Robie Basak (racb) wrote :

Perhaps I spoke too soon. I just noticed that you're using 13.10. Is there a way that /etc/apache2/mods-available/php5_cgi.load got deleted during upgrade, and the symlink in /etc/apache2/mods-enabled/php5_cgi.load did not?

Arne Meyer (am-v) wrote :

Hi Robbie,
just because this happened during an update, you might be right.
both symlinks
/etc/apache2/mods-enabled/php5_cgi.conf and
/etc/apache2/mods-enabled/php5_cgi.load are dead

the only php files are
/etc/apache2/mods-available/php5.conf and
/etc/apache2/mods-available/php5.load

But for These there is no symlink in
/etc/apache2/mods-enabled/

hth
Arne

Changed in apache2 (Ubuntu):
status: Invalid → New
BBFUNK01 (a-contact-k) wrote :

Hi,

I have the same problem : on the 30th of july the upgrade crashed my apache2.

When I try to start apache2 I have this error :

 * Starting web server apache2 apache2: Syntax error on line 210 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/php5_cgi.load: No such file or directory
Action 'start' failed.
The Apache error log may have more information.

Effectively there is no php5_cgi.load in /etc/apache2/mods-enabled/ and in /etc/apache2/mods-available/

I was on PHP 5.4 nad after upgrade my PHP5 version is PHP 5.5.1, I tried to downgrade PHP5 buy reinstall it but it still installed PHP 5.5.1.

Does anybody know how we could solve it ? Every things work on my server except the connexion in http to my plesk interface and to my websites.

(I'm on Plesk, ubuntu 12.04)

Thankds ;-)

BBFUNK01

daYmo (damiengoeres) wrote :

sudo rm -rf /etc/apache2/mods-enabled/php5_cgi.*
sudo service apache2 restart

Launchpad Janitor (janitor) wrote :

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

Changed in apache2 (Ubuntu):
status: New → Confirmed
Robie Basak (racb) wrote :

I've spent some time digging into this, but haven't been able to reproduce the problem. It does look likely that this was once a bug, since there has been some juggling regarding the previous php5_cgi dummy module in the packaging. However, there has been quite some activity in both the apache2 and php5 packages recently. Since I can't figure out how to reproduce the problem, it could be that the bug has been fixed in between 2.4.4-6ubuntu5 and 2.4.6-2ubuntu2.

If you are still affected by this bug, please report which versions of apache2 and php5 were involved: both the sets of versions you upgraded *from* and the versions you upgraded *to*. Steps to reproduce the problem would be ever better!

Since I think the problem may be fixed now, and we don't have steps to reproduce and have no way to verify if the bug does still exist, I'm marking this bug as Incomplete. If you do find that the bug is still present, please report it here and change the bug status back to New.

Changed in apache2 (Ubuntu):
status: Confirmed → Incomplete
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  Edit
Everyone can see this information.

Other bug subscribers