[Openswan Users] KLIPS module not loaded

David Clymer dclyme at hrcsb.org
Thu Oct 14 13:46:45 CEST 2004


On Thu, 2004-10-14 at 10:35, Ulrich Lauther wrote:
> > On Wed, 2004-10-13 at 05:43, Ulrich Lauther wrote:
> > > Hi,
> > > 
> > > I compiled kernel 2.6.8.1 with option shown below, did in openswan-2.2.0:
> > > 	make programs
> > > 	make install
> > > 
> > > When I do: "ipsec setup start", ipsec is started without error messages,
> > > but
> > > 	ipsec setup status
> > > 
> > > gives me:
> > > 
> > > 	IPsec running
> > > 	but...
> > > 	KLIPS module is not loaded!
> > > 
> > > any idea what I did wrong?
> > > 
> > 
> > Are you sure you built it as a module? If you compiled it statically
> > into the kernel as indicated by the options below, you wouldnt see a
> > module, since none would need to be loaded.
> > 
> 
> shure, I did not build it as a module, but "ipsec setup status" issues that
> error message. Does it mean I HAVE to biuld a module?

I don't think that you _have_ to build it as a module (my KLIPS/freeswan
box has KLIPS compiled staticly), I was just pointing out that since you
hadnt built it as a module or were using native ipsec, it would make
perfect sense that the script isnt finding the module.

My ipsec gateway which is running perfectly using native ipsec gives me
the same error, it looks like.

jekyl:/home/david# ipsec setup status
IPsec running
but...
KLIPS module is not loaded!
/usr/lib/ipsec/_realsetup: line 384: test: : integer expression expected

my guess is that you are not using KLIPS but are using native IPsec
instead. If you did not explicitly apply a patch to your kernel before
compiling it, you are probably _not_ using KLIPS. perhaps that script
only works with KLIPS. 

-davidc



More information about the Users mailing list