Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Nginx not available error
any ideas whats happening?
[root@Yeti wok]# systemctl status nginx.service
● nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2017-02-22 15:46:23 EST; 29s ago
Process: 19248 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=1/FAILURE)
Process: 19242 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)
Feb 22 15:46:23 Yeti systemd: Starting The nginx HTTP and reverse proxy server…
Feb 22 15:46:23 Yeti nginx: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Feb 22 15:46:23 Yeti nginx: nginx: [emerg] bind() to 0.0.0.0:8000 failed (13: Permission denied)
Feb 22 15:46:23 Yeti nginx: nginx: configuration file /etc/nginx/nginx.conf test failed
Feb 22 15:46:23 Yeti systemd: nginx.service: control process exited, code=exited status=1
Feb 22 15:46:23 Yeti systemd: Failed to start The nginx HTTP and reverse proxy server.
Feb 22 15:46:23 Yeti systemd: Unit nginx.service entered failed state.
Feb 22 15:46:23 Yeti systemd: nginx.service failed.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×