[Openswan Users] Strange messages in log

Paul Wouters paul at xelerance.com
Wed Jul 6 10:36:58 EDT 2011


On Wed, 6 Jul 2011, Claudio Prono wrote:

> I am investigating about the meaning of this messages in log, when
> openswan starts:
>
> ike_alg_register_enc(): WARNING: enc alg=0 not found in
> constants.c:oakley_enc_names
> ike_alg_register_enc(): Activating <NULL>: Ok (ret=0)
> ike_alg_register_enc(): WARNING: enc alg=0 not found in
> constants.c:oakley_enc_names
> ike_alg_add(): ERROR: Algorithm already exists
> ike_alg_register_enc(): Activating <NULL>: FAILED (ret=-17)
> ike_alg_register_enc(): WARNING: enc alg=0 not found in
> constants.c:oakley_enc_names
> ike_alg_add(): ERROR: Algorithm already exists
> ike_alg_register_enc(): Activating <NULL>: FAILED (ret=-17)
> ike_alg_register_enc(): WARNING: enc alg=0 not found in
> constants.c:oakley_enc_names
> ike_alg_add(): ERROR: Algorithm already exists
> ike_alg_register_enc(): Activating <NULL>: FAILED (ret=-17)
> ike_alg_register_enc(): WARNING: enc alg=0 not found in
> constants.c:oakley_enc_names
> ike_alg_add(): ERROR: Algorithm already exists
> ike_alg_register_enc(): Activating <NULL>: FAILED (ret=-17)
> ike_alg_register_enc(): WARNING: enc alg=0 not found in
> constants.c:oakley_enc_names
> ike_alg_add(): ERROR: Algorithm already exists
> ike_alg_register_enc(): Activating <NULL>: FAILED (ret=-17)
>
>
> I can safely ignore that messages or what?

Yes, they can be ignored. They are the result of a mismatch of declarations
inside kernel_netlink.c (netkey) versus the rest of the code. It should get
fixed but the errors are harmless.

Paul


More information about the Users mailing list