您的位置:首页 > 编程语言 > PHP开发

Job for php-fpm.service failed because the control process exited with error code. See "systemctl st

2016-09-05 14:00 986 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐