Ich bitte um Unterstützung für meine Proxmox LXC Installation, die seit einigen Tagen Probleme macht.
Vielen Dank,
Gernot
Konfiguration pve (Knoten): siehe Anhang
(Re-)Installation debmatic auf dem Knoten:
Code: Alles auswählen
root@pve:~# apt update
Hit:1 http://download.proxmox.com/debian/ceph-pacific bullseye InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
Hit:3 http://download.proxmox.com/debian/pve bullseye InRelease
Hit:4 http://ftp.de.debian.org/debian bullseye InRelease
Hit:5 http://ftp.de.debian.org/debian bullseye-updates InRelease
Hit:6 https://www.debmatic.de/debmatic stable InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Code: Alles auswählen
root@pve:~# apt reinstall build-essential bison flex libssl-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
bsdmainutils cpp-8 libasan5 libbison-dev libisl19 libmpx2 libzpool4linux pve-headers-5.13.19-1-pve pve-headers-5.4 pve-headers-5.4.143-1-pve pve-kernel-5.4.140-1-pve
python-ceph-argparse
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 4 reinstalled, 0 to remove and 0 not upgraded.
Need to get 1,552 kB/3,362 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ftp.de.debian.org/debian bullseye/main amd64 flex amd64 2.6.4-8 [440 kB]
Get:2 http://ftp.de.debian.org/debian bullseye/main amd64 bison amd64 2:3.7.5+dfsg-1 [1,104 kB]
Get:3 http://ftp.de.debian.org/debian bullseye/main amd64 build-essential amd64 12.9 [7,704 B]
Fetched 1,552 kB in 0s (6,868 kB/s)
(Reading database ... 215632 files and directories currently installed.)
Preparing to unpack .../flex_2.6.4-8_amd64.deb ...
Unpacking flex (2.6.4-8) over (2.6.4-8) ...
Preparing to unpack .../bison_2%3a3.7.5+dfsg-1_amd64.deb ...
Unpacking bison (2:3.7.5+dfsg-1) over (2:3.7.5+dfsg-1) ...
Preparing to unpack .../build-essential_12.9_amd64.deb ...
Unpacking build-essential (12.9) over (12.9) ...
Preparing to unpack .../libssl-dev_1.1.1k-1+deb11u1_amd64.deb ...
Unpacking libssl-dev:amd64 (1.1.1k-1+deb11u1) over (1.1.1k-1+deb11u1) ...
Setting up flex (2.6.4-8) ...
Setting up libssl-dev:amd64 (1.1.1k-1+deb11u1) ...
Setting up bison (2:3.7.5+dfsg-1) ...
Setting up build-essential (12.9) ...
Processing triggers for man-db (2.9.4-2) ...
root@pve:~#
Code: Alles auswählen
root@pve:~# apt reinstall pve-headers
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
bsdmainutils cpp-8 libasan5 libbison-dev libisl19 libmpx2 libzpool4linux pve-headers-5.13.19-1-pve pve-headers-5.4 pve-headers-5.4.143-1-pve pve-kernel-5.4.140-1-pve
python-ceph-argparse
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/3,588 B of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 215632 files and directories currently installed.)
Preparing to unpack .../pve-headers_7.1-1_all.deb ...
Unpacking pve-headers (7.1-1) over (7.1-1) ...
Setting up pve-headers (7.1-1) ...
Code: Alles auswählen
root@pve:~# apt reinstall pivccu-modules-dkms debmatic-lxc-host
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
bsdmainutils cpp-8 libasan5 libbison-dev libisl19 libmpx2 libzpool4linux pve-headers-5.13.19-1-pve pve-headers-5.4 pve-headers-5.4.143-1-pve pve-kernel-5.4.140-1-pve
python-ceph-argparse
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
Need to get 43.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://www.debmatic.de/debmatic stable/main amd64 pivccu-modules-dkms all 1.0.70 [41.3 kB]
Get:2 https://www.debmatic.de/debmatic stable/main amd64 debmatic-lxc-host all 1.0.5 [1,872 B]
Fetched 43.2 kB in 0s (198 kB/s)
Preconfiguring packages ...
(Reading database ... 215632 files and directories currently installed.)
Preparing to unpack .../pivccu-modules-dkms_1.0.70_all.deb ...
Removed /etc/systemd/system/pivccu.service.requires/pivccu-dkms.service.
Removed /etc/systemd/system/multi-user.target.wants/pivccu-dkms.service.
Removed /etc/systemd/system/debmatic.service.wants/pivccu-dkms.service.
------------------------------
Deleting module version: 1.0.70
completely from the DKMS tree.
------------------------------
Done.
Unpacking pivccu-modules-dkms (1.0.70) over (1.0.70) ...
Preparing to unpack .../debmatic-lxc-host_1.0.5_all.deb ...
Unpacking debmatic-lxc-host (1.0.5) over (1.0.5) ...
Setting up pivccu-modules-dkms (1.0.70) ...
Error! The module/version combo: pivccu-1.0.70
is not located in the DKMS tree.
Creating symlink /var/lib/dkms/pivccu/1.0.70/source ->
/usr/src/pivccu-1.0.70
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j4 KERNELRELEASE=5.13.19-2-pve ARCH=x86 all...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.13.19-2-pve (x86_64)
Consult /var/lib/dkms/pivccu/1.0.70/build/make.log for more information.
Created symlink /etc/systemd/system/multi-user.target.wants/pivccu-dkms.service → /lib/systemd/system/pivccu-dkms.service.
Created symlink /etc/systemd/system/debmatic.service.wants/pivccu-dkms.service → /lib/systemd/system/pivccu-dkms.service.
Created symlink /etc/systemd/system/pivccu.service.requires/pivccu-dkms.service → /lib/systemd/system/pivccu-dkms.service.
Setting up debmatic-lxc-host (1.0.5) ...
root@pve:~#
Code: Alles auswählen
root@pve:~# cat /var/lib/dkms/pivccu/1.0.70/build/make.log
DKMS make.log for pivccu-1.0.70 for kernel 5.13.19-2-pve (x86_64)
Sun 26 Dec 2021 10:21:50 AM CET
make -C /lib/modules/5.13.19-2-pve/build M=/var/lib/dkms/pivccu/1.0.70/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.13.19-2-pve'
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
make[1]: *** [Makefile:753: include/config/auto.conf] Error 1
make[1]: Leaving directory '/usr/src/linux-headers-5.13.19-2-pve'
make: *** [Makefile:30: all] Error 2
Code: Alles auswählen
root@pve:~# apt reinstall hb-rf-eth
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
bsdmainutils cpp-8 libasan5 libbison-dev libisl19 libmpx2 libzpool4linux pve-headers-5.13.19-1-pve pve-headers-5.4 pve-headers-5.4.143-1-pve pve-kernel-5.4.140-1-pve
python-ceph-argparse
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 1,824 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://www.debmatic.de/debmatic stable/main amd64 hb-rf-eth all 1.0.2 [1,824 B]
Fetched 1,824 B in 0s (14.0 kB/s)
Preconfiguring packages ...
(Reading database ... 215632 files and directories currently installed.)
Preparing to unpack .../hb-rf-eth_1.0.2_all.deb ...
Unpacking hb-rf-eth (1.0.2) over (1.0.2) ...
Setting up hb-rf-eth (1.0.2) ...
root@pve:~#
Code: Alles auswählen
root@pve:~# cat /etc/pve/lxc/109.conf
arch: amd64
cores: 2
features: nesting=1
hostname: debmaticServer
memory: 2048
net0: name=eth0,bridge=vmbr0,firewall=1,gw=10.100.1.1,hwaddr=F6:B4:61:A6:2B:44,ip=10.100.1.9/24,ip6=dhcp,tag=100,type=veth
onboot: 1
ostype: ubuntu
rootfs: local-lvm:vm-109-disk-0,size=16G
swap: 512
lxc.apparmor.profile: unconfined
lxc.hook.mount: /usr/share/debmatic/bin/lxc-start-hook.sh
lxc.cgroup2.devices.allow: c *:* rwm