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 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 ~]# 

 

原因1:開啟了httpd

解決方式:systemctl stop httpd

    systemctl start nginx

 

原因2:/etc/nginx/conf.d里的配置文件錯誤

解決方式:查看是否是配置文件錯誤  nginx -t  ,如果錯誤,則修改配置文件

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



猜您在找 centos7啟動MySQL報 Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details. Jenkins報錯:Job for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details. service mysql start ,出現錯誤Job for mysql.service failed because the control process exited process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details. Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details Job for mongod.service failed because the control process exited with error code. See "systemctl status mongod.service" and "journalctl -xe" for details Linux系統Docker啟動問題Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" Jenkins++:Job for jenkins.service failed because the control process exited with error code. See "systemctl st ubuntu16.04,mysql5.7重啟不成功。Restarting mysql (via systemctl): mysql.serviceJob for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" Job for jenkins.service failed because the control process exited with error code. centos 報錯 “Job for iptables.service failed because the control process exited with error code.”的解決辦法
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM