Job for php-fpm.service failed because the control process exited with error code. See "systemctl st
centos7.2环境下安装php5.6.17。 启动失败。
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.
查看错误提示:cannot get uid for user "www"
查看#id www 提示id:www:no such user
解决方案:执行以下语句 curl -s https://raw.githubusercontent.com/oscm/shell/master/os/user/www.sh | bash
再次查看#id www uid=80(www) gid=80(www) groups=80(www)
启动php-fpm成功 #systemctl start php-fpm.service
声明:该文观点仅代表作者本人,牛骨文系教育信息发布平台,牛骨文仅提供信息存储空间服务。
- 上一篇: 如何进入tomcat的管理页面
- 下一篇: C语言fread()函数:读文件函数(从文件流读取数据)