nginx安装 nginx: [emerg] getpwnam(“www”) failed 错误
来源:互联网 发布:灰度共生矩阵 svm 编辑:程序博客网 时间:2024/06/06 03:18
nginx安装 nginx: [emerg] getpwnam(“www(nobody)”) failed 错误
解决方法1:
在nginx.conf中 把user nobody的注释去掉既可
解决方法2:
错误的原因是没有创建www这个用户,应该在服务器系统中添加www用户组和用户www,如下命令:
1
2
#/usr/sbin/groupadd -f www
#/usr/sbin/useradd -g www www
0 0
- nginx安装 nginx: [emerg] getpwnam(“www”) failed 错误
- nginx安装 nginx: [emerg] getpwnam(“www-data”) failed 错误
- nginx: [emerg] getpwnam(“www”) failed错误
- Nginx错误:[emerg] getpwnam(“www”) failed
- nginx [emerg]: getpwnam(“www”) failed 处理办法
- [emerg]: getpwnam(“nginx”) failed
- Nginx启动报错[emerg] getpwnam("nginx") failed
- nginx:[emerg] : getpwnam("root") failed in /usr/local/nginx/conf/nginx.conf:2解决办法
- 报错nginx: [emerg] getgrnam("nginx") failed
- nginx: [emerg] open() "/var/run/nginx/nginx.pid" failed (2: No such file or direct nginx重启后的错误
- nginx错误之 nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
- 解决安装nginx的nginx: [emerg] mkdir() "/var/temp/nginx/client" failed (2: No such file or directory)问题
- nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) 错误解决
- nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) 错误解决
- nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) 错误解决
- nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) 错误
- mac 上nginx的错误 nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use)
- EasyDSS流媒体服务器Linux emerg getpwnam("xxx") failed解决办法
- CodeForces 681B Economy Game (暴力)
- ViewPager的setOnPageChangeListener方法详解
- JSP基础语法
- 进程
- 奔三奶爸初学php心得记录(第一天)
- nginx安装 nginx: [emerg] getpwnam(“www”) failed 错误
- java biginteger怎么用
- Java 中父类怎么调用子类的方法?
- hibernate主键配置
- 模式匹配_KMP
- DrawerLayout 的使用
- 通过查询表定义(DBMS_METADATA)来查看建表的更多选项
- linux之ssh使用与配置
- java基础-补