Proxmox Installation Fail dpkg returned an error code (1)

En3rgy

Renowned Member
Feb 22, 2016
7
0
66
27
Hello,

i have a Problem with the Installation of Proxmox at my Server.
I actually do all Parts of Installation Wiki and got this errors.


root@ns302010:~# apt-get install proxmox-ve ntp ssh postfix ksm-control-daemon open-iscsi systemd-sysv
Reading package lists... Done
Building dependency tree
Reading state information... Done
ntp is already the newest version.
ssh is already the newest version.
open-iscsi is already the newest version.
postfix is already the newest version.
systemd-sysv is already the newest version.
proxmox-ve is already the newest version.
ksm-control-daemon is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
9 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-cluster (4.0-32) ...
Job for pve-cluster.service failed. See 'systemctl status pve-cluster.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript pve-cluster, action "start" failed.
dpkg: error processing package pve-cluster (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libpve-access-control:
libpve-access-control depends on pve-cluster; however:
Package pve-cluster is not configured yet.

dpkg: error processing package libpve-access-control (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of librados2-perl:
librados2-perl depends on libpve-access-control; however:
Package libpve-access-control is not configured yet.

dpkg: error processing package librados2-perl (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pve-firewall:
pve-firewall depends on pve-cluster; however:
Package pve-cluster is not configured yet.
pve-firewall depends on libpve-access-control; however:
Package libpve-access-control is not configured yet.

dpkg: error processing package pve-firewall (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pve-ha-manager:
pve-ha-manager depends on pve-cluster (>= 3.0-17); however:
Package pve-cluster is not configured yet.

dpkg: error processing package pve-ha-manager (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of qemu-server:
qemu-server depends on libpve-access-control; however:
Package libpve-access-control is not configured yet.
qemu-server depends on pve-cluster; however:
Package pve-cluster is not configured yet.
qemu-server depends on pve-firewall; however:
Package pve-firewall is not configured yet.
qemu-server depends on pve-ha-manager; however:
Package pve-ha-manager is not configured yet.

dpkg: error processing package qemu-server (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pve-container:
pve-container depends on pve-cluster (>= 4.0-8); however:
Package pve-cluster is not configured yet.
pve-container depends on pve-ha-manager; however:
Package pve-ha-manager is not configured yet.

dpkg: error processing package pve-container (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pve-manager:
pve-manager depends on qemu-server (>= 1.1-1); however:
Package qemu-server is not configured yet.
pve-manager depends on pve-cluster (>= 1.0-29); however:
Package pve-cluster is not configured yet.
pve-manager depends on libpve-access-control (>= 3.0-2); however:
Package libpve-access-control is not configured yet.
pve-manager depends on librados2-perl; however:
Package librados2-perl is not configured yet.
pve-manager depends on pve-firewall; however:
Package pve-firewall is not configured yet.
pve-manager depends on pve-ha-manager; however:
Package pve-ha-manager is not configured yet.
pve-manager depends on pve-container; however:
Package pve-container is not configured yet.

dpkg: error processing package pve-manager (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of proxmox-ve:
proxmox-ve depends on pve-manager; however:
Package pve-manager is not configured yet.
proxmox-ve depends on qemu-server; however:
Package qemu-server is not configured yet.

dpkg: error processing package proxmox-ve (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
pve-cluster
libpve-access-control
librados2-perl
pve-firewall
pve-ha-manager
qemu-server
pve-container
pve-manager
proxmox-ve
E: Sub-process /usr/bin/dpkg returned an error code (1)



#/etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 ns302010.ip-94-23-58.eu ns302010 localhost.localdomain localhost
94.23.58.200 ns302010.ip-94-23-58.eu ns302010 pvelocalhost
2001:41d0:2:3bc8:: ns302010.ip-94-23-58.eu ns302010

# The following lines are desirable for IPv6 capable hosts
#(added automatically by netbase upgrade)

::1 ns302010.ip-94-23-58.eu ns302010 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts



#test maybe?
root@ns302010:~# pvecm updatecerts --force
ipcc_send_rec failed: Connection refused
ipcc_send_rec failed: Connection refused
ipcc_send_rec failed: Connection refused
pve configuration filesystem not mounted
 
Hello,

i have a Problem with the Installation of Proxmox at my Server.
I actually do all Parts of Installation Wiki and got this errors.


root@ns302010:~# apt-get install proxmox-ve ntp ssh postfix ksm-control-daemon open-iscsi systemd-sysv
Reading package lists... Done
Building dependency tree
Reading state information... Done
ntp is already the newest version.
ssh is already the newest version.
open-iscsi is already the newest version.
postfix is already the newest version.
systemd-sysv is already the newest version.
proxmox-ve is already the newest version.
ksm-control-daemon is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
9 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-cluster (4.0-32) ...
Job for pve-cluster.service failed. See 'systemctl status pve-cluster.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript pve-cluster, action "start" failed.
dpkg: error processing package pve-cluster (--configure):
...
Hi,
this is the first error - so you must find out why this occour and fix it.

Any hints on "systemctl status pve-cluster.service" and "journalctl -xn"?

Udo
 
#systemctl status pve-cluster.service
● pve-cluster.service - The Proxmox VE cluster filesystem
Loaded: loaded (/lib/systemd/system/pve-cluster.service; enabled)
Active: failed (Result: exit-code) since Mon 2016-02-22 20:42:55 CET; 1h 23min ago
Process: 15616 ExecStart=/usr/bin/pmxcfs $DAEMON_OPTS (code=exited, status=255)

Feb 22 20:42:55 ns302010.ip-94-23-58.eu pmxcfs[15616]: [main] crit: Unable to get local IP address
Feb 22 20:42:55 ns302010.ip-94-23-58.eu pmxcfs[15616]: [main] crit: Unable to get local IP address
Feb 22 20:42:55 ns302010.ip-94-23-58.eu systemd[1]: pve-cluster.service: control process exited, code=exited status=255
Feb 22 20:42:55 ns302010.ip-94-23-58.eu systemd[1]: Failed to start The Proxmox VE cluster filesystem.
Feb 22 20:42:55 ns302010.ip-94-23-58.eu systemd[1]: Unit pve-cluster.service entered failed state.


[main] crit: Unable to get local IP address: I checked the Hosts config ... and dont know what i need to change that he gets the local IP.



#journalctl -xn
Feb 22 22:07:01 ns302010.ip-94-23-58.eu CRON[20175]: pam_unix(cron:session): session opened for user root by (uid=0)
Feb 22 22:07:01 ns302010.ip-94-23-58.eu CRON[20174]: pam_unix(cron:session): session opened for user root by (uid=0)
Feb 22 22:07:01 ns302010.ip-94-23-58.eu CRON[20176]: (root) CMD (/usr/local/rtm/bin/rtm 54 > /dev/null 2> /dev/null)
Feb 22 22:07:01 ns302010.ip-94-23-58.eu CRON[20177]: (root) CMD ([ -x /opt/psa/admin/sbin/backupmng ] && /opt/psa/admin/sbin/backupmng >/dev/null 2>&1)
Feb 22 22:07:01 ns302010.ip-94-23-58.eu CRON[20175]: pam_unix(cron:session): session closed for user root
Feb 22 22:07:01 ns302010.ip-94-23-58.eu CRON[20174]: pam_unix(cron:session): session closed for user root
 

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!