I used "apt upgrade" on a fully functioning promox host that is part of a cluster, and have caused an issue.
I appreciate now I should have used "apt-get dist-upgrade" but upon running this command now I have unmet dependancies.
I appreciate now I should have used "apt-get dist-upgrade" but upon running this command now I have unmet dependancies.
root@pve-1:/etc/apt/sources.list.d# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
guile-2.2-libs libidn11 proxmox-kernel-6.2.16-19-pve pve-kernel-5.15.104-1-pve pve-kernel-5.15.108-1-pve telnet
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up pve-manager (8.1.4) ...
LVM configuration valid.
Job for pvedaemon.service failed.
See "systemctl status pvedaemon.service" and "journalctl -xeu pvedaemon.service" for details.
dpkg: error processing package pve-manager (--configure):
installed pve-manager package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of proxmox-ve:
proxmox-ve depends on pve-manager (>= 8.0.4); however:
Package pve-manager is not configured yet.
dpkg: error processing package proxmox-ve (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
pve-manager
proxmox-ve
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@pve-1:/etc/apt/sources.list.d# systemctl status pvedaemon.service
â— pvedaemon.service - PVE API Daemon
Loaded: loaded (/lib/systemd/system/pvedaemon.service; enabled; preset: enabled)
Active: active (running) since Mon 2023-11-13 07:22:26 GMT; 2 months 10 days ago
Process: 3875514 ExecReload=/usr/bin/pvedaemon restart (code=exited, status=255/EXCEPTION)
Main PID: 988 (pvedaemon)
Tasks: 4 (limit: 18943)
Memory: 365.2M
CPU: 14min 2.398s
CGroup: /system.slice/pvedaemon.service
├─ 988 pvedaemon
├─ 470248 "pvedaemon worker"
├─3721094 "pvedaemon worker"
└─3725673 "pvedaemon worker"
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Compilation failed in require at /usr/share/perl5/PVE/INotify.pm line 20.
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/INotify.pm line 20.
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Compilation failed in require at /usr/share/perl5/PVE/Daemon.pm line 22.
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Daemon.pm line 22.
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Compilation failed in require at /usr/share/perl5/PVE/Service/pvedaemon.pm line 7.
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Service/pvedaemon.pm line 7.
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Compilation failed in require at /usr/bin/pvedaemon line 11.
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: BEGIN failed--compilation aborted at /usr/bin/pvedaemon line 11.
Jan 23 13:03:40 pve-1 systemd[1]: pvedaemon.service: Control process exited, code=exited, status=255/EXCEPTION
Jan 23 13:03:40 pve-1 systemd[1]: Reload failed for pvedaemon.service - PVE API Daemon.
root@pve-1:/etc/apt/sources.list.d#
root@pve-1:/etc/apt/sources.list.d# journalctl -xeu pvedaemon.service
Jan 23 11:58:51 pve-1 pvedaemon[3721094]: <root@pam> successful auth for user 'root@pam'
Jan 23 12:14:51 pve-1 pvedaemon[470248]: <root@pam> successful auth for user 'root@pam'
Jan 23 12:30:51 pve-1 pvedaemon[3721094]: <root@pam> successful auth for user 'root@pam'
Jan 23 12:46:51 pve-1 pvedaemon[470248]: <root@pam> successful auth for user 'root@pam'
Jan 23 13:01:58 pve-1 pvedaemon[3725673]: <root@pam> successful auth for user 'root@pam'
Jan 23 13:03:39 pve-1 systemd[1]: Reloading pvedaemon.service - PVE API Daemon...
â–‘â–‘ Subject: A reload job for unit pvedaemon.service has begun execution
â–‘â–‘ Defined-By: systemd
â–‘â–‘ Support: https://www.debian.org/support
â–‘â–‘
â–‘â–‘ A reload job for unit pvedaemon.service has begun execution.
â–‘â–‘
â–‘â–‘ The job identifier is 53855.
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Bareword found where operator expected at /usr/share/perl/5.36/Math/BigInt/Lib.pm line 768, near "0 return0"
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: (Missing operator before return0?)
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Bareword found where operator expected at /usr/share/perl/5.36/Math/BigInt/Lib.pm line 768, near "1 iv"
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: (Missing operator before iv?)
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Bareword found where operator expected at /usr/share/perl/5.36/Math/BigInt/Lib.pm line 776, near "$y iv"
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: (Missing operator before iv?)
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Backticks found where operator expected at /usr/share/perl/5.36/Math/BigInt/Lib.pm line 778, near "`"
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: (Missing semicolon on previous line?)
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Number found where operator expected at /usr/share/perl/5.36/Math/BigInt/Lib.pm line 783, near "0"
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: No lib specified, and couldn't load the default lib 'Math::BigInt::Calc' at /usr/share/perl5/Net/IP.pm line 43.
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: BEGIN failed--compilation aborted at /usr/share/perl5/Net/IP.pm line 43.
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Compilation failed in require at /usr/share/perl5/PVE/JSONSchema.pm line 14.
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/JSONSchema.pm line 14.
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Compilation failed in require at /usr/share/perl5/PVE/INotify.pm line 20.
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/INotify.pm line 20.
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Compilation failed in require at /usr/share/perl5/PVE/Daemon.pm line 22.
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Daemon.pm line 22.
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Compilation failed in require at /usr/share/perl5/PVE/Service/pvedaemon.pm line 7.
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Service/pvedaemon.pm line 7.
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: Compilation failed in require at /usr/bin/pvedaemon line 11.
Jan 23 13:03:40 pve-1 pvedaemon[3875514]: BEGIN failed--compilation aborted at /usr/bin/pvedaemon line 11.
Jan 23 13:03:40 pve-1 systemd[1]: pvedaemon.service: Control process exited, code=exited, status=255/EXCEPTION
â–‘â–‘ Subject: Unit process exited
â–‘â–‘ Defined-By: systemd
â–‘â–‘ Support: https://www.debian.org/support
â–‘â–‘
â–‘â–‘ An ExecReload= process belonging to unit pvedaemon.service has exited.
â–‘â–‘
â–‘â–‘ The process' exit code is 'exited' and its exit status is 255.
Jan 23 13:03:40 pve-1 systemd[1]: Reload failed for pvedaemon.service - PVE API Daemon.
â–‘â–‘ Subject: A reload job for unit pvedaemon.service has finished
â–‘â–‘ Defined-By: systemd
â–‘â–‘ Support: https://www.debian.org/support
â–‘â–‘
â–‘â–‘ A reload job for unit pvedaemon.service has finished.
â–‘â–‘
â–‘â–‘ The job identifier is 53855 and the job result is failed.