package php7.2-fpm 7.2.10-0ubuntu0.18.04.1 failed to install/upgrade: installed php7.2-fpm package post-installation script subprocess returned error exit status 1

Bug #1793981 reported by Joe Nelis
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
php7.2 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

normal package install attempted using: sudo apt-get install

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: php7.2-fpm 7.2.10-0ubuntu0.18.04.1
ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
Uname: Linux 4.15.0-34-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
Date: Wed Sep 19 06:24:04 2018
ErrorMessage: installed php7.2-fpm package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-08-17 (37 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
Python3Details: /usr/bin/python3.6, Python 3.6.6, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt 1.6.3ubuntu0.1
SourcePackage: php7.2
Title: package php7.2-fpm 7.2.10-0ubuntu0.18.04.1 failed to install/upgrade: installed php7.2-fpm package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to bionic on 2018-08-25 (29 days ago)
mtime.conffile..etc.php.7.2.fpm.pool.d.www.conf: 2018-09-11T23:18:40.911387

Revision history for this message
Joe Nelis (i-joe-7) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Nish Aravamudan (nacc) wrote :

This seems like a (possibly preventable) local configuration issue:

Setting up php7.2-fpm (7.2.10-0ubuntu0.18.04.1) ...
NOTICE: Not enabling PHP 7.2 FPM by default.
NOTICE: To enable PHP 7.2 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php7.2-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Job for php7.2-fpm.service failed because the control process exited with error code.
See "systemctl status php7.2-fpm.service" and "journalctl -xe" for details.
invoke-rc.d: initscript php7.2-fpm, action "restart" failed.
● php7.2-fpm.service - The PHP 7.2 FastCGI Process Manager
   Loaded: loaded (/lib/systemd/system/php7.2-fpm.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2018-09-19 06:24:04 EDT; 7ms ago
     Docs: man:php-fpm7.2(8)
  Process: 31548 ExecStart=/usr/sbin/php-fpm7.2 --nodaemonize --fpm-config /etc/php/7.2/fpm/php-fpm.conf (code=exited, status=78)
 Main PID: 31548 (code=exited, status=78)

Sep 19 06:24:04 Nelis05ux systemd[1]: Starting The PHP 7.2 FastCGI Process Manager...
Sep 19 06:24:04 Nelis05ux php-fpm7.2[31548]: [19-Sep-2018 06:24:04] ERROR: [pool www] cannot get uid for user 'nginx': Success (0)
Sep 19 06:24:04 Nelis05ux php-fpm7.2[31548]: [19-Sep-2018 06:24:04] ERROR: FPM initialization failed
Sep 19 06:24:04 Nelis05ux systemd[1]: php7.2-fpm.service: Main process exited, code=exited, status=78/n/a
Sep 19 06:24:04 Nelis05ux systemd[1]: php7.2-fpm.service: Failed with result 'exit-code'.
Sep 19 06:24:04 Nelis05ux systemd[1]: Failed to start The PHP 7.2 FastCGI Process Manager.
dpkg: error processing package php7.2-fpm (--configure):

Specifically, "Sep 19 06:24:04 Nelis05ux php-fpm7.2[31548]: [19-Sep-2018 06:24:04] ERROR: [pool www] cannot get uid for user 'nginx': Success (0)". Is there such a user on your system?

Changed in php7.2 (Ubuntu):
status: New → Incomplete
LESOUEF (andre-lesouef)
Changed in php7.2 (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
Nish Aravamudan (nacc) wrote :

Please do not randomly change the state of bugs.

Changed in php7.2 (Ubuntu):
status: Fix Released → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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