Nginx startup error [emerg] getpwnam(“nginx”) failed

The specific error is as follows:

[emerg] getpwnam("nginx") failed

Reason: The user group and user are specified when Nginx is compiled, but there is no problem caused by this user in the system

Solution: Create the corresponding user group and user name, or recompile Nginx without specifying the user group and user name

The post Nginx startup error [emerg] getpwnam(“nginx”) failed first appeared on Lenix Blog .

This article is reprinted from https://blog.p2hp.com/archives/9581
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment