更新后出现 Squid 代理问题

更新后出现 Squid 代理问题

当我重新启动 squid web 代理服务时,我收到以下错误。这些错误是什么?

/etc/init.d/squid restart

Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service squid restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart squid
restart: Rejected send message, 1 matched rules; type="method_call", sender=":1.64" (uid=1000 pid=2979 comm="restart) interface="com.ubuntu.Upstart0_6.Job" member="Restart" error name="(unset)" requested_reply=0 destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init"))

还有其他人遇到过这个问题吗?

答案1

执行

服务鱿鱼重启

正如消息中所说:

由于您尝试调用的脚本已转换为 Upstart 作业,您也可以使用 restart(8) 实用程序,例如 restart squid

事实上它更容易记住:-P

相关内容