Please specify user and group other than root, pool & #39; default & #39;, specifypool

Source: Internet
Author: User

Please specify user and group other than root, pool 'default', specifypool
 

[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

Find

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

By default, it is the same as the nginx. conf user name, and is changed to "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 started successfully!




In linux, how does apache24 run with the root permission? Failed to restart apache by setting User root Group root in httpdconf

Are you installing rpm or installing source code with parameters? For example, -- user

Is your apache owner and group root?

Check the error log to see where it is missing.

Why is there no record in/etc/group after linux adds a user to the root group?

Why? Is your command input incorrect?
Sudo gpasswd-a user root

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.