Board logo

标题: [求助] 安装最新版一键包,NGINX服务启动失败 [打印本页]

作者: star0312    时间: 2017-3-6 20:18     标题: 安装最新版一键包,NGINX服务启动失败

[root@localhost ~]# systemctl status nginxd
● nginxd.service - SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 proxy server
   Loaded: loaded (/etc/rc.d/init.d/nginxd; bad; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2017-03-06 19:57:22 CST; 10min ago
     Docs: man:systemd-sysv-generator(8)

Mar 06 19:57:22 localhost.localdomain systemd[1]: Starting SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 proxy server...
Mar 06 19:57:22 localhost.localdomain nginxd[50583]: Starting nginx: nginx: [emerg] getpwnam("www") failed in /www/wdlinux/nginx/conf/nginx.conf:4
Mar 06 19:57:22 localhost.localdomain nginxd[50583]: [FAILED]
Mar 06 19:57:22 localhost.localdomain systemd[1]: nginxd.service: control process exited, code=exited status=1
Mar 06 19:57:22 localhost.localdomain systemd[1]: Failed to start SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 proxy server.
Mar 06 19:57:22 localhost.localdomain systemd[1]: Unit nginxd.service entered failed state.
Mar 06 19:57:22 localhost.localdomain systemd[1]: nginxd.service failed.
不知道什么原因啊,安装了好几次,都出现这个提示。
作者: star0312    时间: 2017-3-6 20:20

安装环境是:Centos7.2
作者: cn5m    时间: 2017-3-11 16:42

支持。。支持。。
作者: 冬至雨    时间: 2017-6-23 09:54

后来怎么解决的?我也是7.2
作者: langwai    时间: 2017-7-6 15:36

先升级一下系统,再安装看看
作者: da39165197    时间: 2017-7-20 12:00

没有建立名叫“www”的用户名和组,解决办法可以用现有的用户和组,也可以手动建立名叫“www”的用户和组




欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2