[Sun Oct 31 14:21:22 2021] lvm2-activation-generator: lvmconfig failed

dengolius

Well-Known Member
Dec 28, 2016
38
6
48
34
Ukraine
t.me
Got this error while run installation of Proxmox 7 on Debian 11
Bash:
root@hub1:/home/dengolius# apt install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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.
apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = "en_US:en",
    LC_ALL = (unset),
    LC_TIME = "uk_UA.UTF-8",
    LC_MONETARY = "uk_UA.UTF-8",
    LC_ADDRESS = "uk_UA.UTF-8",
    LC_TELEPHONE = "uk_UA.UTF-8",
    LC_NAME = "uk_UA.UTF-8",
    LC_MEASUREMENT = "uk_UA.UTF-8",
    LC_IDENTIFICATION = "uk_UA.UTF-8",
    LC_NUMERIC = "uk_UA.UTF-8",
    LC_PAPER = "uk_UA.UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up pve-manager (7.0-13) ...
Job for pvestatd.service failed because the control process exited with error code.
See "systemctl status pvestatd.service" and "journalctl -xe" 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; 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@hub1:/home/dengolius# journalctl -xe
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit corosync.service has finished successfully.
░░
░░ The job identifier is 18005.
Oct 31 14:29:08 hub1 sshd[31091]: User root from 8.211.130.113 not allowed because not listed in AllowUsers
Oct 31 14:29:10 hub1 pveproxy[31195]: worker exit
Oct 31 14:29:10 hub1 pveproxy[31193]: worker exit
Oct 31 14:29:10 hub1 pveproxy[19352]: worker 31193 finished
Oct 31 14:29:10 hub1 pveproxy[19352]: worker 31195 finished
Oct 31 14:29:10 hub1 pveproxy[19352]: starting 2 worker(s)
Oct 31 14:29:10 hub1 pveproxy[19352]: worker 31208 started
Oct 31 14:29:10 hub1 pveproxy[19352]: worker 31209 started
Oct 31 14:29:10 hub1 pveproxy[31208]: /etc/pve/local/pve-ssl.key: failed to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1891.
Oct 31 14:29:10 hub1 pveproxy[31209]: /etc/pve/local/pve-ssl.key: failed to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1891.
Oct 31 14:29:10 hub1 pveproxy[31204]: worker exit
Oct 31 14:29:10 hub1 pveproxy[19352]: worker 31204 finished
Oct 31 14:29:10 hub1 pveproxy[19352]: starting 1 worker(s)
Oct 31 14:29:10 hub1 pveproxy[19352]: worker 31210 started
Oct 31 14:29:10 hub1 pveproxy[31210]: /etc/pve/local/pve-ssl.key: failed to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1891.
Oct 31 14:29:12 hub1 sshd[31091]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=8.211.130.113  user=root
root@hub1:/home/dengolius# ll /etc/pve/local/^C
root@hub1:/home/dengolius# ls -la /etc/pve/local/
ls: cannot access '/etc/pve/local/': No such file or directory
 
is the /etc/pve does exist?
Please provide us with the output of:

Bash:
ip a
cat /etc/hosts
hostname
 

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!