By Simple
Get cloud support with Ubuntu Advantage Cloud Guest: http://www.ubuntu.com/business/services/cloud
5 packages can be updated. 0 updates are security updates.
Last login: Mon Jan 22 11:23:45 2018 /usr/bin/xauth: file /home/marcelo/.Xauthority does not exist root@ubuntu-s-1vcpu-1gb-nyc3-01:~$ systemctl status nginx ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2018-01-22 12:06:06 UTC; 53s ago Process: 1361 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
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!
Based on what you shared my best guess is that your log files in /var/log/nginx have the incorrect ownership. If the ownership of these files were changed to root you would likely see nginx fail in this way (being unable to open the logs) but you would still be able to view your log files since you are logged in as root.
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.