nginx: [emerg] getpwnam("nginx") failed in /usr/local/nginx/conf/nginx.conf:2

启动nginx报错:

        nginx: [emerg] getpwnam("nginx") failed in /usr/local/nginx/conf/nginx.conf:2

是因为配制文件中使用的启动账户在系统中并没有找到

解决办法:

useradd name 

你可能感兴趣的:(failed)