Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Failed to start The PHP 5.6 FastCGI Process Manager #2836

Open
quoidautre opened this issue Mar 4, 2019 · 0 comments
Open

Failed to start The PHP 5.6 FastCGI Process Manager #2836

quoidautre opened this issue Mar 4, 2019 · 0 comments

Comments

@quoidautre
Copy link

Hi,

Next to this issue #2835 , php-fpm-5.6 not starting :

==> id.apachenew: Building dependency tree...
==> id.apachenew: Reading state information...
==> id.apachenew: php5.6-fpm is already the newest version (5.6.40-1+ubuntu16.04.1+deb.sury.org+2+will+reach+end+of+life+in+april+2019).
==> id.apachenew: 0 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.
==> id.apachenew: 1 not fully installed or removed.
==> id.apachenew: After this operation, 0 B of additional disk space will be used.
==> id.apachenew: Setting up php5.6-fpm (5.6.40-1+ubuntu16.04.1+deb.sury.org+2+will+reach+end+of+life+in+april+2019) ...
==> id.apachenew: NOTICE: Not enabling PHP 5.6 FPM by default.
==> id.apachenew: NOTICE: To enable PHP 5.6 FPM in Apache2 do:
==> id.apachenew: NOTICE: a2enmod proxy_fcgi setenvif
==> id.apachenew: NOTICE: a2enconf php5.6-fpm
==> id.apachenew: NOTICE: You are seeing this message because you have apache2 package installed.
==> id.apachenew: Job for php5.6-fpm.service failed because the control process exited with error code. See "systemctl status php5.6-fpm.service" and "journalctl -xe" for details.

==> id.apachenew: invoke-rc.d: initscript php5.6-fpm, action "restart" failed.
==> id.apachenew: * php5.6-fpm.service - The PHP 5.6 FastCGI Process Manager
==> id.apachenew:    Loaded: loaded (/lib/systemd/system/php5.6-fpm.service; enabled; vendor preset: enabled)
==> id.apachenew:    Active: failed (Result: exit-code) since Mon 2019-03-04 17:26:06 CET; 3ms ago
==> id.apachenew:      Docs: man:php-fpm5.6(8)
==> id.apachenew:   Process: 10150 ExecStart=/usr/sbin/php-fpm5.6 --nodaemonize --fpm-config /etc/php/5.6/fpm/php-fpm.conf (code=exited, status=78)
==> id.apachenew:  Main PID: 10150 (code=exited, status=78)

==> id.apachenew:
==> id.apachenew: Mar 04 17:26:06 vm systemd[1]: Starting The PHP 5.6 FastCGI Process Manager...
==> id.apachenew: Mar 04 17:26:06 vm php-fpm5.6[10150]: [04-Mar-2019 17:26:06] ERROR: [pool w...}'
==> id.apachenew: Mar 04 17:26:06 vm php-fpm5.6[10150]: [04-Mar-2019 17:26:06] ERROR: FPM ini...ed
==> id.apachenew: Mar 04 17:26:06 vm systemd[1]: php5.6-fpm.service: Main process exited, cod.../a
==> id.apachenew: Mar 04 17:26:06 vm systemd[1]: Failed to start The PHP 5.6 FastCGI Process ...r.
==> id.apachenew: Mar 04 17:26:06 vm systemd[1]: php5.6-fpm.service: Unit entered failed state.
==> id.apachenew: Mar 04 17:26:06 vm systemd[1]: php5.6-fpm.service: Failed with result 'exit...'.
==> id.apachenew: Hint: Some lines were ellipsized, use -l to show in full.
==> id.apachenew: dpkg: error processing package php5.6-fpm (--configure):
==> id.apachenew:  subprocess installed post-installation script returned error exit status 1
==> id.apachenew: Errors were encountered while processing:
==> id.apachenew:  php5.6-fpm
==> id.apachenew: E: Sub-process /usr/bin/dpkg returned an error code (1)

I can connect the VM with 'vagrant ssh' but, indeed, there's an error :

$ sudo /etc/init.d/php5.6-fpm restart
[....] Restarting php5.6-fpm (via systemctl): php5.6-fpm.serviceJob for php5.6-fpm.service failed because the control process exited with error code. See "systemctl status php5.6-fpm.service" and "journalctl -xe" for details.
 failed!

[06:01 PM]-[vagrant@vm]-[~]
$ journalctl -xe
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit php5.6-fpm.service has failed.
--
-- The result is failed.
Mar 04 17:52:42 vm systemd[1]: php5.6-fpm.service: Unit entered failed state.
Mar 04 17:52:42 vm systemd[1]: php5.6-fpm.service: Failed with result 'exit-code'.
Mar 04 17:52:42 vm sudo[11065]: pam_unix(sudo:session): session closed for user root
Mar 04 17:53:20 vm puppet-agent[1192]: Could not request certificate: Failed to open TCP connection to puppet:8140 (getaddrinfo: Name or service not known)
Mar 04 17:55:01 vm CRON[11120]: pam_unix(cron:session): session opened for user root by (uid=0)
Mar 04 17:55:01 vm CRON[11121]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Mar 04 17:55:01 vm CRON[11120]: pam_unix(cron:session): session closed for user root
Mar 04 17:55:20 vm puppet-agent[1192]: Could not request certificate: Failed to open TCP connection to puppet:8140 (getaddrinfo: Name or service not known)
Mar 04 17:57:20 vm puppet-agent[1192]: Could not request certificate: Failed to open TCP connection to puppet:8140 (getaddrinfo: Name or service not known)
Mar 04 17:59:20 vm puppet-agent[1192]: Could not request certificate: Failed to open TCP connection to puppet:8140 (getaddrinfo: Name or service not known)
Mar 04 18:01:11 vm sudo[11144]:  vagrant : TTY=pts/0 ; PWD=/home/vagrant ; USER=root ; COMMAND=/etc/init.d/php5.6-fpm restart
Mar 04 18:01:11 vm sudo[11144]: pam_unix(sudo:session): session opened for user root by vagrant(uid=0)
Mar 04 18:01:11 vm systemd[1]: Stopped The PHP 5.6 FastCGI Process Manager.
-- Subject: Unit php5.6-fpm.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit php5.6-fpm.service has finished shutting down.
Mar 04 18:01:11 vm systemd[1]: Starting The PHP 5.6 FastCGI Process Manager...
-- Subject: Unit php5.6-fpm.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit php5.6-fpm.service has begun starting up.
Mar 04 18:01:11 vm php-fpm5.6[11158]: [04-Mar-2019 18:01:11] ERROR: [pool www] cannot get uid for user '{}'
Mar 04 18:01:11 vm php-fpm5.6[11158]: [04-Mar-2019 18:01:11] ERROR: FPM initialization failed
Mar 04 18:01:11 vm systemd[1]: php5.6-fpm.service: Main process exited, code=exited, status=78/n/a
Mar 04 18:01:11 vm systemd[1]: Failed to start The PHP 5.6 FastCGI Process Manager.
-- Subject: Unit php5.6-fpm.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit php5.6-fpm.service has failed.
--
-- The result is failed.
Mar 04 18:01:11 vm systemd[1]: php5.6-fpm.service: Unit entered failed state.
Mar 04 18:01:11 vm systemd[1]: php5.6-fpm.service: Failed with result 'exit-code'.
Mar 04 18:01:11 vm sudo[11144]: pam_unix(sudo:session): session closed for user root

Any idea ?

Thanks,
F.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant