Console: failed: exit code 1

jmjosebest

Renowned Member
Jan 16, 2009
192
38
93
Hi,

I get this error when I try to connect to a VM console

Code:
[COLOR=#000000][FONT=tahoma]no connection : Connection timed out[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]TASK ERROR: command '/bin/nc -l -p 5900 -w 10 -c '/usr/sbin/qm vncproxy 100 2>/dev/null'' failed: exit code 1[/FONT][/COLOR]

Code:
root@pveabs1:~# pveversion -v
pve-manager: 2.1-12 (pve-manager/2.1/be112d89)
running kernel: 2.6.32-13-pve
proxmox-ve-2.6.32: 2.1-72
pve-kernel-2.6.32-11-pve: 2.6.32-66
pve-kernel-2.6.32-13-pve: 2.6.32-72
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.3-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.92-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.8-1
pve-cluster: 1.0-27
qemu-server: 2.0-45
pve-firmware: 1.0-17
libpve-common-perl: 1.0-28
libpve-access-control: 1.0-24
libpve-storage-perl: 2.0-27
vncterm: 1.0-2
vzctl: 3.0.30-2pve5
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.1-6
ksm-control-daemon: 1.1-1

Code:
root@pveabs1:~# uname -a
Linux pveabs1.xxx.xxx 2.6.32-13-pve #1 SMP Mon Jul 9 08:39:20 CEST 2012 x86_64 GNU/Linux

I have changed the default hostname provided by my ISP. Maybe this is the problem?

I have regenerated the SSL,
pvecm updatecerts --force

but problem is still:

Any idea about how to solve?

Thanks.
 
Last edited:
Thanks Dietmar for your reply.

I use by default chrome in Win7.
But also tested with Firefox and IE.

I read about a local problem with Java version, but, I have other Proxmox servers and I can connect without problem. Anyway, also I have tested to reinstall Java and the issue is still.

In the console screen I see:
Status: Connecting to pveabs1.xxx.xxx, port 5900
network error: could not connect to server: pveabs1.xxx.xxx:5900


In the syslog I get:



Code:
Jul 30 17:54:09 proxmox pvedaemon[2185]: starting vnc proxy UPID:proxmox:00000889:0000F6E6:5016AE21:vncproxy:100:root@pam:
Jul 30 17:54:09 proxmox pvedaemon[1534]: <root@pam> starting task UPID:proxmox:00000889:0000F6E6:5016AE21:vncproxy:100:root@pam:
Jul 30 17:54:10 proxmox pvedaemon[1532]: <root@pam> successful auth for user 'root@pam'
Jul 30 17:54:19 proxmox pvedaemon[2185]: command '/bin/nc -l -p 5900 -w 10 -c '/usr/sbin/qm vncproxy 100 2>/dev/null'' failed: exit code 1
Jul 30 17:54:19 proxmox pvedaemon[1534]: <root@pam> end task UPID:proxmox:00000889:0000F6E6:5016AE21:vncproxy:100:root@pam: command '/bin/nc -l -p 5900 -w 10 -c '/usr/sbin/qm vncproxy 100 2>/dev/null'' failed: exit code 1
 
Last edited:
I try

telnet hostname 5900

and I get:

telnet: connect to address x.x.x.x: Connection timed out

Iptables are empty on the server. Trying to disable my firewall... and same issue. :(
 
Last edited:

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!