Quantcast
You are not logged in, click here to log in.
12 Replies Last post: Nov 19, 2008 7:02 PM by tvbarn  
Click to view Macworld's profile News & Columns Bot 11,211 posts since
Nov 30, 2007
Reply

Oct 17, 2008 12:57 PM

Fix an error 51 with the Cisco VPN Client

Post your comments for Fix an error 51 with the Cisco VPN Client here
Reply
Click to view andretoulouse's profile New Member 1 posts since
Oct 17, 2008
1. Oct 17, 2008 2:00 PM in response to: Macworld
Re: Fix an error 51 with the Cisco VPN Client
I have a hardware vpn now, and when I was using the built in VPN I was also using Tiger, so I appologize if this information is outdated.
When I was using the built in VPN client I was able to resolve the iChat connection issue by doing two things. The first was opening up the VPN settings and unchecking the "Send all traffic over VPN connection". The second was setting the order of the connections so that the VPN connection was lower in the list than airport and ethernet. On Tiger the second was found in the Internet Connect application, and I believe it's been moved to the Network settings, Set Service Order option under the action menu (the gear icon) at the bottom of the list of connections.
Click to view chrissnv's profile New Member 3 posts since
Oct 17, 2008
2. Oct 17, 2008 2:11 PM in response to: Macworld
Re: Fix an error 51 with the Cisco VPN Client
Another Tool that works really well with the Cisco VPN Dialer is Shimo. Since I use Shimo I had no more problems with the VPN Subsystem.
Click to view folklore's profile Enthusiast 696 posts since
Aug 9, 2005
3. Oct 17, 2008 5:47 PM in response to: chrissnv
Re: Fix an error 51 with the Cisco VPN Client
Seconded. I've been using Shimo for awhile now and agree - it's much easier to use and solves the occasional problem I had with the actual Cisco client.
Click to view cobra_libre's profile New Member 2 posts since
Apr 26, 2005
4. Oct 17, 2008 7:59 PM in response to: Macworld
Re: Fix an error 51 with the Cisco VPN Client
Interesting. I thought that Shimo merely acted as a frontend to the Cisco VPN Subsystem; while it provides a great UI, it hasn't stopped the occasional errors as described in this article -- at least, not for me. I'll have to look into how I have it configured.

BTW, it's a good idea to define an alias for this command so that you don't need to memorize it or refer back to an article like this when you need it.

For example, you could add the following line to ~/.bash_profile:

alias restart-vpn='sudo SystemStarter restart CiscoVPN'
Click to view opaekaa's profile New Member 1 posts since
Oct 17, 2008
5. Oct 17, 2008 8:28 PM in response to: Macworld
Re: Fix an error 51 with the Cisco VPN Client
What is Shimo? I've never heard of it.

I find the sudo command also stops a nagging problem where the CISCO VPN simply doesn't connect, and finally comes back with the message 'closed by local client' or something to that effect.

In one case, I had to use the sudo command twice to fix this.

Thanks, Rob. This is really helpful!
Click to view khjalmarj's profile New Member 3 posts since
Apr 5, 2006
6. Oct 18, 2008 9:08 AM in response to: Macworld
Re: Fix an error 51 with the Cisco VPN Client
I've been using VPNrestart for years (http://www.timdowling.com/blog/2006/03/cisco-vpn-restart.html) to fix this. If I can make this hint into a clickable app, I may use this instead. VPNrestart works every time, though, so perhaps not.

--Keith Johnson
Click to view jHal's profile New Member 6 posts since
Jan 31, 2007
7. Oct 18, 2008 1:25 PM in response to: Macworld
Re: Fix an error 51 with the Cisco VPN Client
For a few of my Macs, disabling the Firewire port from Networking has solved the error 51 issue. (Mac OS X 10.5 with the Cisco VPN Client 4.9.01 (0100). The only side effect is this will disable ad-hoc networking using Firewire, something which I have never used anyways.

System Preferences > Networking, select the FireWire port and make it inactive by clicking on the gear. Then I click the minus button to remove it from the list.

This was based on someone else's discovery and posting on another site.

I would like to know if these resolves the issues for other users as well.
Click to view Dan Frakes's profile Macworld Editorial 3,644 posts since
Apr 14, 2003
8. Oct 18, 2008 10:58 PM in response to: opaekaa
Re: Fix an error 51 with the Cisco VPN Client
opaekaa wrote:
What is Shimo? I've never heard of it.

http://www.macworld.com/article/59355/2007/08/shimo.html

Like Rob, I use the Cisco client—via Shimo— specifically to work around this frustrating issue with iChat.


Dan Frakes | Senior Editor, Macworld
Click to view mpitogo's profile New Member 7 posts since
Dec 14, 2007
9. Oct 20, 2008 6:25 AM in response to: Macworld
Re: Fix an error 51 with the Cisco VPN Client
I support our VPN in the enterprise and am very familiar with that error. You can update your tip to include a double clickable applet made with apple script. All you need to do is put the below line in script editor and save it as non editable then distribute to users. When run it just asks for admin auth. Sometimes I find even running this doesn't fix the VPN and in those few cases only a reboot will cure it. So far its worked well enough to keep around. Cheers!

do shell script "SystemStarter restart CiscoVPN" with administrator privileges
Click to view tvbarn's profile New Member 13 posts since
Aug 15, 2004
10. Oct 23, 2008 5:42 AM in response to: Macworld
Re: Fix an error 51 with the Cisco VPN Client
So I had to re-install Leopard the other day and that's when I started getting Error 51.

The bad news - the terminal fix didn't work.

The good news - reinstalling VPNCLient did.
Click to view pdm32's profile New Member 1 posts since
Dec 15, 2007
11. Nov 19, 2008 6:25 PM in response to: Macworld
Re: Fix an error 51 with the Cisco VPN Client
Cisco has also posted a fix:

http://www.cisco.com/en/US/products/sw/secursw/ps2308/products_qanda_item09186a00801c2dbe.shtml

This fix did not work for me, and neither did the Macworld fix, but my Terminal message suggests I am missing a bundle. I will try to re-install the bundle by installing / re-installing the most recent client tomorrow.

The Terminal message I get is:

sudo kextload /System/Library/Extensions/CiscoVPN/CiscoVPN
kextload: /System/Library/Extensions/CiscoVPN/CiscoVPN: no such bundle file exists
can't add kernel extension /System/Library/Extensions/CiscoVPN/CiscoVPN (file access/permissions) (run kextload on this kext with -t for diagnostic output)

Am I guessing correctly that an install of the most recent client should correct this? Or is there also a permissions problem here? I am clearly not a Terminal pro.

Thanks in advance for your thoughts.
Click to view tvbarn's profile New Member 13 posts since
Aug 15, 2004
12. Nov 19, 2008 7:02 PM in response to: pdm32
Re: Fix an error 51 with the Cisco VPN Client

That's funny - my wife suggests I'm missing a bundle, too, at times.

Anyway, thanks for posting that link. I simply reinstalled VPN Client and was fine.

The whole incident was weird, though.