[Proxmox : Console] Can't access to to console from proxmox

PanaceaMan

New Member
Jan 15, 2013
17
0
1
Hello all !

This morning, i wanted access to a console of a VM but this error appears :

no connection : Connection timed out
TASK ERROR: command '/bin/nc -l -p 5900 -w 10 -c '/usr/sbin/qm vncproxy 106 2>/dev/null'' failed: exit code 1

So i tried another one and it was the same problem...
What it may come ? How can i resolve this problem without reboot proxmox ?

Many thanks in advance for your help !

PS : my pve version :

root@proxmox1:~# pveversion -v
pve-manager: 2.3-13 (pve-manager/2.3/7946f1f1)
running kernel: 2.6.32-18-pve
proxmox-ve-2.6.32: 2.3-88
pve-kernel-2.6.32-16-pve: 2.6.32-82
pve-kernel-2.6.32-18-pve: 2.6.32-88
pve-kernel-2.6.32-17-pve: 2.6.32-83
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-4
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-36
qemu-server: 2.3-18
pve-firmware: 1.0-21
libpve-common-perl: 1.0-48
libpve-access-control: 1.0-26
libpve-storage-perl: 2.3-6
vncterm: 1.0-3
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.4-8
ksm-control-daemon: 1.1-1
 
Try with different web browser.

failed: exit code 1

Hello snowman66 !
Thanks for your quick reply !

I've tried with the latest Firefox, Google Chrome and Internet explorer but with no success.
I don't think the problem come from the web browser because the error is : command '/bin/nc -l -p 5900 -w 10 -c '/usr/sbin/qm vncproxy 106 2>/dev/null'' failed: exit code 1
It's looks like a internal error of proxmox.
 
Any hint in /var/log/syslog? The VM is running?

Hi dietmar ! Thanks for your reply !

All VM that i've tried to view console are running.

In syslog, i've got no information that could help me :

May 14 08:44:32 proxmox1 pvedaemon[541263]: <root@pam> successful auth for user 'admin@pve'
May 14 08:44:42 proxmox1 pvedaemon[544020]: command '/bin/nc -l -p 5900 -w 10 -c '/usr/sbin/qm vncproxy 106 2>/dev/null'' failed: exit code 1
May 14 08:44:42 proxmox1 pvedaemon[541620]: <admin@pve> end task UPID:proxmox1:00084D14:0B57EA00:5191DD50:vncproxy:106:admin@pve: command '/bin/nc -l -p 5900 -w 10 -c '/usr/sbin/qm vncproxy 106 2>/dev/null'' failed: exit code 1

and nothing interesting after
 
Last edited:
Does it help if you shutdown, then restart this VM?

Good idea but i think really there is a problem with the Console program of Proxmox.
Because all my VM can't be reachable with the Console program of promox.
I've tried your suggestion but i wasn't lucky :/
Is there a command line that it could restart this module ? (i don't really think there is a module named "console" and can be restarted separately)
I will try to restart apache and see what's happened.

EDIT : Nothing has changed with the restart of apache. Maybe java of my computer has a problem : i will remove it and reinstall it.

SUCCESS ! : It was Java ! Removing and reinstalling java has resolved this problem !
Thanks everyone for your help ! This error has really got me stuck !
 
Last edited:
Hi all,

did anyone find a solution for that problem?
i have the same problem since 3 days and i can't find a solution for it i tried more than 4 browser with same result.. and i have tried to access the servers from another Computer with the same account and i didn't face any problem.
so, the problem from the same machine.

Thank You!
 

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!