[SOLVED] This system lacks PPP kernel support

jtvdw

Member
Dec 6, 2018
44
0
6
Cape Town, South Africa
Hi,

I'm getting this error below: (We migrated from a old cluster to the new pve6 cluster and now I'm getting this error)

root@illovo-pptp:~# pon illovo
Couldn't open the /dev/ppp device: Operation not permitted
modprobe: ERROR: ../libkmod/libkmod.c:507 kmod_lookup_alias_from_builtin_file() could not open builtin file '/lib/modules/5.0.15-1-pve/modules.builtin.bin'
/usr/sbin/pppd: Sorry - this system lacks PPP kernel support

What can I do to fix this and let me know if you need more details.

Thanks.
 
hi,

is this in a container? if yes, could you post the config?
 
Hi,

Yes this is a container and below is the config:

root@ponder:~# cat /etc/pve/lxc/310.conf
arch: amd64
cpulimit: 1
cpuunits: 1024
hostname: xxxx-pptp.stonethree.com
memory: 1024
net0: name=eth0,bridge=vmbr0,firewall=1,gw=192.168.8.1,hwaddr=02:FB:1E:07:A3:C4,ip=192.168.8.xxx/23,type=veth
ostype: ubuntu
rootfs: local-lvm:vm-310-disk-0,size=8G
swap: 1536

Thanks.
 
did you reboot after the upgrade? could you post pveversion -v too?

also: ls /lib/modules/*/modules.builtin.bin
 
Hi,

Yes, restarted as well output below:

root@ponder:~# pveversion -v
proxmox-ve: 6.0-2 (running kernel: 5.0.15-1-pve)
pve-manager: 6.0-4 (running version: 6.0-4/2a719255)
pve-kernel-5.0: 6.0-5
pve-kernel-helper: 6.0-5
pve-kernel-5.0.15-1-pve: 5.0.15-1
ceph-fuse: 12.2.11+dfsg1-2.1
corosync: 3.0.2-pve2
criu: 3.11-3
glusterfs-client: 5.5-3
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.10-pve1
libpve-access-control: 6.0-2
libpve-apiclient-perl: 3.0-2
libpve-common-perl: 6.0-2
libpve-guest-common-perl: 3.0-1
libpve-http-server-perl: 3.0-2
libpve-storage-perl: 6.0-5
libqb0: 1.0.5-1
lvm2: 2.03.02-pve3
lxc-pve: 3.1.0-61
lxcfs: 3.0.3-pve60
novnc-pve: 1.0.0-60
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.0-5
pve-cluster: 6.0-4
pve-container: 3.0-3
pve-docs: 6.0-4
pve-edk2-firmware: 2.20190614-1
pve-firewall: 4.0-5
pve-firmware: 3.0-2
pve-ha-manager: 3.0-2
pve-i18n: 2.0-2
pve-qemu-kvm: 4.0.0-3
pve-xtermjs: 3.13.2-1
qemu-server: 6.0-5
smartmontools: 7.0-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.1-pve1


Thanks.
 
could you try adding these to your container config:

Code:
lxc.cgroup.devices.allow: c 108:0 rwm
lxc.mount.entry: /dev/ppp dev/ppp none bind,create=file
 
  • Like
Reactions: guletz
great!

please mark the thread as [SOLVED], it helps others.
 
Hello, I had the same problem, and adding this lines dind't works for me.


WARN: You should not pass the password on the command line. Type it interactively or use a configuration file instead.
INFO: Connected to gateway.
INFO: Authenticated.
INFO: Remote gateway has allocated a VPN.
Couldn't open the /dev/ppp device: Permission denied
/usr/sbin/pppd: Sorry - this system lacks PPP kernel support

ERROR: read: Input/output error
INFO: Cancelling threads...
INFO: Cleanup, joining threads...
ERROR: pppd: The kernel does not support PPP, for example, the PPP kernel driver is not included or cannot be loaded.
INFO: Terminated pppd.
INFO: Closed connection to gateway.
INFO: Logged out.
 
sorry, it works if I execute "chown 100000:100000 /dev/ppp", I wonder if it is a good practice.
regards
Martín