Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Starting Nginx gives org.freedesktop.PolicyKit1 error [closed]

Tags:

ubuntu

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.

like image 426
James Lin Avatar asked Sep 09 '15 22:09

James Lin


1 Answers

stupid me, forgot to run sudo

sudo service nginx start 
like image 98
James Lin Avatar answered Sep 17 '22 14:09

James Lin