You need to use modprobe not insmod, as the latter
requires path to .ko file, not the module name.

[root@tpad-ovz1 ~]# lsmod | grep af_key
[root@tpad-ovz1 ~]# modprobe af_key
[root@tpad-ovz1 ~]# lsmod | grep af_key
af_key                 30067  0
[root@tpad-ovz1 ~]# uname -a
Linux tpad-ovz1 2.6.32-042stab109.4 #1 SMP Fri May 8 15:31:07 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@tpad-ovz1 ~]#

On 07/14/2015 03:24 PM, Rene C. wrote:

https://openvz.org/IPsec suggest

  * Kernel 042stab084.8 or later
  * The following kernel modules must be loaded before container start:

    |af_key esp4 esp6 xfrm4_mode_tunnel xfrm6_mode_tunnel|


but this throws an error:

insmod: can't read 'af_key': No such file or directory

Kernel is 2.6.32-042stab108.2

What gives?


_______________________________________________
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users

Reply via email to