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 ,如果错误,则修改配置文件
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.的更多相关文章
- Job for docker.service failed because the control process exited with error code. See "systemctl status do cker.service" and "journalctl -xe" for details.
问题出现 :入手操作Docker时,安装启动后报了这个错 Job for docker.service failed because the control process exited with e ...
- Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details
thinkphp 在Apache上配置启用伪静态,重启Apache1 restart 竟然失败了,报错 Job for httpd.service failed because the control ...
- CentOS启动docker1.13失败(Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.)
一.启动失败 1.启动docker [root@localhost ~]# systemctl start docker Job for docker.service failed because t ...
- docker 报错: Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
centos 启动docker服务报错: Job for docker.service failed because the control process exited with error cod ...
- Linux 重启网卡失败 Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
linux下重启网卡使用命令 : service network restart 时报错: [root@slave01 hadoop]# service network restart Startin ...
- Jenkins 安装启动提示“iJob for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details.”
通过RPM安装Jenkins简单方便,不太需要复杂的过程,但是在安装完成以后启动Jenkins的时候提示“Starting jenkins (via systemctl): Job for jenki ...
- Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
环境:Ubuntu 16.04.1 + Django 1.11.15 + Apache 2.4.18 + python 3.5 此篇文章内容提到的第几步,对照以下链接中的步骤 百度云的ubuntu1 ...
- Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
一.前言 Job for mysqld.service failed because the control process exited with error code. See "sys ...
- Linux系统Docker启动问题Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service"
在Liunx中使用Docker, 注: Liunx使用的是在虚拟机下的centOS7版本在刚开始安装Docker时没有任何错误, 但是在后续的docker启动过程中, 出现以下问题: [root@zk ...
随机推荐
- Mongodb $in $or 性能比较
MongoDB docs have the answer: "When using $or with <expressions> that are equality chec ...
- spark stream001
package stream.scala import java.io.PrintWriter import java.net.ServerSocket class LoggerSimulation ...
- Hessian---java远程通讯 (zhuan)
http://blog.csdn.net/harderxin/article/details/22669383 (zhuan)
- TP引用样式表和js文件及验证码
TP引用样式表和js文件及验证码 引入样式表和js文件 <script src="__PUBLIC__/bootstrap/js/jquery-1.11.2.min.js"& ...
- kali linux 基本命令(第一批)
pwd , rm ,locate ,cat ,head , clear ,ls ,cd ,mkdir ,touch ,ec ...
- html5-新布局元素header,footer
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8&qu ...
- hdu5293 lca+dp+树状数组+时间戳
题意是给了 n 个点的树,会有m条链条 链接两个点,计算出他们没有公共点的最大价值, 公共点时这样计算的只要在他们 lca 这条链上有公共点的就说明他们相交 dp[i]为这个点包含的子树所能得到的最 ...
- jQuery选择器--selector1,selector2,selectorN和ancestor descendant
selector1,selector2,selectorN 概述 将每一个选择器匹配到的元素合并后一起返回.你可以指定任意多个选择器,并将匹配到的元素合并到一个结果内 参数 selector1 ...
- linux 安装 Python
一. 打开终端,输入:wget https://www.python.org/ftp/python/3.5.0/Python-3.5.0b4.tgz 下载完毕后 输入解压命令:tar –zxvf Py ...
- rabbitmq和redis用作消息队列的区别
将redis发布订阅模式用做消息队列和rabbitmq的区别: 可靠性redis :没有相应的机制保证消息的可靠消费,如果发布者发布一条消息,而没有对应的订阅者的话,这条消息将丢失,不会存在内存中:r ...