Hello, it seems there is a websockify process which has been left running so the proxy cannot be relaunched where it should. Killing the websokify python process should fix it.

Hector

En Fri, 21 Sep 2012 22:23:36 +0200, Andrei Vakhnin <[email protected]> escribió:

Hello

I'm getting following error when trying to access VMs via Sunstone VNC.

Server disconnected (code: 1006)

Everything was working fine shortly after deployment but now user can't access some of his VMs via VNC. Here are sunstone logs:

/var/log/one/sunstone.error
  File "/usr/share/one/noVNC/utils/websockify", line 285, in <module>
    websockify_init()
File "/usr/share/one/noVNC/utils/websockify", line 282, in websockify_init
    server.start_server()
File "/usr/share/one/noVNC/utils/websocket.py", line 804, in start_server
    lsock = self.socket(self.listen_host, self.listen_port)
  File "/usr/share/one/noVNC/utils/websocket.py", line 190, in socket
    sock.bind(addrs[0][4])
  File "<string>", line 1, in bind
socket.error: [Errno 98] Address already in use

/var/log/one/sunstone.log
Fri Sep 21 16:22:06 2012 [I]: 198.119.135.209 - - [21/Sep/2012 16:22:06] "GET /user?timeout=true HTTP/1.1" 200 4996 0.0752 Fri Sep 21 16:22:07 2012 [I]: 198.119.135.209 - - [21/Sep/2012 16:22:07] "GET /acl?timeout=true HTTP/1.1" 200 717 0.0090 Fri Sep 21 16:22:09 2012 [I]: 198.119.135.209 - - [21/Sep/2012 16:22:09] "GET /vm?timeout=true HTTP/1.1" 200 30241 0.1017 Fri Sep 21 16:22:11 2012 [I]: 198.119.135.209 - - [21/Sep/2012 16:22:11] "GET /cluster?timeout=true HTTP/1.1" 200 201 0.0096 Fri Sep 21 16:22:16 2012 [I]: 198.119.135.209 - - [21/Sep/2012 16:22:16] "GET /image?timeout=true HTTP/1.1" 200 5409 0.0131 Fri Sep 21 16:22:18 2012 [I]: 198.119.135.209 - - [21/Sep/2012 16:22:18] "GET /cluster?timeout=true HTTP/1.1" 200 201 0.0087 Fri Sep 21 16:22:25 2012 [I]: 198.119.135.209 - - [21/Sep/2012 16:22:25] "GET /group?timeout=true HTTP/1.1" 200 1413 0.0100 Fri Sep 21 16:22:25 2012 [I]: 198.119.135.209 - - [21/Sep/2012 16:22:25] "GET /image?timeout=true HTTP/1.1" 200 5409 0.0129 Fri Sep 21 16:22:28 2012 [I]: 198.119.135.209 - - [21/Sep/2012 16:22:28] "GET /host?timeout=true HTTP/1.1" 200 2561 0.0104 Fri Sep 21 16:22:29 2012 [I]: 198.119.135.209 - - [21/Sep/2012 16:22:29] "GET /vnet?timeout=true HTTP/1.1" 200 3887 0.0123


Thanks

_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


--
Hector Sanjuan
OpenNebula Developer
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to