[Openswan Users] upgrade to 2.6.18 and errors in logs

Eray Aslan eray.aslan at caf.com.tr
Thu Oct 16 17:14:43 EDT 2008


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

> 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
> 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
> 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
> 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
> 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)

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?

Thank you
Eray


More information about the Users mailing list