How to fix vpnc-disconnect 'no vpnc found running'


You want to disconnect from your vpnc VPN using vpnc-disconnect, but you see this error message:


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/

Alternatively, check out our alternate methods of stopping vpnc.