[SOLVED] No Console Access via noVNC - Unable to create RFB client

ulf.kosack

Renowned Member
Jan 28, 2012
49
7
73
Wachtberg
www.edvnet-uk.com
Hello,

today I updated my PVE Installation from pve-kernel-2.6.32-39-pve to pve-kernel-2.6.32-40-pve via aptitude safe-upgrade. After Reboot I deleted the old kernel pve-kernel-2.6.32-34-pve (like a couple of times in the past).

Proxmox Management GUI is still running, but I can't get console access via noVNC. Access via VNC is available.

The error message in noVNC console is:
Code:
Unable to create RFB client -- TypeError: Util.set_defaults is not a function

Package versions:
Code:
~# dpkg -l | grep pve-
ii  libpve-access-control            3.0-16                        amd64        Proxmox VE access control library
ii  libpve-common-perl               3.0-24                        all          Proxmox VE base library
ii  libpve-storage-perl              3.0-33                        all          Proxmox VE storage management library
ii  pve-cluster                      3.0-18                        amd64        Cluster Infrastructure for Proxmox Virtual Environment
ii  pve-firewall                     1.0-21                        amd64        Proxmox VE Firewall
ii  pve-firmware                     1.1-4                         all          Binary firmware code for the pve-kernel
ii  pve-kernel-2.6.32-34-pve         2.6.32-140                    amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-2.6.32-37-pve         2.6.32-150                    amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-2.6.32-39-pve         2.6.32-157                    amd64        The Proxmox PVE Kernel Image
ii  pve-kernel-2.6.32-40-pve         2.6.32-160                    amd64        The Proxmox PVE Kernel Image
ii  pve-libspice-server1             0.12.4-3                      amd64        SPICE remote display system server library
ii  pve-manager                      3.4-9                         amd64        The Proxmox Virtual Environment
ii  pve-qemu-kvm                     2.2-11                        amd64        Full virtualization on x86 hardware

How can I get console access via noVNC?

Thanks
Ulf
 

Attachments

  • ProxmoxNoVNC.PNG
    ProxmoxNoVNC.PNG
    84.1 KB · Views: 25
Last edited:
You cannot use aptitude safe-upgrade you must use apt-get dist-upgrade since a version of proxmox comes bundled as number of packages.
 
There are no more packages:
Code:
~# aptitude dist-upgrade
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.

~# aptitude full-upgrade
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.

I will compare no the packages with a second installation.
 
Did you run apt-get update before apt-get dist-upgrade? (note apt-get not aptitude)
Did you clear your browser cache after upgrade?
 
Yes, I did. And I did it again:
Code:
~# apt-get update
Hit http://download.proxmox.com wheezy Release.gpg
Hit http://archive.thomas-krenn.com precise Release.gpg
Hit http://ftp.de.debian.org wheezy Release.gpg
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://download.proxmox.com wheezy Release
Hit http://archive.thomas-krenn.com precise Release
Hit http://ftp.de.debian.org wheezy Release
Hit http://security.debian.org wheezy/updates Release
Hit http://download.proxmox.com wheezy/pve-no-subscription amd64 Packages
Hit http://archive.thomas-krenn.com precise/main amd64 Packages
Hit http://ftp.de.debian.org wheezy/main amd64 Packages
Hit http://security.debian.org wheezy/updates/main amd64 Packages
Hit http://archive.thomas-krenn.com precise/optional amd64 Packages
Hit http://security.debian.org wheezy/updates/contrib amd64 Packages
Hit http://ftp.de.debian.org wheezy/contrib amd64 Packages
Hit http://security.debian.org wheezy/updates/non-free amd64 Packages
Hit http://ftp.de.debian.org wheezy/non-free amd64 Packages
Hit http://security.debian.org wheezy/updates/contrib Translation-en
Hit http://ftp.de.debian.org wheezy/contrib Translation-en
Hit http://security.debian.org wheezy/updates/main Translation-en
Hit http://security.debian.org wheezy/updates/non-free Translation-en
Hit http://ftp.de.debian.org wheezy/main Translation-en
Hit http://ftp.de.debian.org wheezy/non-free Translation-en
Ign http://download.proxmox.com wheezy/pve-no-subscription Translation-en_US
Ign http://download.proxmox.com wheezy/pve-no-subscription Translation-en
Ign http://archive.thomas-krenn.com precise/main Translation-en_US
Ign http://archive.thomas-krenn.com precise/main Translation-en
Ign http://archive.thomas-krenn.com precise/optional Translation-en_US
Ign http://archive.thomas-krenn.com precise/optional Translation-en
Reading package lists... Done

~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

~# aptitude -f install
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.

I've compared my two instance (one with subscription, one without). The noVNC error occure on the instance without subscription (test environment).

The differences I see are ...
on the server without subscription:
Code:
ii  novnc-pve                        0.5-3                         amd64        HTML5 VNC client
...
ii  proxmox-ve-2.6.32                3.4-160                       all          The Proxmox Virtual Environment
on the server with subscription:
Code:
ii  novnc-pve                        0.4-7                         amd64        HTML5 VNC client
...
ii  proxmox-ve-2.6.32                3.4-159                       all          The Proxmox Virtual Environment

On the server with novnc version 0.4-7 noVNC is functionally.
 
I'm getting this error when accessing NoVNC on pve 4.0 gui.

"Unable to create RFB client -- ReferenceError: inflator is not defined"