[Openswan Users] upgrade to 2.6.18 and errors in logs
Paul Wouters
paul at xelerance.com
Thu Oct 16 17:29:40 EDT 2008
On Fri, 17 Oct 2008, Eray Aslan wrote:
> Upgraded the test machine from 2.4.13 to 2.6.18. Ipsec comes up fine
> and windows roadwarriors can connect using xl2tpd with certificates
> without any problems. However, starting openswan results in the
> following logs:
>
> [...]
> > Oct 16 21:00:23 south pluto[26208]: 1 bad entries in virtual_private - none loaded
>
> ipsec.conf syntax changed?
> # grep virtual_private /etc/ipsec.conf
> virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%4:172.16.0.0/12,%v4:!10.0.2.0/24,%v4:!10.0.0.0/24,%v4:!10.0.9.0/24
Note the "%4" instead of "%v4" in there.
> > Oct 16 21:00:23 south pluto[26208]: ike_alg_register_enc(): WARNING: enc alg=0 not found in constants.c:oakley_enc_names
> > Oct 16 21:00:23 south pluto[26208]: ike_alg_register_enc(): Activating <NULL>: Ok (ret=0)
> > Oct 16 21:00:23 south pluto[26208]: ike_alg_register_enc(): WARNING: enc alg=0 not found in constants.c:oakley_enc_names
> > Oct 16 21:00:23 south pluto[26208]: ike_alg_add(): ERROR: Algorithm already exists
> > Oct 16 21:00:23 south pluto[26208]: ike_alg_register_enc(): Activating <NULL>: FAILED (ret=-17)
> > Oct 16 21:00:23 south pluto[26208]: ike_alg_register_enc(): WARNING: enc alg=0 not found in constants.c:oakley_enc_names
Those are real bugs, but harmless.
> Any help with these?
>
> > Oct 16 21:00:23 south pluto[26208]: Changing back to directory '/root' failed - (2 No such file or directory)
> > Oct 16 21:00:23 south pluto[26208]: Changing back to directory '/root' failed - (2 No such file or directory)
>
> Why change back to /root?
Either because that's where your cwd was when starting openswan, or because that's
where dumpdir= is pointing to. I am not sure why it returns a failure though. I've
noticed that elsewhere, and looking at the code, I just don't understand why it is
giving an error.
Paul
More information about the Users
mailing list