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 '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 启动成功!

时间: 2024-10-24 17:03:51

please specify user and group other than root, pool &#39;default&#39;的相关文章

php-fpm 启动报please specify user and group other than root, pool ‘default’

安装PHP ,配置fpm 成功后启动发现报错: Starting php_fpm Aug 03 06:51:54.269165 [ERROR] fpm_unix_conf_wp(), line 124: please specify user and group other than root, pool 'default' 解决办法: 修改php-fpm.conf  代码如下 复制代码  <!--  <value name="user">nobody</val

ERROR 1045 (28000): Access denied for user &amp;#39;root&amp;#39;@&amp;#39;localhost&amp;#39; (using password: YES)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) root@mysql ~]# mysql -p -u root Enter password:  ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) ERROR 1045 (28000): Access denied

mysql报错 Access denied for user &amp;#39;root&amp;#39;@&amp;#39;localhost&amp;#39; (using password: YES)

java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609)at com.mysql.jdbc.MysqlIO.checkErrorPa

failed: Access denied for user &amp;#39;root&amp;#39;@&amp;#39;localhost&amp;#39; (using password: YES) at /usr/bin/innobackupex lin

[root@t1 /]#  innobackupex --user=root --password /mydata/data /tmp/dir/ InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy and Percona LLC and/or its affiliates 2009-2013.  All Rights Reserved. This software is published under

ERROR: Upgrade faifailed bin/mysqlcheck: Got error: 1045: Access denied for user &amp;#39;root&amp;#39;@&amp;#39;localhost&amp;#39;

环境: centos 6.5  mysql 5.5.20 升级 5.6.25 报错: mysql升级报错: mysql.time_zone_transition_type                    OK mysql.user                                         OK Running 'mysql_fix_privilege_tables'... Running 'mysqlcheck with default connection argu

mariadb 1045 (28000): Access denied for user &amp;#39;root&amp;#39;@&amp;#39;localhost&amp;#39; (using password: YES)

[root@localhost /]# systemctl stop mariadb.service[root@localhost /]# mysqld_safe --user=mysql --skip-grant-tables --skip-networking & [1] 46043[root@localhost /]# 150131 03:15:27 mysqld_safe Logging to '/var/log/mariadb/mariadb.log'.150131 03:15:27

JSP连接MySQL时出现--错误:Access denied for user &amp;#39;root&amp;#39;@&amp;#39;localhost&amp;#39; (using password: YES)&amp;#39;解决方案

用代码进行用户验证的时候总是出现这个错误,翻译一下,应该是root用户的是权限的问题没有放开. 那就想办法解决一下吧,具体的来说可以有这样的几种方式. 解决方法,首先想到的是先重启一下MySQL服务吧,但是试了一下,发现这并没有什么用. 网上搜索了一下,相关于MySQL的权限的释放和管理问题,找到一个比较好的答案: //首先计入到mysql的客户端命令行. //然后 grant all privileges on *.* to 'root'@'localhost' identified by '

Linux /etc/passwd /etc/group /etc/shadow 文件的格式说明

/etc/passwd 存放账户信息: root:x:0:0:root:/root:/bin/bash jianing:x:1011:100::/home/jianing:/bin/bash username:password:uid:gid:allname:homedir:shell 用户名:密码:用户ID:组ID:用户全名:主目录:登录shell 密码:存在/etc/shadow中,存入后者的就用x表示,如果是"!"说明此用户不能用密码登录 UID:就是用户识别码(ID),当UID

linux下php-fpm以root身份启动设置

为了安全php-fpm默认是以apache用户启动的 [root@chaoge ~]# ps -aux | grep php-fpm Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ root      4539  0.0  0.0 205552  3716 ?        Ss   10:22   0:00 php-fpm: master process (/etc/php-fpm.co