牛骨文教育服务平台(让学习变的简单)
博文笔记

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

创建时间:2016-09-05 投稿人: 浏览次数:15429

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
声明:该文观点仅代表作者本人,牛骨文系教育信息发布平台,牛骨文仅提供信息存储空间服务。