VNC - concole problems

nicolasdiogo

Member
Mar 16, 2010
92
0
6
hello

apologies for the post as i have been trying to find this problem and i have found loads of other posts on the topic but i could not find an answer for this - so if it has been replied elsewhere, i am sorry.

i have my vms running but one of them fails to initiate VNC - and i can not workout why.

the VM is running:
Code:
# qm list
      VMID NAME                 STATUS     MEM(MB)    BOOTDISK(GB) PID       
      9500 tmpl-xp-x64          running    1024               0.00 24131     
     [B]99001[/B] tmpl-ubuntu-server-10.04-x64 running    256               12.00 5044      
     99101 tmpl-centos-6-x64    stopped    512               12.00 0


but when i click on the console link this message is logged into /var/log/syslog
Code:
Aug  5 10:17:48 kvmserver pvedaemon[24601]: CMD: /bin/nc -l -p 5901 -w 30 -c /usr/sbin/qm vncproxy 99001 Zp1L9PJ6m/KGCODFyixgbeSOlwE 2>/dev/null
Aug  5 10:18:09 kvmserver pvedaemon[24598]: VM 99001 vnc proxy failed - 256

the other 2 VMs are working fine.

i was able to install the OS using the VNC console but after that, it stopped.

any idea on what i should do to investigate this?


THANKS,

Nicolas
 
qm list shows that the VM is not running, therefore there is no VNC console - can you start the VM? if not, any error message?
 
yes, sorry. can you access the VM via SSH? did you install ssh inside?

and post the output of pveversion -v
 
thanks tom,

Code:
# pveversion -v 
pve-manager: 1.8-18 (pve-manager/1.8/6070)
running kernel: 2.6.35-1-pve
proxmox-ve-2.6.35: 1.8-11
pve-kernel-2.6.35-1-pve: 2.6.35-11
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-17
vncterm: 0.9-2
vzctl: 3.0.28-1pve1
vzdump: 1.2-14
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.14.1-1
ksm-control-daemon: 1.0-6

i haven't installed ssh yet but how do i know the IP assigned the VM?
 
do you have a cluster or just a single node?
 
so you install this on the node? can you stop the VM, migrate to the master and try if the VNC console works on the master?
 
sorry

my bad - there are 2 nodes but they will not work as 1 cluster - they will remain as two single nodes.
so yes this is a single node (standalone)