Reputation: 7895
restarting nginx using sudo service nginx restart
is ok .but reloading it using service nginx reload
get this error on Ubuntu 16.04:
reload: Name "com.ubuntu.Upstart" does not exist
Upvotes: 5
Views: 6504
Reputation: 15915
Ubuntu 16.04 has poor error handling for this case. The error
Name "com.ubuntu.Upstart" does not exist
usually just means "Access Denied". Are you sure you had sudo
there, too?
Upvotes: 7