[root@localhost nginx-1.11.2]# /usr/local/nginx/sbin/nginx nginx: [emerg] getpwnam("nginx") failed
Unable to start because Nginx user is not installed
[root@localhost nginx-1.11.2]# useradd -s /sbin/nologin -M nginx [root@localhost nginx-1.11.2]# id nginx
[root@localhost nginx-1.11.2]# /usr/local/nginx/sbin/nginx [root@localhost nginx-1.11.2]# netstat -tlunp | grep nginx tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 9709/nginx: master
Similar Posts:
- CentOS starts nginx and prompts nginx: [emergency] still could not bind ()
- Nginx Error when installing the startup service failed to start a high performance web server and a reverse proxy serve
- This account is currently not available [How to Solve]
- [Solved] Nginx Restart Error: nginx: [error] open() “/usr/local/nginx/logs/nginx.pid” failed (2: No such file or directory)
- The state of nginx is the failed solution
- [Solved] Keepalived Start Error: default user does not exist & open() “/run/nginx.pid” failed
- PHP FPM and Nginx start normally, page 502 Error [How to Solve]
- [Solved] Nginx: [error] open() "/usr/local/Nginx/logs/Nginx.pid
- nginx: [error] open() “/usr/local/nginx/logs/nginx.pid“ failed (2: No such file or directory)
- [Solved] Nginx can’t listen to the problem of virtual VIP: 99: cannot assign requested address