0

我开始安装 opennebula stable(v5.10) 我已经将它安装在 Ubuntu Server 18.04 LTS 上。我的安装完成后,但服务 opennebula-sunstone 没有启动

Sunstone-server.conf:

# VNC Configuration
:vnc_proxy_base_port: 0
:novnc_path: /usr/share/opennebula/websockify/websocketproxy.py

# Default language setting
:lang: en_US

Occi-server.config:

:vnc_enable: yes

:vnc_proxy_port: 0
:vnc_proxy_path: /usr/share/opennebula/websockify/websocketproxy.py
:vnc_proxy_support_wss: yes
:vnc_proxy_cert:
:vnc_proxy_key:

# dpkg -l | grep novnc
novnc 1:0.4+dfsg+1+20131010+gitf68af8af3d-7     all    HTML5 VNC client - daemon and programs
python-novnc  1:0.4+dfsg+1+20131010+gitf68af8af3d-7   all    HTML5 VNC client - libraries

client - libraries

错误

Failed to start OpenNebula noVNC Server.

4

1 回答 1

0

我解决了通过 gems 重新安装 sunstone 和 ruby​​ 包的问题

sudo /usr/share/one/install_gems sunstone rubydevelopmentlibrary

systemctl start opennebula-novnc.service

Loaded: loaded (/lib/systemd/system/opennebula-novnc.service; disabled; vendor preset: enabled)
   Active: active (running) since Sun 2020-03-01 18:08:08 +0330; 1 day 17h ago
 Main PID: 959 (python)
    Tasks: 1
   Memory: 13.4M
      CPU: 15.896s
   CGroup: /system.slice/opennebula-novnc.service
           └─959 python /usr/share/one/websockify/run --target-config=/var/lib/one/sunstone_vnc_tokens 29876

于 2020-03-03T08:26:55.733 回答