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[1]: Starting The nginx HTTP and reverse proxy server… Feb 22 15:46:23 Yeti nginx[19248]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok Feb 22 15:46:23 Yeti nginx[19248]: nginx: [emerg] bind() to 0.0.0.0:8000 failed (13: Permission denied) Feb 22 15:46:23 Yeti nginx[19248]: nginx: configuration file /etc/nginx/nginx.conf test failed Feb 22 15:46:23 Yeti systemd[1]: nginx.service: control process exited, code=exited status=1 Feb 22 15:46:23 Yeti systemd[1]: Failed to start The nginx HTTP and reverse proxy server. Feb 22 15:46:23 Yeti systemd[1]: Unit nginx.service entered failed state. Feb 22 15:46:23 Yeti systemd[1]: nginx.service failed.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
You’re trying to bind to 0.0.0.0:8000 somewhere - either in /etc/nginx/nginx.conf or one of the files in /etc/nginx/sites-enabled/*.conf
Look for the listen configurations.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.