Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I try to connect to a VPN and then at the user / password prompt I press cancel (for instance, when I accidentally select the wrong VPN), it cancels the attempt, and then any further attempt to connect to any VPN just fails and asks me to check my settings.

Any ideas?

Thanks for advice!

share|improve this question
What type of VPN is it (L2TP, PPTP, Cisco IPSec, or something else)? If it's one of the builtin ones, is there anything informative in /private/var/log/ppp.log (you can view it with the Console utility)? – Gordon Davisson Jun 11 '11 at 16:36
Cisco IPSec, ill have a look there thanks – DanH Jun 12 '11 at 7:12
up vote 2 down vote accepted

Figured out that killing the process /usr/sbin/racoon forces the VPN system to reboot without having to restart the entire OS.

  1. Open Terminal and run sudo ps -ef|grep racoon
    • Requires sudo
  2. Identify the process number for /usr/sbin/racoon in the 2nd column of the following output (in this case, 289)

    0 289 1 0 0:00.04 ?? 0:00.07 /usr/sbin/racoon

    501 452 224 0 0:00.00 ttys000 0:00.00 grep --color racoon

  3. Run sudo kill -9 289 to end the process


Since the migration of services to launchctl I've found that the above solution is no longer reliable (although I don't think it's entirely useless yet). I often resort to the below however:

killall racoon
sudo launchctl stop
sudo launchctl start
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .