Job for php-fpm.service failed because the control process exited with error code. See "systemc
Posted 吕涵之的博客
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Job for php-fpm.service failed because the control process exited with error code. See "systemc相关的知识,希望对你有一定的参考价值。
[[email protected] ~]# systemctl start php-fpm
Job for php-fpm.service failed because the control process exited with error code. See "systemctl status php-fpm.service" and "journalctl -xe" for details.
[[email protected] ~]# systemctl status php-fpm -l
● php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2019-01-14 19:04:24 CST; 16s ago
Process: 6892 ExecStart=/usr/sbin/php-fpm --nodaemonize --fpm-config /etc/php-fpm.conf (code=exited, status=78)
Main PID: 6892 (code=exited, status=78)
Jan 14 19:04:24 web01 systemd[1]: Starting The PHP FastCGI Process Manager...
Jan 14 19:04:24 web01 php-fpm[6892]: [14-Jan-2019 19:04:24] ERROR: [pool www] cannot get uid for user ‘www‘
Jan 14 19:04:24 web01 php-fpm[6892]: [14-Jan-2019 19:04:24] ERROR: FPM initialization failed
Jan 14 19:04:24 web01 systemd[1]: php-fpm.service: main process exited, code=exited, status=78/n/a
Jan 14 19:04:24 web01 systemd[1]: Failed to start The PHP FastCGI Process Manager.
Jan 14 19:04:24 web01 systemd[1]: Unit php-fpm.service entered failed state.
Jan 14 19:04:24 web01 systemd[1]: php-fpm.service failed.
[[email protected] ~]# groupadd -g666 www
[[email protected] ~]# useradd -u666 -g666 www
[[email protected] ~]# systemctl start php-fpm
[[email protected] ~]#
[[email protected] ~]# systemctl start php-fpmJob for php-fpm.service failed because the control process exited with error code. See "systemctl status php-fpm.service" and "journalctl -xe" for details.[[email protected] ~]# systemctl status php-fpm -l● php-fpm.service - The PHP FastCGI Process Manager Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Mon 2019-01-14 19:04:24 CST; 16s ago Process: 6892 ExecStart=/usr/sbin/php-fpm --nodaemonize --fpm-config /etc/php-fpm.conf (code=exited, status=78) Main PID: 6892 (code=exited, status=78)
Jan 14 19:04:24 web01 systemd[1]: Starting The PHP FastCGI Process Manager...Jan 14 19:04:24 web01 php-fpm[6892]: [14-Jan-2019 19:04:24] ERROR: [pool www] cannot get uid for user ‘www‘Jan 14 19:04:24 web01 php-fpm[6892]: [14-Jan-2019 19:04:24] ERROR: FPM initialization failedJan 14 19:04:24 web01 systemd[1]: php-fpm.service: main process exited, code=exited, status=78/n/aJan 14 19:04:24 web01 systemd[1]: Failed to start The PHP FastCGI Process Manager.Jan 14 19:04:24 web01 systemd[1]: Unit php-fpm.service entered failed state.Jan 14 19:04:24 web01 systemd[1]: php-fpm.service failed.[[email protected] ~]# groupadd -g666 www[[email protected] ~]# useradd -u666 -g666 www[[email protected] ~]# systemctl start php-fpm[[email protected] ~]#
以上是关于Job for php-fpm.service failed because the control process exited with error code. See "systemc的主要内容,如果未能解决你的问题,请参考以下文章
使用 Nginx + PHP-FPM 拒绝访问 PHP 文件 (403)
网卡出现问题Job for network.service failed
Job for httpd.service failed. See 'systemctl status httpd.service'