No web and bigger problems I think. [SOLVED]

sharkie

New Member
Aug 19, 2014
7
0
1
Hello,

New proxmox user here. Inherited a 2 node cluster that appears to be running but I cannot get to the web interface on either node using https://proxmox-2.xxx.com:8006.

I am able to ssh into both systems.

I have restarted both systems and can run clustat to find both nodes online.

I get pveversion -v: command not found.

From another thread it was suggested to run apt-get install proxmox-ve-2-6-32. I get:
E: Unable to locate package proxmox-ve-2.6.32E: Couldn't find any package by regex 'proxmox-ve-2.6.32'

Here is the output from dpkg -l
Code:
root@proxmox-2:/etc/pve# dpkg -l | grep pve
ii  clvm                             2.02.98-pve4                  amd64        Cluster LVM Daemon for lvm2
ii  corosync-pve                     1.4.5-1                       amd64        Standards-based cluster framework (daemon and modules)
ii  dmsetup                          2:1.02.77-pve4                amd64        Linux Kernel Device Mapper userspace library
ii  fence-agents-pve                 4.0.0-2                       amd64        fence agents for redhat cluster suite
ii  libcorosync4-pve                 1.4.5-1                       amd64        Standards-based cluster framework (libraries)
ii  libdevmapper-event1.02.1:amd64   2:1.02.77-pve4                amd64        Linux Kernel Device Mapper event support library
ii  libdevmapper1.02.1:amd64         2:1.02.77-pve4                amd64        Linux Kernel Device Mapper userspace library
ii  liblvm2app2.2:amd64              2.02.98-pve4                  amd64        LVM2 application library
ii  libopenais3-pve                  1.1.4-3                       amd64        Standards-based cluster framework (libraries)
ii  libpve-access-control            3.0-7                         amd64        Proxmox VE access control library
ii  libpve-common-perl               3.0-8                         all          Proxmox VE base library
ii  libpve-storage-perl              3.0-17                        all          Proxmox VE storage management library
ii  lvm2                             2.02.98-pve4                  amd64        Linux Logical Volume Manager
ii  openais-pve                      1.1.4-3                       amd64        Standards-based cluster framework (daemon and modules)
ii  pve-cluster                      3.0-8                         amd64        Cluster Infrastructure for Proxmox Virtual Environment
ii  pve-firmware                     1.0-23                        all          Binary firmware code for the pve-kernel
ii  pve-kernel-2.6.32-26-pve         2.6.32-114                    amd64        The Proxmox PVE Kernel Image
rc  pve-libspice-server1             0.12.4-2                      amd64        SPICE remote display system server library
rc  pve-manager                      3.1-21                        amd64        The Proxmox Virtual Environment
rc  pve-qemu-kvm                     1.4-17                        amd64        Full virtualization on x86 hardware
ii  redhat-cluster-pve               3.2.0-2                       amd64        Red Hat cluster suite
ii  resource-agents-pve              3.9.2-4                       amd64        resource agents for redhat cluster suite
ii  vzctl                            4.0-1pve4                     amd64        OpenVZ - server virtualization solution - control tools


Any help is much appreciated.

Rgds.
 
Last edited:
Re: No web and bigger problems I think.

...
I get pveversion -v: command not found.

From another thread it was suggested to run apt-get install proxmox-ve-2-6-32. I get:
E: Unable to locate package proxmox-ve-2.6.32E: Couldn't find any package by regex 'proxmox-ve-2.6.32'

Here is the output from dpkg -l
Code:
root@proxmox-2:/etc/pve# dpkg -l | grep pve
...
rc  pve-libspice-server1             0.12.4-2                      amd64        SPICE remote display system server library
rc  pve-manager                      3.1-21                        amd64        The Proxmox Virtual Environment
rc  pve-qemu-kvm                     1.4-17                        amd64        Full virtualization on x86 hardware
...
Any help is much appreciated.

Rgds.
Hi,
it's looks that you have two problems:
1. your apt-sources are not correct (don't find proxmox-ve-2.6.32 and your system is outdated).
2. you have removed important packages (with rc marked)

See here: http://pve.proxmox.com/wiki/Package_repositories
and do an "apt-get update"; "apt-get install proxmox-ve-2.6.32"; "apt-get dist-upgrade"; "reboot"

Udo
 
Re: No web and bigger problems I think.

Hi,

Thank you for your reply.

I fixed the repos and was able to run apt-get update and apt-get dist-upgrade without error. I did, however, get an error when running apt-get install proxmox-ve-2.6.32

root@proxmox-2:~# apt-get install proxmox-ve-2.6.32
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:


The following packages have unmet dependencies:
proxmox-ve-2.6.32 : Depends: pve-manager but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I am still unable to run pveversion -v

What else can I check?

Thanks again.
 
Re: No web and bigger problems I think.

Hi,

I get:

root@proxmox-2:~# apt-get install pve-manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:


The following packages have unmet dependencies:
pve-manager : Depends: libuuid-perl but it is not installable
Depends: hdparm but it is not installable
Depends: gdisk but it is not installable
E: Unable to correct problems, you have held broken packages.

And then if I try to install any of those:

root@proxmox-2:~# apt-get install libuuid-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libuuid-perl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source


E: Package 'libuuid-perl' has no installation candidate

Would it be easier to just start from scratch?

Thanks,
 
Re: No web and bigger problems I think.

Right. When adding the no sub repo I commented out the general deb repo.

Making progress, I think. I am now able to run pveversion -v, but it appears I still have some issues.

Code:
root@proxmox-2:~# pveversion -vproxmox-ve-2.6.32: not correctly installed (running kernel: 2.6.32-26-pve)
pve-manager: not correctly installed (running version: 3.2-4/e24a91c1)
pve-kernel-2.6.32-26-pve: 2.6.32-114
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.5-1
pve-cluster: 3.0-12
qemu-server: not correctly installed
pve-firmware: 1.1-3
libpve-common-perl: 3.0-18
libpve-access-control: 3.0-11
libpve-storage-perl: 3.0-19
pve-libspice-server1: not correctly installed
vncterm: 1.1-6
vzctl: 4.0-1pve5
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: not correctly installed
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.2-1

I next tried to run apt-get -f install and got the following errors:

Code:
root@proxmox-2:~# apt-get -f installReading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  ipxe-qemu libbluetooth3 libbrlapi0.5 libdrm-intel1 libdrm-nouveau1a libdrm-radeon1 libdrm2 libfdt1
  libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libpciaccess0 libusbredirparser0 libvde0 libvdeplug2
  libxcb-glx0 libxdamage1 libxen-4.1 libxenstore3.0 libxxf86vm1 openbios-ppc openbios-sparc
  openhackware qemu-keymaps qemu-user qemu-utils seabios sharutils vde2 vgabios
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  pve-qemu-kvm
The following NEW packages will be installed:
  pve-qemu-kvm
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
10 not fully installed or removed.
Need to get 0 B/4,913 kB of archives.
After this operation, 11.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 30989 files and directories currently installed.)
Unpacking pve-qemu-kvm (from .../pve-qemu-kvm_1.7-8_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/pve-qemu-kvm_1.7-8_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+deb7u3
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.7-8_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Re: No web and bigger problems I think.

You need to remove conflicting packages like qemu-utils first.
 
Re: No web and bigger problems I think.

On a whim I tried to access the web server again....and sure enough, the web server is working.

However, I still am worried about the underlying structure.

I can't remove any packages because they all depend on another. Try to remove qemu-utils and get depends on pve-manager and qemu-server. Try to remove pve-manager and get depends on spiceterm and qemu-server...and so on. No combination of apt-get remove, purge or -f will get rid of any qemu packages.

Any advice on how to remove these and get everything up to the right versions?

I just love inheriting other folks broken systems...

Thanks
 
Last edited:
Re: No web and bigger problems I think.

Try to remove qemu-utils and get depends on pve-manager and qemu-server.

This is strange qemu-utils package from debian have nothing related with pve-manager and qemu-server from proxmox ...


maybe tr with aptitude instead apt, It can propose you some conflict resolution.
 
Re: No web and bigger problems I think.

Ah. That worked! It definitely uninstalled pve-manager. I will now try to re-install. I believe the install was successful. I can get to the web interface and pveversion -v shows the following. Is there any other check I should do to ensure the stability of this system?

Thank you so much for your help.

Code:
root@proxmox-2:~# pveversion -vproxmox-ve-2.6.32: 3.2-132 (running kernel: 2.6.32-31-pve)
pve-manager: 3.2-4 (running version: 3.2-4/e24a91c1)
pve-kernel-2.6.32-31-pve: 2.6.32-132
pve-kernel-2.6.32-26-pve: 2.6.32-114
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.5-1
pve-cluster: 3.0-12
qemu-server: 3.1-16
pve-firmware: 1.1-3
libpve-common-perl: 3.0-18
libpve-access-control: 3.0-11
libpve-storage-perl: 3.0-19
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-6
vzctl: 4.0-1pve5
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.7-8
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.2-1
 

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!