[pve-devel] new https server

Alexandre DERUMIER aderumier at odiso.com
Thu Apr 18 15:46:10 CEST 2013


pveproxy seem to fail to start with init script

# /etc/init.d/pveproxy start
Starting PVE API Proxy Server: pveproxyGlobal symbol "@cmd" requires explicit package name at ../PVE/QemuServer.pm line 2038.
Compilation failed in require at /usr/share/perl5/PVE/VZDump/QemuServer.pm line 14.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/VZDump/QemuServer.pm line 14.
Compilation failed in require at /usr/share/perl5/PVE/VZDump.pm line 32.
Attempt to reload PVE/QemuServer.pm aborted.
Compilation failed in require at /usr/share/perl5/PVE/API2/Nodes.pm line 22.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2/Nodes.pm line 22.
Compilation failed in require at /usr/share/perl5/PVE/API2.pm line 13.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2.pm line 13.
Compilation failed in require at /usr/share/perl5/PVE/REST.pm line 9.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/REST.pm line 9.
Compilation failed in require at /usr/share/perl5/PVE/HTTPServer.pm line 23.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/HTTPServer.pm line 23.
Compilation failed in require at /usr/share/perl5/PVE/APIDaemon.pm line 10.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/APIDaemon.pm line 10.
Compilation failed in require at /usr/bin/pveproxy line 15.
BEGIN failed--compilation aborted at /usr/bin/pveproxy line 15.
 (warning).


it's working fine when launching it with command line

#/usr/bin/pveproxy

# netstat -anp|grep proxy
tcp        0      0 0.0.0.0:8006            0.0.0.0:*               LISTEN      488808/pveproxy 
unix  2      [ ACC ]     STREAM     LISTENING     13020    3586/master         private/proxymap
unix  2      [ ACC ]     STREAM     LISTENING     13024    3586/master         private/proxywrite
unix  3      [ ]         STREAM     CONNECTED     1903918  488810/pveproxy wor 
unix  2      [ ]         DGRAM                    1903802  488808/pveproxy    


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

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Jeudi 18 Avril 2013 09:00:03 
Objet: RE: [pve-devel] new https server 

> We need to use websockets (for spice-html5), using websocky (python or C 
> implementation) 
> 
> https://github.com/kanaka/websockify 

We can easily implement websockets with the new HTTPServer, so I guess there is no need 
for an external server. 

> I have redone tests with spice-html5 last week, it's works better than last yeay, 
> but they are some display bugs, and it's slower than spice-gtk. 

I still prefer spice and VNC. 


More information about the pve-devel mailing list