Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-13-2013, 03:28 AM   #1
Registered: Jan 2007
Posts: 36

Rep: Reputation: 0
Question How to fix?installed of cisco vpn on ubuntu10.04, vermagic different from kernel

I've been struggling to get cisco vpn working on an ubuntu 10.04.3 server with a 2.6.32-35-server kernel. i followed the tutorial.

i installed my linux kernel sources this way apt-get source linux-image-$(uname -r)

after extracting i set the path of the linux sources to /usr/src/linux-source-2.6.32

during compilation it complained about :
Building modules, stage 2.
MODPOST 1 modules
/bin/sh: scripts/mod/modpost: not found
make[2]: *** [__modpost] Error 127
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.32'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
so i run make modules_prepare from /usr/src/linux-source-2.6.32 to fix it. the installation completed successufully but /etc/init.d/vpnclient_init start

complained :
Starting /opt/cisco-vpnclient/bin/vpnclient: insmod: error inserting '/lib/modules/2.6.32-35-server/CiscoVPN/cisco_ipsec.ko': -1 Invalid module format Failed (insmod)
doing moninfo returns :
 modinfo /lib/modules/2.6.32-35-server/CiscoVPN/cisco_ipsec.ko
 filename:       /lib/modules/2.6.32-35-server/CiscoVPN/cisco_ipsec.ko
 license:        Proprietary
 vermagic: SMP mod_unload modversions
the vermagic and uname which is 2.6.32-35-server are differents

Now am stuck how to resolve it? my options are :
  1. unistall cisco vpn and restart but how to?
  2. fix the install but how to?

I need help, I will be extremely grateful if anybody can show some directions. thank you

Last edited by Highjo; 02-13-2013 at 03:44 AM.
Old 02-13-2013, 07:40 AM   #2
Registered: Jan 2007
Posts: 36

Original Poster
Rep: Reputation: 0

54 views so far and still not getting any response. it seems like am more in trouble and i though because i thought,
it will surely got a tip from guys.

Time is not on my favor, please at least how do i remove it so that i do it again.
, so
Old 02-15-2013, 03:41 AM   #3
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Is it an option for you to use the user-space vpn client?

apt-get install vpnc
Old 02-15-2013, 12:24 PM   #4
Registered: Jan 2007
Posts: 36

Original Poster
Rep: Reputation: 0
Originally Posted by r0b0 View Post
Is it an option for you to use the user-space vpn client?

apt-get install vpnc
Figured that much later. thanks


cisco, server, ubuntu, vpnclient

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco VPN Client ( and 2.6.24 Kernel revof11 Linux - Networking 5 02-12-2010 02:17 AM
Cisco VPN Client on kernel v. dylan912 Fedora 2 12-09-2007 06:30 PM
CISCO VPN Client and Kernel 2.6.13: Solved tronayne Linux - Networking 0 12-05-2005 01:27 PM
Loading Cisco VPN kernel Module Snyke Linux - Software 3 12-17-2004 09:26 AM
Cisco VPN Client on Debian with kernel 2.6.4 stephanhuiser Linux - Networking 1 06-17-2004 11:34 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration