Hi All,
prlctl set myvm --vnc-mode manual --vnc-port 5901 --vnc-passwd pass
Result prlctl start myvm:
prl_disp_service: 04-08 12:19:03.073 F /disp:1326:1534/ libvirt error internal error: qemu unexpectedly closed the monitor: 2018-04-08Z qemu-kvm: -vnc [::1]:5,websocket=5700,password: Failed to start VNC server: Failed to bind socket: Cannot assign requested address
[root@host downloads]# prlctl list --info test
Remote display: mode=manual port=5905 address=0.0.0.0
2018-04-08 09:18:55.492+0000: 8036: info : libvirt version: 3.6.0, package: 1.vz7.37 (Virtuozzo (http://www.virtuozzo.com/support/), 2018-04-04-15:28:36, builder9.eng.sw.ru)
2018-04-08 09:18:55.492+0000: 8036: info : hostname: host
2018-04-08 09:18:55.492+0000: 8036: debug : doRemoteOpen:921 : proceeding with name = qemu:///system
2018-04-08 09:18:55.492+0000: 8036: debug : doRemoteOpen:930 : Connecting with transport 1
2018-04-08 09:18:55.492+0000: 8036: debug : doRemoteOpen:1065 : Proceeding with sockname /var/run/libvirt/libvirt-sock
2018-04-08 09:18:55.492+0000: 8036: error : virNetClientRegisterAsyncIO:670 : internal error: Unable to register async IO callback
2018-04-08 09:18:55.492+0000: 8036: debug : doRemoteOpen:1144 : Failed to add event watch, disabling events and support for keepalive messages
2018-04-08 09:18:55.492+0000: 8036: debug : doRemoteOpen:1192 : Trying authentication
2018-04-08 09:18:55.492+0000: 8036: debug : doRemoteOpen:1209 : Trying to open URI qemu:///system
2018-04-08 09:19:03.073+0000: 1534: error : virNetClientProgramDispatchError:177 : internal error: qemu unexpectedly closed the monitor: 2018-04-08T09:19:02.642562Z qemu-kvm: -vnc [::1]:5,websocket=5700,password: Failed to start VNC server: Failed to bind socket: Cannot assign requested address
2018-04-08 09:19:57.797+0000: 1534: error : virNetClientProgramDispatchError:177 : internal error: qemu unexpectedly closed the monitor: 2018-04-08T09:19:57.366449Z qemu-kvm: -vnc [::1]:5,websocket=5700,password: Failed to start VNC server: Failed to bind socket: Cannot assign requested address
Problem has been solved.
Do not disable IPv6 in sysctl!
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
To:
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
Tom
[Updated on: Sun, 08 April 2018 14:51]
Report message to a moderator