[SOLVED] Compilation failed in require at /usr/share/perl5/PVE/Auth/PAM.pm

k-123

Well-Known Member
Mar 3, 2017
50
4
48
have 3 pve host in 1 cluster, in customer's server room. ( those servers have no internet access, and under insanely restricted access control)

was about to send some files to a new vm. ( package libpam-pwquality and it's dependencies).
but I execute dpkg -i *.deb before qm terminal to the guest vm. (yes, executed on host and got error)

now when I execute command qm terminal 600 pvestatd got below errors.

version is 7.4-3, web console currently looks ok. no error.

is it possible to restore the host back to normal without reinstall? (like copy files from other host in same cluster? )

Code:
oot@pve-2:/tmp/deb# qm terminal 600
Can't load '/usr/lib/x86_64-linux-gnu/perl5/5.32/auto/Authen/PAM/PAM.so' for module Authen::PAM: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /lib/x86_64-linux-gnu/libpam.so.0) at /usr/lib/x86_64-linux-gnu/perl-base/DynaLoader.pm line 187, <DATA> line 960.
 at /usr/share/perl5/PVE/Auth/PAM.pm line 8.
Compilation failed in require at /usr/share/perl5/PVE/Auth/PAM.pm line 8, <DATA> line 960.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Auth/PAM.pm line 8, <DATA> line 960.
Compilation failed in require at /usr/share/perl5/PVE/AccessControl.pm line 31, <DATA> line 960.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/AccessControl.pm line 31, <DATA> line 960.
Compilation failed in require at /usr/share/perl5/PVE/RPCEnvironment.pm line 6, <DATA> line 960.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/RPCEnvironment.pm line 6, <DATA> line 960.
Compilation failed in require at /usr/share/perl5/PVE/Storage.pm line 24, <DATA> line 960.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Storage.pm line 24, <DATA> line 960.
Compilation failed in require at /usr/share/perl5/PVE/GuestHelpers.pm line 8, <DATA> line 960.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/GuestHelpers.pm line 8, <DATA> line 960.
Compilation failed in require at /usr/share/perl5/PVE/CLI/qm.pm line 21, <DATA> line 960.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/CLI/qm.pm line 21, <DATA> line 960.
Compilation failed in require at /usr/sbin/qm line 6, <DATA> line 960.
BEGIN failed--compilation aborted at /usr/sbin/qm line 6, <DATA> line 960.

deb files from debian 12
Code:
libpam-pwquality
  Depends: libc6
  Depends: libpam0g
  Depends: libpwquality1
  Depends: libpam-runtime


thanks for reading
 
Last edited:
noVNC console not works for vm in the host now
 
Last edited:
well, PVE 7.x is based on bullseye (Debian 11), not bookworm (Debian 12).

please uninstall/downgrade the wrong packages you installed..
 
those packages installation was end with errors,

if I install those package from bullseye, things should not be worse than now?

thanks.
 
well, technically downgrading is not supported, but likely it won't make the situation worse (and the alternative would be a complete reinstall)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!