I just started to build a ubuntu server on DigitalOcean. When I start the nginx service, it gives the following error:
/etc/nginx/sites-enabled$ service nginx start Failed to start nginx.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
I have never seen this before and searching on google seemed the solutions were not quite straightforward.
stupid me, forgot to run sudo
sudo service nginx start
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With