Debian Squeeze Installation Fails

J

jamesb

Guest
I am trying to install Proxmox on debian squeeze but am finding that the installation fails. I have found other threads where people are experiencing the same issue but there doesn't seem to be a solution. Does anybody know how to install proxmox on debian squeeze or know how to fix this issue?

Code:
 apt-get install proxmox-ve-2.6.32Reading package lists... Done
Building dependency tree
Reading state information... Done
proxmox-ve-2.6.32 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
11 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up pve-cluster (1.0-36) ...
insserv: warning: script 'K01jira' missing LSB tags and overrides
insserv: warning: script 'jira' missing LSB tags and overrides
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
configured to not write apport reports
                                      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
configured to not write apport reports
                                      configured to not write apport reports
                                                                            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):configured to not write apport reports
                                                                                configured to not write apport reports


 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
configured to not write apport reports
                                      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
configured to not write apport reports
                                      configured to not write apport reports
                                                                            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; 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
configured to not write apport reports
                                      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
configured to not write apport reports
                                      configured to not write apport reports
                                                                            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)

Code:
Starting pve cluster filesystem : pve-cluster[main] crit: Unable to get local IP address

Code:
root@icecream:/home/james # hostname
icecream

Code:
root@icecream:/home/james # cat /etc/hosts
127.0.0.1       localhost
127.0.1.1       icecream
 

I got this working now by changing my /etc/hosts file from the debian default to the following

Code:
127.0.0.1    localhost
192.168.32.40    icecream

I am not sure this is 'fixed' as there are probably going to be issues with the hostname not tied to the loop back address but it works with proxmox anyway. Is the best approach for pve-cluster?

Anyway I have moved on now and the installation has completed BUT I now see a kernel panic when trying to start a VM.
 
So a kernel panic is a bit of a show stopper. Is there any debug I can provide that would be useful for you or anyway to capture the trace with this kernel?

Code:
[B]uname -a[/B]
Linux icecream 2.6.32-19-pve #1 SMP Mon Mar 18 06:41:32 CET 2013 x86_64 GNU/Linux
Code:
[B]
tail -n 2 /etc/apt/sources.list
[/B]# PVE packages provided by proxmox.com
deb http://download.proxmox.com/debian squeeze pve
Code:
[B]egrep '(vmx|svm)' --color=always /proc/cpuinfo[/B]
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl [B]vmx [/B]est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts tpr_shadow
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl [B]vmx [/B]est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts tpr_shadow
 

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!