[Openswan Users] OpenSwan on ubuntu

Hammad raohammad at gmail.com
Thu Dec 2 01:20:18 EST 2010

Hi Paul/Bob

This is strange for me too. depmod also gives me the same error witha mdoule

root at flexilogix:~# depmod -a
WARNING: Couldn't open directory /lib/modules/2.6.18-028stab068.9: No such
file or directory
FATAL: Could not open /lib/modules/2.6.18-028stab068.9/modules.dep.temp for
writing: No such file or directory
and when I run ipsec verify; i get that my kernel is not ready to support
IPSec even.

root at flexilogix:~# ipsec verify
Checking your system to see if IPsec got installed and started correctly:
Version check and ipsec on-path                                 [OK]
Linux Openswan U2.6.31/K(no kernel code presently loaded)
Checking for IPsec support in kernel                            [FAILED]
SAref kernel support                                            [N/A]
Checking that pluto is running                                  [FAILED]
  whack: Pluto is not running (no "/var/run/pluto/pluto.ctl")
Checking for 'ip' command                                       [OK]
Checking for 'iptables' command                                 [OK]
Opportunistic Encryption Support                                [DISABLED]


On Wed, Dec 1, 2010 at 11:55 PM, Paul Wouters <paul at xelerance.com> wrote:

> On Wed, 1 Dec 2010, Hammad wrote:
> 1- Fresh installation of ubuntu
>> Linux flexilogix.com 2.6.18-028stab068.9 #1 SMP Tue Mar 30 17:22:31 MSD
>> 2010 i686 GNU/Linux
>> 2- Install utilities for openswan source compilation on ubuntu
>> build-essential
>> libgmp3-dev
>> bison
>> libgmp-ocaml-dev
>> flex
>> xmlto
>> 3- Compile and install openswan from source (openswan-2.6.31.tar.gz)
>> cd /usr/src/openswan-2.#.#
>>    make programs
>>    make install
>> Once installation is succesfful; service start gives following
>> response....
> So this is not using klips.
> root at flexilogix:/usr/src/openswan-2.6.31# service ipsec start
>> ipsec_setup: Starting Openswan IPsec 2.6.31...
>> ipsec_setup: No KLIPS support found while requested, desperately falling
>> back to netkey
> you have protostack=klips but no klips, so you should either compile klips
> or change to use protostack=netkey
> ipsec_setup: FATAL: Could not load
>> /lib/modules/2.6.18-028stab068.9/modules.dep: No such file or directory
>> ipsec_setup: Even NETKEY support is not there, aborting
> but your kernel seems to be not entirely fully installed?
> You can try running "depmod -a" and see if that fixes things.
> Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20101202/8e1701a0/attachment.html 

More information about the Users mailing list