- /var/log/one/sunstone.error is empty
- websockify is not running
- I ran /usr/share/one/install_novnc.sh already at the end of installation, config files in /etc/one were modified and I restarted one, occi-server and sunstone-server after that
- no, I cannot connect to running VM via another VNC viewer
- I installed OpenNebula 3.6 from scratch (virgin installation, no upgrade)
- yes, line "starting VNC proxy" appears in sunstone.log (see below)

--------------------------------------
         Server configuration
--------------------------------------
{:marketplace_url=>"http://marketplace.c12g.com/",
 :vnc_proxy_cert=>nil,
 :core_auth=>"cipher",
 :auth=>"sunstone",
 :vnc_proxy_support_wss=>false,
 :vnc_proxy_base_port=>29876,
 :debug_level=>3,
 :tmpdir=>"/var/tmp/one",
 :vnc_proxy_key=>nil,
 :host=>"0.0.0.0",
 :port=>9869,
 :_one_xmlrpc_=>"http://localhost:2633/RPC2",
 :lang=>"en_US",
 :vnc_proxy_path=>"/usr/share/one/noVNC/utils/websockify"}
.
.
.
Wed Jul 04 17:47:57 2012 [I]: Starting vnc proxy: /usr/share/one/noVNC/utils/websockify  35777 myto:5901
Wed Jul 04 17:47:57 2012 [I]: 10.0.3.51 - - [04/Jul/2012 17:47:57] "POST /vm/1/startvnc HTTP/1.1" 200 30 0.0518
Wed Jul 04 17:48:04 2012 [I]: 10.0.3.51 - - [04/Jul/2012 17:48:04] "GET /vnet?timeout=true HTTP/1.1" 200 790 0.0139

Next line in log is after closing window with error message:
Wed Jul 04 17:48:06 2012 [I]: 10.0.3.51 - - [04/Jul/2012 17:48:06] "POST /vm/1/stopvnc HTTP/1.1" 200 - 0.0028
Wed Jul 04 17:48:06 2012 [I]: 10.0.3.51 - - [04/Jul/2012 17:48:06] "GET /vmtemplate?timeout=true HTTP/1.1" 200 948 0.0159
Wed Jul 04 17:48:07 2012 [I]: 10.0.3.51 - - [04/Jul/2012 17:48:07] "GET /image?timeout=true HTTP/1.1" 200 901 0.0142
Wed Jul 04 17:48:30 2012 [I]: 10.0.3.51 - - [04/Jul/2012 17:48:30] "GET /acl?timeout=true HTTP/1.1" 200 377 0.1223
Wed Jul 04 17:48:34 2012 [I]: 10.0.3.51 - - [04/Jul/2012 17:48:34] "GET /datastore?timeout=true HTTP/1.1" 200 2312 0.0284
Wed Jul 04 17:48:34 2012 [I]: 10.0.3.51 - - [04/Jul/2012 17:48:34] "GET /group?timeout=true HTTP/1.1" 200 605 0.0105
Wed Jul 04 17:48:35 2012 [I]: 10.0.3.51 - - [04/Jul/2012 17:48:35] "GET /cluster?timeout=true HTTP/1.1" 200 27 0.0072
Wed Jul 04 17:48:39 2012 [I]: 10.0.3.51 - - [04/Jul/2012 17:48:39] "GET /vm?timeout=true HTTP/1.1" 200 2254 0.0278



Jan

-
Dňa 04.07.2012 15:11, Hector Sanjuan wrote / napísal(a):
Hi, let see,

Check sunstone.error too.

Check that no websockify from a previous session is running (ps aux | grep websockify).

Check that you have run ./install_novnc.sh after your upgrade.

Check that you can still connect to the machine VNC with a different vnc client directly.

Is the "starting vnc proxy" line showing up in sunstone.log?

From which version were you upgrading? You can attach sunstone.log so I can check if I see something that you missed.

Hector

En Wed, 04 Jul 2012 14:56:14 +0200, Jan Benadik <jan.bena...@atos.net> escribió:

Hi all,

I've installed the newest version of OpenNebula (3.6 beta) on Ubuntu Server 12.04
(management node and host too). When I try to click on VNC icon of running VM in
Sunstone UI, open window with this error message appears:

Failed to connect to server (code: 1006)

The same behaviour in the newest Chromium and Firefox 13 browser ...

Nothing in /var/log/syslog (host nor management node), /var/log/one/oned.log, /var/log/one/sunstone.log
(management node).

Where can be an issue?

Jan




--

Ján Beňadik
Managed Services - Solution Design Architect
+421 46 5151 332
+421 903 691 634
jan.bena...@atos.net
Vinohradnícka 6, 971 01 Prievidza
www.sk.atos.net
__________________________________




_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to