[GH-ISSUE #27] Can't modprobe af_key in OVH gaming server #27

Closed
opened 2026-03-02 07:11:09 +03:00 by kerem · 3 comments
Owner

Originally created by @birkhofflee on GitHub (May 28, 2017).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/27

Server info

  • OVH model name: MC-64-OC
  • CPU: i7-7700K overclock
  • RAM: 64GB
  • OS: Ubuntu Server 16.04 "Xenial Xerus" LTS

Log

birkhoff@bhs01:~$ sudo modprobe af_key
modprobe: ERROR: ../libkmod/libkmod.c:514 lookup_builtin_file() could not open builtin file '/lib/modules/4.9.13-mod-std-ipv6-64/modules.builtin.bin'
modprobe: FATAL: Module af_key not found in directory /lib/modules/4.9.13-mod-std-ipv6-64

Additional Info

I didn't check "Install original kernel" while installing the system. Will that be a problem?

Originally created by @birkhofflee on GitHub (May 28, 2017). Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/27 # Server info * OVH model name: MC-64-OC * CPU: i7-7700K overclock * RAM: 64GB * OS: Ubuntu Server 16.04 "Xenial Xerus" LTS # Log ``` birkhoff@bhs01:~$ sudo modprobe af_key modprobe: ERROR: ../libkmod/libkmod.c:514 lookup_builtin_file() could not open builtin file '/lib/modules/4.9.13-mod-std-ipv6-64/modules.builtin.bin' modprobe: FATAL: Module af_key not found in directory /lib/modules/4.9.13-mod-std-ipv6-64 ``` # Additional Info I didn't check "Install original kernel" while installing the system. Will that be a problem?
kerem closed this issue 2026-03-02 07:11:10 +03:00
Author
Owner

@hwdsl2 commented on GitHub (May 28, 2017):

Hello! Your server is using an OVH provided Linux kernel which may lack
support for IPsec. Please first ignore that error and see if the VPN works
fine. If it does not, you must switch to a standard Linux kernel provided
by your Linux distribution. See [1] for details.

[1]
https://www.kiloroot.com/switch-to-standard-ubuntu-kernel-on-ovh-or-kimsufi-servers/

<!-- gh-comment-id:304510399 --> @hwdsl2 commented on GitHub (May 28, 2017): Hello! Your server is using an OVH provided Linux kernel which may lack support for IPsec. Please first ignore that error and see if the VPN works fine. If it does not, you must switch to a standard Linux kernel provided by your Linux distribution. See [1] for details. [1] https://www.kiloroot.com/switch-to-standard-ubuntu-kernel-on-ovh-or-kimsufi-servers/
Author
Owner

@birkhofflee commented on GitHub (May 28, 2017):

Nope.

Write these down. You'll need them to connect!

Important notes:   https://git.io/vpnnotes2
Setup VPN clients: https://git.io/vpnclients

================================================

modprobe: ERROR: ../libkmod/libkmod.c:508 kmod_lookup_alias_from_builtin_file() could not open builtin file '/lib/modules/4.9.13-mod-std-ipv6-64/modules.builtin.bin'
modprobe: FATAL: Module af_key not found.
Redirecting to: /etc/init.d/ipsec start
Starting pluto IKE daemon for IPsec: Initializing NSS database

.
xl2tpd[1]: setsockopt recvref[30]: Protocol not available
xl2tpd[1]: This binary does not support kernel L2TP.
xl2tpd[1]: xl2tpd version xl2tpd-1.3.6 started on 909b7de55759 PID:1
xl2tpd[1]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
xl2tpd[1]: Forked by Scott Balmos and David Stipp, (C) 2001
xl2tpd[1]: Inherited by Jeff McAdams, (C) 2002
xl2tpd[1]: Forked again by Xelerance (www.xelerance.com) (C) 2006
xl2tpd[1]: Listening on IP address 0.0.0.0, port 1701
<!-- gh-comment-id:304511867 --> @birkhofflee commented on GitHub (May 28, 2017): Nope. ``` Write these down. You'll need them to connect! Important notes: https://git.io/vpnnotes2 Setup VPN clients: https://git.io/vpnclients ================================================ modprobe: ERROR: ../libkmod/libkmod.c:508 kmod_lookup_alias_from_builtin_file() could not open builtin file '/lib/modules/4.9.13-mod-std-ipv6-64/modules.builtin.bin' modprobe: FATAL: Module af_key not found. Redirecting to: /etc/init.d/ipsec start Starting pluto IKE daemon for IPsec: Initializing NSS database . xl2tpd[1]: setsockopt recvref[30]: Protocol not available xl2tpd[1]: This binary does not support kernel L2TP. xl2tpd[1]: xl2tpd version xl2tpd-1.3.6 started on 909b7de55759 PID:1 xl2tpd[1]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc. xl2tpd[1]: Forked by Scott Balmos and David Stipp, (C) 2001 xl2tpd[1]: Inherited by Jeff McAdams, (C) 2002 xl2tpd[1]: Forked again by Xelerance (www.xelerance.com) (C) 2006 xl2tpd[1]: Listening on IP address 0.0.0.0, port 1701 ```
Author
Owner

@hwdsl2 commented on GitHub (May 28, 2017):

Your server is running an OVH provided Linux kernel 4.9.13-mod-std-ipv6-64,
which does not support IPsec. You must switch to a distribution-provided
standard Linux kernel. Refer to the link in my previous reply for detailed
steps, or try Google.

<!-- gh-comment-id:304519767 --> @hwdsl2 commented on GitHub (May 28, 2017): Your server is running an OVH provided Linux kernel 4.9.13-mod-std-ipv6-64, which does not support IPsec. You must switch to a distribution-provided standard Linux kernel. Refer to the link in my previous reply for detailed steps, or try Google.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/docker-ipsec-vpn-server#27
No description provided.