[Openswan Users] Can't locate module af_key - haven't compiled
new kernel
Paul Wouters
paul at xelerance.com
Thu Mar 25 11:27:05 CET 2004
On Thu, 25 Mar 2004, Leonard Tulipan wrote:
> [root at firewall linux-2.4]# service ipsec start
> ipsec_setup: Starting Openswan IPsec 2.1.1...
> ipsec_setup: Using /lib/modules/2.4.20-19.7/kernel/ipsec.o
That should be /lib/modules/2.4.20-19.7/kernel/net/ipsec/ipsec.o
I have seen a bug where it sometimes gets installed in the wrong place,
and upon starting we dont find it, and then try to fallback on the native 2.6
code, the af_key error you see.
try:
mkdir -p /lib/modules/2.4.20-19.7/kernel/net/ipsec/
mv /lib/modules/2.4.20-19.7/kernel/ipsec.o /lib/modules/2.4.20-19.7/kernel/net/ipsec/ipsec.o
depmod -a
And could you tell me if that fixes your problem,
Paul
More information about the Users
mailing list