Issue while Installing Proxmox on Debian Buster pve-ssl.key: failed to load local private key

bmiddha

New Member
Jan 28, 2020
2
0
1
25
I am attempting to install Proxmox on Debian Buster by following https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Buster.

Output of journalctl -xe -b -u pve* --no-hostname (full log is attached as pve-journal.log.txt)
Jan 28 14:47:54 pveproxy[2160]: worker exit
Jan 28 14:47:54 pveproxy[1075]: worker 2159 finished
Jan 28 14:47:54 pveproxy[1075]: worker 2160 finished
Jan 28 14:47:54 pveproxy[1075]: starting 2 worker(s)
Jan 28 14:47:54 pveproxy[1075]: worker 2162 started
Jan 28 14:47:54 pveproxy[1075]: worker 2163 started
Jan 28 14:47:54 pveproxy[2162]: /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 1699.


Output of apt install -f
Reading package lists... Done
Building dependency tree
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.
Setting up pve-manager (6.1-5) ...
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)


output of cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 REDACTED-HOST.DOMAIN REDACTED-HOST
REDACTED-IP-ADDRESS REDACTED-HOST
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
 

Attachments

your /etc/hosts is wrong - your hostname needs to resolve to a proper IP. dropping the second line (starting with 127.0.1.1) should do the trick. otherwise pmxcfs which provides /etc/pve will refuse to start.
 
  • Like
Reactions: bmiddha

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!