problem install proxmox-ve-2.6.32 in debian wheezy

Sky Chong

New Member
Nov 26, 2013
5
0
1
Taichung, Taiwan, Taiwan
i am novice at using proxmox-ve...
while installing proxmox-ve , meet this problem...
please help me solve it...

# aptitude install proxmox-ve-2.6.32
The following partially installed packages will be configured:
clvm fence-agents-pve libpve-access-control libpve-storage-perl
proxmox-ve-2.6.32 pve-cluster pve-manager qemu-server
redhat-cluster-pve resource-agents-pve vzctl
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up pve-cluster (3.0-8) ...
[....] Starting pve cluster filesystem : pve-cluster[main] crit: Unable to get local IP address
(warning).
invoke-rc.d: initscript pve-cluster, action "start" failed.
dpkg: error processing pve-cluster (--configure):
subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of redhat-cluster-pve:
redhat-cluster-pve depends on pve-cluster; however:
Package pve-cluster is not configured yet.

dpkg: error processing redhat-cluster-pve (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of fence-agents-pve:
fence-agents-pve depends on redhat-cluster-pve; however:
Package redhat-cluster-pve is not configured yet.

dpkg: error processing fence-agents-pve (--configure):
dependency problems - leaving unconfigured
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 libpve-access-control (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of clvm:
clvm depends on redhat-cluster-pve; however:
Package redhat-cluster-pve is not configured yet.

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

dpkg: error processing libpve-storage-perl (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of qemu-server:
qemu-server depends on libpve-storage-perl; however:
Package libpve-storage-perl is not configured yet.
qemu-server depends on pve-cluster; however:
Package pve-cluster is not configured yet.
qemu-server depends on redhat-cluster-pve; however:
Package redhat-cluster-pve is not configured yet.

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

dpkg: error processing resource-agents-pve (--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-storage-perl; however:
Package libpve-storage-perl 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 redhat-cluster-pve; however:
Package redhat-cluster-pve is not configured yet.
pve-manager depends on resource-agents-pve; however:
Package resource-agents-pve is not configured yet.
pve-manager depends on fence-agents-pve; however:
Package fence-agents-pve is not configured yet.

dpkg: error processing pve-manager (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of vzctl:
vzctl depends on pve-cluster; however:
Package pve-cluster is not configured yet.
vzctl depends on libpve-storage-perl; however:
Package libpve-storage-perl is not configured yet.

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

dpkg: error processing proxmox-ve-2.6.32 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
pve-cluster
redhat-cluster-pve
fence-agents-pve
libpve-access-control
clvm
libpve-storage-perl
qemu-server
resource-agents-pve
pve-manager
vzctl
proxmox-ve-2.6.32
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up pve-cluster (3.0-8) ...
[....] Starting pve cluster filesystem : pve-cluster[main] crit: Unable to get local IP address
(warning).
invoke-rc.d: initscript pve-cluster, action "start" failed.
dpkg: error processing pve-cluster (--configure):
subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of pve-manager:
pve-manager depends on pve-cluster (>= 1.0-29); however:
Package pve-cluster is not configured yet.

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

dpkg: error processing proxmox-ve-2.6.32 (--configure):
dependency problems - leaving unconfigured
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 libpve-access-control (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of qemu-server:
qemu-server depends on pve-cluster; however:
Package pve-cluster is not configured yet.

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

dpkg: error processing redhat-cluster-pve (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of vzctl:
vzctl depends on pve-cluster; however:
Package pve-cluster is not configured yet.

dpkg: error processing vzctl (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of resource-agents-pve:
resource-agents-pve depends on redhat-cluster-pve; however:
Package redhat-cluster-pve is not configured yet.

dpkg: error processing resource-agents-pve (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of fence-agents-pve:
fence-agents-pve depends on redhat-cluster-pve; however:
Package redhat-cluster-pve is not configured yet.

dpkg: error processing fence-agents-pve (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of clvm:
clvm depends on redhat-cluster-pve; however:
Package redhat-cluster-pve is not configured yet.

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

dpkg: error processing libpve-storage-perl (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
pve-cluster
pve-manager
proxmox-ve-2.6.32
libpve-access-control
qemu-server
redhat-cluster-pve
vzctl
resource-agents-pve
fence-agents-pve
clvm
libpve-storage-perl
 
i trying reinstall debian , and following the step to install proxmox...

here is my /etc/hosts :
cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 sky.sky sky
192.168.6.177 proxmox-6-177.proxmox.com proxmox-6-177 pvelocalhost

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

fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

is that my hosts list write wrong ?
because after reinstall debian and follow the step install proxmox...
i still get same problem...
Errors were encountered while processing:
pve-cluster
redhat-cluster-pve
fence-agents-pve
libpve-access-control
clvm
libpve-storage-perl
qemu-server
resource-agents-pve
pve-manager
vzctl
proxmox-ve-2.6.32
E: Sub-process /usr/bin/dpkg returned an error code (1)

and this is my sourcelist:


#

# deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 NETINST Binary-1 20130615-23:04]/ wheezy main

#deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 NETINST Binary-1 20130615-23:04]/ wheezy main

deb http://ftp.tw.debian.org/debian/ wheezy main
deb-src http://ftp.tw.debian.org/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

# wheezy-updates, previously known as 'volatile'
deb http://ftp.tw.debian.org/debian/ wheezy-updates main
deb-src http://ftp.tw.debian.org/debian/ wheezy-updates main

deb http://ftp.at.debian.org/debian wheezy main contrib

# PVE pve-no-subscription repository provided by proxmox.com, NOT recommended for production use
deb http://download.proxmox.com/debian wheezy pve-no-subscription

# security updates
deb http://security.debian.org/ wheezy/updates main contrib



very sorry that i just a novice with debian and proxmox...

Please forgive me...

SKY
 
i trying reinstall debian , and following the step to install proxmox...

here is my /etc/hosts :
cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 sky.sky sky
192.168.6.177 proxmox-6-177.proxmox.com proxmox-6-177 pvelocalhost


very sorry that i just a novice with debian and proxmox...

Please forgive me...
SKY

don't worry we're here to help each other :-) (this does not guarantee that we're able to :-D)

what is output of
#hostname ?

Marco
 
# hostname
sky

I feel that could be part of the problem:

you have:

127.0.0.1 localhost
127.0.1.1 sky.sky sky
192.168.6.177 proxmox-6-177.proxmox.com proxmox-6-177 pvelocalhost

if hostname is "sky" it will resolve to 127.0.1.1

but probably you expect this node IP to be 192.168.6.177...

you could try to adjust your /etc/hosts


wait,

127.0.0.1 localhost.localdomain localhost
192.168.6.177 proxmox-6-177.proxmox.com proxmox-6-177 pvelocalhost

but these are the wiki default values!!

you should of course use your IP and hostname, not
192.168.6.177 proxmox-6-177.proxmox.com proxmox-6-177 pvelocalhost

that 192.168.6.177 could work if your network setup is like that but it doesn't make sense t me use "proxmox.com" as a domain for your nodes..?!?

Marco
 
Last edited:
I feel that could be part of the problem:

you have:

127.0.0.1 localhost
127.0.1.1 sky.sky sky
192.168.6.177 proxmox-6-177.proxmox.com proxmox-6-177 pvelocalhost

if hostname is "sky" it will resolve to 127.0.1.1

but probably you expect this node IP to be 192.168.6.177...

you could try to adjust your /etc/hosts


wait,

127.0.0.1 localhost.localdomain localhost
192.168.6.177 proxmox-6-177.proxmox.com proxmox-6-177 pvelocalhost

but these are the wiki default values!!

you should of course use your IP and hostname, not
192.168.6.177 proxmox-6-177.proxmox.com proxmox-6-177 pvelocalhost

that 192.168.6.177 could work if your network setup is like that but it doesn't make sense t me use "proxmox.com" as a domain for your nodes..?!?

Marco


Dear m.ardito :

thanks for helping me...
finally i solve the problem now...
by fixing the /etc/hosts list..
without your help ,maybe i still dont know how to solve it!!

very thanks your help...



sky