/etc/pve/local/pve-ssl.key: failed to load local private key (key_file or key) at /usr/share/perl5/

Hi,
please describe your problem in more detail.

What is the output of the following
Code:
pveversion -v
systemctl status pve-cluster.service pveproxy.service pvedaemon.service
?
 
Hello,
I have similar problem/issue.

Code:
wrz 13 09:18:39 hv-panther-08.hhh.host.nask.pl pveproxy[15997]: /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.
wrz 13 09:18:39 hv-panther-08.hhh.host.nask.pl pveproxy[15998]: /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.
wrz 13 09:18:39 hv-panther-08.hhh.host.nask.pl pveproxy[15999]: /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.

here are outputs :

Code:
pveversion -v
proxmox-ve: 6.4-1 (running kernel: 5.4.189-2-pve)
pve-manager: 6.4-15 (running version: 6.4-15/af7986e6)
pve-kernel-5.4: 6.4-18
pve-kernel-helper: 6.4-18
pve-kernel-5.4.189-2-pve: 5.4.189-2
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.1.5-pve2~bpo10+1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: residual config
ifupdown2: 3.0.0-1+pve4~bpo10
libjs-extjs: 6.0.1-10
libknet1: 1.22-pve2~bpo10+1
libproxmox-acme-perl: 1.1.0
libproxmox-backup-qemu0: 1.1.0-1
libpve-access-control: 6.4-3
libpve-apiclient-perl: 3.1-3
libpve-common-perl: 6.4-5
libpve-guest-common-perl: 3.1-5
libpve-http-server-perl: 3.2-4
libpve-storage-perl: 6.4-1
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.6-2
lxcfs: 4.0.6-pve1
novnc-pve: 1.1.0-1
proxmox-backup-client: 1.1.14-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.6-2
pve-cluster: 6.4-1
pve-container: 3.3-6
pve-docs: 6.4-2
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-4
pve-firmware: 3.3-2
pve-ha-manager: 3.1-1
pve-i18n: 2.3-1
pve-qemu-kvm: 5.2.0-7
pve-xtermjs: 4.7.0-3
qemu-server: 6.4-2
smartmontools: 7.2-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 2.0.7-pve1

Code:
● pve-cluster.service - The Proxmox VE cluster filesystem
   Loaded: loaded (/lib/systemd/system/pve-cluster.service; enabled; vendor pres
   Active: active (running) since Tue 2022-09-13 09:14:24 UTC; 8min ago
  Process: 1255 ExecStart=/usr/bin/pmxcfs (code=exited, status=0/SUCCESS)
 Main PID: 1256 (pmxcfs)
    Tasks: 7 (limit: 4915)
   Memory: 46.7M
   CGroup: /system.slice/pve-cluster.service
           └─1256 /usr/bin/pmxcfs

wrz 13 09:16:36 hv-panther-08.hhh.host.nask.pl pmxcfs[1256]: [status] notice: re
wrz 13 09:17:01 hv-panther-08.hhh.host.nask.pl pmxcfs[1256]: [status] notice: re
wrz 13 09:17:32 hv-panther-08.hhh.host.nask.pl pmxcfs[1256]: [status] notice: re
wrz 13 09:18:01 hv-panther-08.hhh.host.nask.pl pmxcfs[1256]: [status] notice: re
wrz 13 09:19:02 hv-panther-08.hhh.host.nask.pl pmxcfs[1256]: [status] notice: re
wrz 13 09:19:59 hv-panther-08.hhh.host.nask.pl pmxcfs[1256]: [status] notice: re
wrz 13 09:20:01 hv-panther-08.hhh.host.nask.pl pmxcfs[1256]: [status] notice: re
wrz 13 09:21:01 hv-panther-08.hhh.host.nask.pl pmxcfs[1256]: [status] notice: re
wrz 13 09:22:02 hv-panther-08.hhh.host.nask.pl pmxcfs[1256]: [status] notice: re
wrz 13 09:22:07 hv-panther-08.hhh.host.nask.pl pmxcfs[1256]: [status] notice: re

Code:
● pveproxy.service - PVE API Proxy Server
   Loaded: loaded (/lib/systemd/system/pveproxy.service; enabled; vendor preset:
   Active: active (running) since Tue 2022-09-13 09:14:26 UTC; 8min ago
  Process: 1642 ExecStartPre=/usr/bin/pvecm updatecerts --silent (code=exited, s
  Process: 1650 ExecStart=/usr/bin/pveproxy start (code=exited, status=0/SUCCESS
 Main PID: 1652 (pveproxy)
    Tasks: 4 (limit: 4915)
   Memory: 138.6M
   CGroup: /system.slice/pveproxy.service
           ├─1652 pveproxy
           ├─6863 pveproxy worker
           ├─6864 pveproxy worker
           └─6865 pveproxy worker

wrz 13 09:22:53 hv-panther-08.hhh.host.nask.pl pveproxy[1652]: starting 2 worker
wrz 13 09:22:53 hv-panther-08.hhh.host.nask.pl pveproxy[1652]: worker 6863 start
wrz 13 09:22:53 hv-panther-08.hhh.host.nask.pl pveproxy[1652]: worker 6864 start
wrz 13 09:22:53 hv-panther-08.hhh.host.nask.pl pveproxy[6474]: worker exit
wrz 13 09:22:53 hv-panther-08.hhh.host.nask.pl pveproxy[6863]: /etc/pve/local/pv
wrz 13 09:22:53 hv-panther-08.hhh.host.nask.pl pveproxy[6864]: /etc/pve/local/pv
wrz 13 09:22:53 hv-panther-08.hhh.host.nask.pl pveproxy[1652]: worker 6474 finis
wrz 13 09:22:53 hv-panther-08.hhh.host.nask.pl pveproxy[1652]: starting 1 worker
wrz 13 09:22:53 hv-panther-08.hhh.host.nask.pl pveproxy[1652]: worker 6865 start

here are errors :
Code:
pveproxy[21484]: /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.
wrz 13 09:29:51 hv-panther-08.hhh.host.nask.pl pveproxy[21485]: /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.
wrz 13 09:29:51 hv-panther-08.hhh.host.nask.pl pveproxy[21486]: /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.


Code:
● pvedaemon.service - PVE API Daemon
   Loaded: loaded (/lib/systemd/system/pvedaemon.service; enabled; vendor preset
   Active: active (running) since Tue 2022-09-13 09:14:25 UTC; 16min ago
  Process: 1611 ExecStart=/usr/bin/pvedaemon start (code=exited, status=0/SUCCES
 Main PID: 1638 (pvedaemon)
    Tasks: 4 (limit: 4915)
   Memory: 136.9M
   CGroup: /system.slice/pvedaemon.service
           ├─1638 pvedaemon
           ├─1639 pvedaemon worker
           ├─1640 pvedaemon worker
           └─1641 pvedaemon worker

wrz 13 09:14:24 hv-panther-08.hhh.host.nask.pl systemd[1]: Starting PVE API Daem
wrz 13 09:14:25 hv-panther-08.hhh.host.nask.pl pvedaemon[1638]: starting server
wrz 13 09:14:25 hv-panther-08.hhh.host.nask.pl pvedaemon[1638]: starting 3 worke
wrz 13 09:14:25 hv-panther-08.hhh.host.nask.pl pvedaemon[1638]: worker 1639 star
wrz 13 09:14:25 hv-panther-08.hhh.host.nask.pl pvedaemon[1638]: worker 1640 star
wrz 13 09:14:25 hv-panther-08.hhh.host.nask.pl pvedaemon[1638]: worker 1641 star
wrz 13 09:14:25 hv-panther-08.hhh.host.nask.pl systemd[1]: Started PVE API Daemo
 

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!