码迷,mamicode.com
首页 > Web开发 > 详细

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.

时间:2019-01-14 20:23:12      阅读:1016      评论:0      收藏:0      [点我收藏+]

标签:stc   add   ati   tin   nod   useradd   systemd   ini   disable   

[root@web01 ~]#  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.

[root@web01 ~]#  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.

[root@web01 ~]# groupadd -g666 www

[root@web01 ~]# useradd -u666 -g666 www

[root@web01 ~]#  systemctl start php-fpm

[root@web01 ~]# 

[root@web01 ~]#  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.[root@web01 ~]#  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.[root@web01 ~]# groupadd -g666 www[root@web01 ~]# useradd -u666 -g666 www[root@web01 ~]#  systemctl start php-fpm[root@web01 ~]# 

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.

标签:stc   add   ati   tin   nod   useradd   systemd   ini   disable   

原文地址:https://www.cnblogs.com/lvhanzhi/p/10268502.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!