Issue install proxmox on Debian Jessie

Pixie

New Member
Nov 14, 2016
3
0
1
36
Hi there,

I'm new but I've install Proxmox sucessfully on Debian Jessie once before but had to reinstall my server and now I'm stuck.

I've followed this guide: https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Jessie

I get the following error:
Setting up pve-firewall (2.0-31) ...
Failed to get D-Bus connection: Unknown error -1
dpkg: error processing package pve-firewall (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of qemu-server:
qemu-server depends on pve-firewall; however:
Package pve-firewall is not configured yet.

dpkg: error processing package qemu-server (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of proxmox-ve:
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
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-firewall; however:
Package pve-firewall is not configured yet.

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

dpkg: error processing package pve-ha-manager (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pve-container:
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
Errors were encountered while processing:
pve-firewall
qemu-server
proxmox-ve
pve-manager
pve-ha-manager
pve-container

My etc/hosts file has the following entries although I've changed this many times to try resolve the issue but I can't figure it out:

127.0.0.1 localhost localhost
#127.0.1.1 debian-house.pixie.net debian-house
192.168.0.100 debian-house debian-house pvelocalhost

# The following lines are desirable for IPv6 capable hosts
#::1 localhost ip6-localhost ip6-loopback
#ff02::1 ip6-allnodes
#ff02::2 ip6-allrouters

I've uninstalled network-manager and my /etc/network/interfaces file looks like this:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

#proxmox interface

auto eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1


#iface eth1 inet static
# address 192.168.0.101
# netmask 255.255.255.0
# network 192.168.0.0
# broadcast 192.168.0.255
# gateway 192.168.0.1


#DNS Config

#dns-nameservers 192.168.0.1


Any help would be appreciated as I've spent a few days now going around in circles - I remember I had similar issues before but I can't find my notes from my last install :(

Thanks in advance!!
Adam
 
Hi,
I had a similar problem installing on jessie,
for me the problem was that a service installed (maybe pve-firewall but i'm not sure...)
was masked and didn't start , so that the post-installation script failed and the dependencies were not satisfied

Try
journalctl -xn
and see wich service doesnt start
then google for "service masked"
I had to remove a symlink that prevented the service to start.

at the end apt-get -f install and all worked

Hope it helps.....
 
Thanks Pierluca - I had tried uninstalling then unmasking pve-firewall and then reinstalling but it still presented the same error, how unmasking then continuing the install cracked it.

systemctl unmask pve-firewall.service was the command needed.

Got to the web login and now I've got a Connection error 401: can't open '/etc/pve/authkey.pub' - No such file or directory... I think this is a known issue but if anyone know's how to correct it then that would be really helpful.

Cheers,
Adam
 
Never mind - cracked it:

# rm /etc/pve/priv/authkey.key
# pvecm updatecerts --force

Then restart - the web service takes a while to come up though after forcing the new certs to be generated!

Thanks again :)
 

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!