How to fix vpnc-disconnect 'no vpnc found running'
Problem:
You want to disconnect from your vpnc
VPN using vpnc-disconnect
, but you see this error message:
Solution:
vpnc-disconnect doesn’t know the difference between no vpnc is runningand permission denied when trying to stop the vpnc daemon.
In most cases, using sudo
:
sudo vpnc-disconnect
will fix the issue.
If this does not resolve the issue for you, check if you used the --pid-file
argument to vpnc
. vpnc-disconnect
always assumes that the PID file is /var/run/vpnc.pid
.
Alternatively, check out our alternate methods of stopping vpnc
.