[emerg]: getpwnam(“nginx”) failed Posted on 2011-03-22 In nginx 在启动nginx之前还需要添加nginx用户组,否则会提示 [emerg]: getpwnam(“nginx”) failed 添加用户组 sudo adduser --system --no-create-home --disabled-password --group nginx