sudo launchctl stop com.apple.racoon
sudo launchctl start com.apple.racoon
Pop it in a script, if the client fails to connect normally, run script and enjoy shiny new VPN
nice and clean design.
I’m not 100% sure of this, but I believe you do NOT need to elnabe the root user to make this work. And if you don’t have to, you shouldn’t. Enabling root is dangerous from a security perspective. You can still execute commands as root by doing exactly what this tutorial says: precede each command with sudo’. So, for example, sudo launchctl stop com.apple.syslogd means execute launchctl stop com.apple.syslogd as root. You will have to do it when logged into Terminal as an administrative user of your box. If you have only one user on your Mac OS X box that user is an admin user.I have several users on my Mac OS X box. I do not run my admin user unless I need to for administrative, maintenance or troubleshooting purposes. I am able to execute sudo commands simply by opening a terminal window and logging in to that terminal session as my admin user. And I do **not** have root elnabed.
I had the same problem. Similar fix.OSX Lion, 10.7.3SugarSync Manager 184.108.40.206491.20120221Installed fine; ran fine.Then I oelggd out.Logged back in, and SugarSync Manager would start: splash screen then manager window, and immediately vanish.Turns out permissions for /Library/LaunchDaemons/com.sharpcast.xfsmond.plist were fine (-rw-r r ), but ownership was set to root:admin (vs. root:wheel).sudo chown root:wheel /Library/LaunchDaemons/com.sharpcast.xfsmond.plistsudo launchctl load /Library/LaunchDaemons/com.sharpcast.xfsmond.plistand everything is well.Thanks for the tip.
How did you make a site look this sick! Email me if you can and share your wisdom. !
[…] Find More Informations here: callidex.com/blog/2012/02/28/restart-racoon-vpn-client-on-osx/ […]…
[…] Informations on that Topic: callidex.com/blog/2012/02/28/restart-racoon-vpn-client-on-osx/ […]…
* Copy This Password *
* Type Or Paste Password Here *