Install error

WabolMonster

New Member
Oct 13, 2019
4
0
1
23
Hello,

root@srv01:~# sudo apt install proxmox-ve postfix open-iscsi Reading package lists... Done
Building dependency tree
Reading state information... Done
open-iscsi is already the newest version (2.0.874-7.1).
postfix is already the newest version (3.4.5-1).
proxmox-ve is already the newest version (6.0-2).
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 (6.0-7) ...
Job for pvestatd.service failed because the control process exited with error co de.
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 erro r 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@srv01:~# journalctl -xe
--
-- The unit pvesr.service has entered the 'failed' state with result 'exit-code'.
Oct 13 22:54:01 srv01 systemd[1]: Failed to start Proxmox VE replication runner.
-- Subject: A start job for unit pvesr.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit pvesr.service has finished with a failure.
--
-- The job identifier is 6914 and the job result is failed.
Oct 13 22:54:02 srv01 pveproxy[4271]: worker exit
Oct 13 22:54:02 srv01 pveproxy[1292]: worker 4271 finished
Oct 13 22:54:02 srv01 pveproxy[1292]: starting 1 worker(s)
Oct 13 22:54:02 srv01 pveproxy[1292]: worker 4281 started
Oct 13 22:54:02 srv01 pveproxy[4281]: /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 1688.
Oct 13 22:54:02 srv01 pveproxy[4272]: worker exit
Oct 13 22:54:02 srv01 pveproxy[4273]: worker exit
Oct 13 22:54:02 srv01 pveproxy[1292]: worker 4272 finished
Oct 13 22:54:02 srv01 pveproxy[1292]: worker 4273 finished
Oct 13 22:54:02 srv01 pveproxy[1292]: starting 2 worker(s)
Oct 13 22:54:02 srv01 pveproxy[1292]: worker 4282 started
Oct 13 22:54:02 srv01 pveproxy[1292]: worker 4283 started
Oct 13 22:54:02 srv01 pveproxy[4282]: /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 1688.
Oct 13 22:54:02 srv01 pveproxy[4283]: /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 1688.
Oct 13 22:54:07 srv01 pveproxy[4281]: worker exit
Oct 13 22:54:07 srv01 pveproxy[1292]: worker 4281 finished
Oct 13 22:54:07 srv01 pveproxy[1292]: starting 1 worker(s)
Oct 13 22:54:07 srv01 pveproxy[1292]: worker 4284 started
Oct 13 22:54:07 srv01 pveproxy[4284]: /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 1688.
Oct 13 22:54:07 srv01 pveproxy[4282]: worker exit
Oct 13 22:54:07 srv01 pveproxy[4283]: worker exit
Oct 13 22:54:07 srv01 pveproxy[1292]: worker 4282 finished
Oct 13 22:54:07 srv01 pveproxy[1292]: starting 1 worker(s)
Oct 13 22:54:07 srv01 pveproxy[1292]: worker 4283 finished
Oct 13 22:54:07 srv01 pveproxy[1292]: worker 4285 started
Oct 13 22:54:07 srv01 pveproxy[4285]: /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 1688.
Oct 13 22:54:12 srv01 pveproxy[4284]: worker exit
Oct 13 22:54:12 srv01 pveproxy[1292]: worker 4284 finished
Oct 13 22:54:12 srv01 pveproxy[1292]: starting 2 worker(s)
Oct 13 22:54:12 srv01 pveproxy[1292]: worker 4286 started
Oct 13 22:54:12 srv01 pveproxy[1292]: worker 4287 started
Oct 13 22:54:12 srv01 pveproxy[4286]: /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 1688.
Oct 13 22:54:12 srv01 pveproxy[4287]: /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 1688.
Oct 13 22:54:12 srv01 pveproxy[4285]: worker exit
Oct 13 22:54:12 srv01 pveproxy[1292]: worker 4285 finished
Oct 13 22:54:12 srv01 pveproxy[1292]: starting 1 worker(s)
Oct 13 22:54:12 srv01 pveproxy[1292]: worker 4288 started
Oct 13 22:54:12 srv01 pveproxy[4288]: /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 1688.
Oct 13 22:54:17 srv01 pveproxy[4286]: worker exit
Oct 13 22:54:17 srv01 pveproxy[4287]: worker exit
Oct 13 22:54:17 srv01 pveproxy[1292]: worker 4286 finished
Oct 13 22:54:17 srv01 pveproxy[1292]: starting 1 worker(s)
Oct 13 22:54:17 srv01 pveproxy[1292]: worker 4287 finished
Oct 13 22:54:17 srv01 pveproxy[1292]: worker 4289 started
Oct 13 22:54:17 srv01 pveproxy[4289]: /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 1688.
Oct 13 22:54:17 srv01 pveproxy[4288]: worker exit
Oct 13 22:54:17 srv01 pveproxy[1292]: worker 4288 finished
Oct 13 22:54:17 srv01 pveproxy[1292]: starting 2 worker(s)
Oct 13 22:54:17 srv01 pveproxy[1292]: worker 4290 started
Oct 13 22:54:17 srv01 pveproxy[1292]: worker 4291 started
Oct 13 22:54:17 srv01 pveproxy[4290]: /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 1688.
Oct 13 22:54:17 srv01 pveproxy[4291]: /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 1688.

Any solution ?
 
root@srv01:~# cat /etc/debian_version
10.1

root@srv01:~# cat /etc/hosts
#127.0.0.1 localhost
127.0.1.1 srv01 srv01
#172.16.1.11 proxmox pvelocalhost
172.16.1.11 srv01 srv01
# The following lines are desirable for IPv6 capable hosts
#::1 localhost ip6-localhost ip6-loopback
#ff02::1 ip6-allnodes
#ff02::2 ip6-allrouters
 
remove the line with 127.0.1.1, uncomment the line with 127.0.0.1 and try again
 
can you check if hostname --ip-address returns your IP address (as shown in the wiki page)

if that works, try dpkg --configure proxmox-ve
 
root@srv01:~# dpkg --configure proxmox-ve
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
 
there's something very wrong on your system. ($PATH isn't set correctly i guess? what does echo $PATH say?)

why don't you just use the PVE installer with the ISO?
 

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!