Web interface doesn't work. Need help troubleshooting

X

xiko

Guest
I posted this on the wrong forum, can a Admin please delete?

Hello, I installed the latest 3.0 version and it was working. Then I updated qemu and the web interface stopped working. Then I removed the qemu and installed the proxmox 3.1 version to try to fix it. Well, it didn't. I am unable to go to the web interface and don't know how to troubleshoot it.
 
Last edited by a moderator:
post the output of 'pveversion -v'
 
I cant find the file and the command doesnt work.
Edit: I had the bare metal installation. I am doing a apt-get install proxmox* and it is updating. It is strange as the web interface was working before.

So it seems that when I uninstalled qemu I uninstalled the proxmox. After I reinstalled the proxmox with the above command it is working now.

The pveversion -v gives me this now:
proxmox-ve-2.6.32: not correctly installed (running kernel: 2.6.32-22-pve)
pve-manager: not correctly installed (running version: 3.1-3/dc0e9b0e)
pve-kernel-2.6.32-20-pve: 2.6.32-100
pve-kernel-2.6.32-22-pve: 2.6.32-107
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-1
pve-cluster: 3.0-7
qemu-server: not correctly installed
pve-firmware: 1.0-23
libpve-common-perl: 3.0-6
libpve-access-control: 3.0-6
libpve-storage-perl: 3.0-8
pve-libspice-server1: not correctly installed
vncterm: 1.1-4
vzctl: 4.0-1pve3
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: not correctly installed
ksm-control-daemon: 1.1-1
glusterfs-client: not correctly installed


Thanks for helping out.
 
Last edited by a moderator:
your list shows a lot of issues.

try the following:

Code:
apt-get update && apt-get install proxmox-ve-2.6.32
 
"apt-get install qemu"

I am doing the "apt-get update && apt-get install proxmox-ve-2.6.32"The following NEW packages will be installed:
proxmox-ve-2.6.32 pve-manager pve-qemu-kvm qemu-server

Preconfiguring packages ...
(Reading database ... 57227 files and directories currently installed.)
Unpacking pve-qemu-kvm (from .../pve-qemu-kvm_1.4-13_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/pve-qemu-kvm_1.4-13_amd64.deb (--unpack):
trying to overwrite '/usr/share/man/man8/qemu-nbd.8.gz', which is also in package qemu-utils 1.1.2+dfsg-6a
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Selecting previously unselected package qemu-server.
Unpacking qemu-server (from .../qemu-server_3.0-20_amd64.deb) ...
Selecting previously unselected package pve-manager.
Unpacking pve-manager (from .../pve-manager_3.0-23_amd64.deb) ...
Selecting previously unselected package proxmox-ve-2.6.32.
Unpacking proxmox-ve-2.6.32 (from .../proxmox-ve-2.6.32_3.0-107_all.deb) ...
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/pve-qemu-kvm_1.4-13_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



Then I did a pveversion -v
root@proxmox:~# pveversion -v
pve-manager: not correctly installed (pve-manager/3.0/957f0862)
running kernel: 2.6.32-22-pve
pve-kernel-2.6.32-23-pve: 2.6.32-109
pve-kernel-2.6.32-22-pve: 2.6.32-107
pve-kernel-2.6.32-20-pve: 2.6.32-100
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-1
pve-cluster: 3.0-7
qemu-server: not correctly installed
pve-firmware: 1.0-23
libpve-common-perl: 3.0-6
libpve-access-control: 3.0-6
libpve-storage-perl: 3.0-8
vncterm: 1.1-4
vzctl: 4.0-1pve3
vzprocps: 2.0.11-2
vzquota: 3.1-2



EDIT: I have a test ubuntu vm running. I downloaded a template from the gui and it works.
 
Last edited by a moderator:
Please remove conflicting package qemu-utils 1.1.2+dfsg-6a

# apt-get remove qemu-utils

Then try again.
 
root@proxmox:~# apt-get remove qemu-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
proxmox-ve-2.6.32 : Depends: pve-qemu-kvm but it is not going to be installed
qemu-server : Depends: pve-qemu-kvm (>= 1.4-4) but it is not going to be installed or
pve-qemu-kvm-2.6.18 but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Then when I try the 'apt-get -f install'

Unpacking pve-qemu-kvm (from .../pve-qemu-kvm_1.4-13_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/pve-qemu-kvm_1.4-13_amd64.deb (--unpack):
trying to overwrite '/usr/share/man/man8/qemu-nbd.8.gz', which is also in package qemu-utils 1.1.2+dfsg-6a
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/pve-qemu-kvm_1.4-13_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)




I tried to stop all services in this page http://pve.proxmox.com/wiki/Service_daemons and doing it again but got the same errors.
 
I was able to fix the dependecies by doing: aptitude install -f It uninstalled the right stuff and I was able to reinstall proxmox and it kept my configuration.


root@proxmox:~# pveversion -v
proxmox-ve-2.6.32: 3.1-109 (running kernel: 2.6.32-23-pve)
pve-manager: 3.1-3 (running version: 3.1-3/dc0e9b0e)
pve-kernel-2.6.32-20-pve: 2.6.32-100
pve-kernel-2.6.32-22-pve: 2.6.32-107
pve-kernel-2.6.32-23-pve: 2.6.32-109
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-1
pve-cluster: 3.0-7
qemu-server: 3.1-1
pve-firmware: 1.0-23
libpve-common-perl: 3.0-6
libpve-access-control: 3.0-6
libpve-storage-perl: 3.0-8
pve-libspice-server1: 0.12.4-1
vncterm: 1.1-4
vzctl: 4.0-1pve3
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-17
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.0-2

Thanks for the help Tom.
 

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!