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
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-
ProcVersionSign
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
RelatedPackageV
dpkg 1.19.0.5ubuntu2
apt 1.6.3ubuntu0.1
SourcePackage: php7.2
Title: package php7.2-fpm 7.2.10-
UpgradeStatus: Upgraded to bionic on 2018-08-25 (29 days ago)
mtime.conffile.
tags: | removed: need-duplicate-check |
Changed in php7.2 (Ubuntu): | |
status: | Incomplete → Fix Released |
This seems like a (possibly preventable) local configuration issue:
Setting up php7.2-fpm (7.2.10- 0ubuntu0. 18.04.1) ... system/ php7.2- fpm.service; enabled; vendor preset: enabled) /usr/sbin/ php-fpm7. 2 --nodaemonize --fpm-config /etc/php/ 7.2/fpm/ php-fpm. conf (code=exited, status=78)
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/
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=
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?