please specify user and group other than root, pool 'default'

简介:  [root@luozhonghua etc]# /usr/local/php/sbin/php-fpm start Starting php_fpm Jul 12 09:41:02.077951 [ERROR] fpm_unix_conf_wp(), line 124: please specify user and group other than root, pool 'defau
 

[root@luozhonghua etc]# /usr/local/php/sbin/php-fpm start

Starting php_fpm Jul 12 09:41:02.077951 [ERROR] fpm_unix_conf_wp(), line 124: please specify user and group other than root, pool 'default'


[root@luozhonghua etc]# vi php-fpm.conf  

  找到 

<!-- <value name="user"></value> -->

默认与nginx.conf 用户名 一致,都为nobody修改为:

<value name="user">nobody</value

[root@luozhonghua etc]# /usr/local/php/sbin/php-fpm start

Starting php_fpm . done

[root@luozhonghua etc]#

php_fpm 启动成功!



目录
相关文章
|
9月前
|
Ubuntu 数据安全/隐私保护
All data created during this guest session will be deleted when you log out 问题的解决
All data created during this guest session will be deleted when you log out 问题的解决
|
6月前
|
NoSQL MongoDB
解决 :MongoDB couldn‘t add user: not authorized on ‘your db‘ to execute command
解决 :MongoDB couldn‘t add user: not authorized on ‘your db‘ to execute command
166 0
|
6月前
|
存储 关系型数据库 MySQL
The user specified as a definer (‘root‘@‘%‘) does not exist
The user specified as a definer (‘root‘@‘%‘) does not exist
|
10月前
|
编译器
[C++11]中 =delete和=default
[C++11]中 =delete和=default
49 0
[C++11]中 =delete和=default
|
SQL 关系型数据库 MySQL
only_full_group_by问题而引发的对group by的深入思考
only_full_group_by问题而引发的对group by的深入思考
104 0
|
关系型数据库 MySQL
The user specified as a definer (‘root‘@‘%‘) does not exist(已解决)
The user specified as a definer (‘root‘@‘%‘) does not exist(已解决)
381 0
The user specified as a definer (‘root‘@‘%‘) does not exist(已解决)
|
SQL 关系型数据库 MySQL
mysql 报错 is too long for user name (should be no longer than 16)
mysql 报错 is too long for user name (should be no longer than 16)
244 0
|
前端开发
|
数据库
Multiple Server Query Execution报The result set could not be merged..
在SQL Server中使用Multiple Server Query Execution这个功能做数据库维护或脚本发布时非常方便,昨天由于磁盘空间原因,删除清理了大量的软件和组件,结果导致SSMS客户端出了问题,重装过后,使用Multiple Server Query Execution时,出现了...
957 0
|
PHP 开发工具
报错 invalid [default store dir]: /tmp/
php sdk解压以后文件如下   推荐处理方案    1.如果使用支付宝sdk,首先lotusphp_runtime 文件也要一起使用  支付宝现在的php sdk中有lotus框架可以和aop文件   夹放在同一级    2.
836 0