[pve-devel] Error: unable to connect to socket

Alexandre DERUMIER aderumier at odiso.com
Tue Dec 6 10:53:30 CET 2011


it's working fine for me, but maybe can I help you.

are you sure your dns configuration is ok ? ("failed: Unknown host" seems to be a dns resolv error)

can you resolve your hostname ?

----- Mail original ----- 

De: "Oleg Kostyuk" <cub.uanic at gmail.com> 
À: pve-devel at pve.proxmox.com 
Envoyé: Mardi 6 Décembre 2011 10:31:51 
Objet: [pve-devel] Error: unable to connect to socket 


I'm using Proxmox VE 2.0. It installed well, and I was able to create 
new VM and run it. But when I'm trying to look at VM console, I see 
error. As I found, it's because of some error with vncproxy. I tried 
to run manually same command as I found in log, and got: 

# /bin/nc -l -p 5903 -w 10 -c /usr/sbin/qm vncproxy 100 
vncproxy: forward host lookup failed: Unknown host 

I did small debug, and seems that's because of problem in /usr/sbin/qm: 

unable to connect to socket '/var/run/qemu-server/100.vnc' - 
Connection refused at /usr/sbin/qm line 53. 
at /usr/share/perl5/PVE/RESTHandler.pm line 488 
PVE::RESTHandler::cli_handler('main', 'qm vncproxy', 
'vncproxy', 'ARRAY(0x2287080)', 'ARRAY(0x40d44a8)', undef, undef) 
called at /usr/share/perl5/PVE/CLIHandler.pm line 189 
PVE::CLIHandler::handle_cmd('HASH(0x40d5778)', 'qm', 
'vncproxy', 'ARRAY(0x2287080)', undef, '/usr/sbin/qm') called at 
/usr/sbin/qm line 452 

How this can be solved? 
Thanks in advance! 

Sincerely yours, 
Oleg Kostyuk (CUB-UANIC) 
pve-devel mailing list 
pve-devel at pve.proxmox.com 



	Alexandre Derumier 
Ingénieur système 
e-mail : aderumier at odiso.com 
Tél : +33 (0)3 20 68 88 90 
Fax : +33 (0)3 20 68 90 81 
45 Bvd du Général Leclerc 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: aderumier.vcf
Type: text/x-vcard
Size: 183 bytes
Desc: not available
URL: <http://pve.proxmox.com/cgi-bin/mailman/private/pve-devel/attachments/20111206/692bb18a/attachment.vcf>

More information about the pve-devel mailing list