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 ,如果错误,则修改配置文件
最新文章
- xml html entity 列表
- 在.NET Core 1.0 RC2 上 运行 Orchard2
- Apache rewrite
- C#的选择语句练习
- 态势感知 >; 技术运维问题
- IMP-00008: unrecognized statement in the export file: string的问题分析
- OpenStack运维(三):OpenStack存储节点和配置管理
- MySQL5.7.20安装过程报错CMake Error at cmake/boost.cmake:81 (MESSAGE):
- signal() 和 sigaction()
- 《Spring实战》学习笔记-第五章:构建Spring web应用
- springmvc+logback项目的日志搭建
- eclipse能正常启动tomcat,但是网页访问不了
- C语言 · 征税程序
- jenkins API
- count++线程安全与 synchronized对性能影响的测试
- VS2013 UML 如何复制文件
- C#设计模式系列:抽象工厂模式(AbstractFactory)
- axios中的qs
- go-互斥锁及原子函数
- 剑指offer-基本思想学习(未包括代码)
热门文章
- mybatis之注解式开发之关联查询
- 1.display:flex布局笔记
- callback源码分析——callback_iter和callback
- html5-新元素新布局模板
- grad-cam 、cam 和热力图,基于keras的实现
- NSThread(II)
- python: ImportError: cannot import name 'Style' from 'openpyxl.styles' 解决方法
- python 序列化,反序列化
- Dirichlet分布深入理解
- pyspider源码解读--调度器scheduler.py