nginx问题:重新加载:名称"com.ubuntu.Upstart"不存在

ale*_*lex 5 nginx ubuntu-16.04

重新启动nginx使用sudo service nginx restart是ok.但是service nginx reload在Ubuntu 16.04上使用获取此错误重新加载它:

重新加载:名称"com.ubuntu.Upstart"不存在

Mik*_*nen 7

对于这种情况,Ubuntu 16.04的错误处理很差.错误

Name "com.ubuntu.Upstart" does not exist
Run Code Online (Sandbox Code Playgroud)

通常只是意味着"拒绝访问".你确定你也在sudo那里吗?

  • 为什么不能这样说呢? (2认同)