如何修复 vpnc-disconnect 'no vpnc found running'
问题:
你想使用 vpnc-disconnect 从 vpnc VPN 断开连接,但你看到此错误消息:
解决方案:
vpnc-disconnect 不知道没有 vpnc 正在运行和尝试停止 vpnc 守护进程时权限被拒绝之间的区别。
在大多数情况下,使用 sudo:
vpnc_disconnect_example.sh
sudo vpnc-disconnect将修复此问题。
如果这不能为你解决问题,检查你是否对 vpnc 使用了 --pid-file 参数。vpnc-disconnect 始终假设 PID 文件为 /var/run/vpnc.pid。
或者,查看我们停止 vpnc 的替代方法。
Check out similar posts by category:
Allgemein
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow