排除故障 VNC 模块安装失败 目录 简介先决条件要求使用的组件背景信息问题安装失败起始失败解决方案 简介 当您配置工作人员镜像时, 本文描述如何排除故障虚拟网络计算 (VNC) 模块安装失败 先决条件 要求 Cisco 建议您了解以下主题 : Linux 接口 虚拟机环境 工作人员镜像 使用的组件 本文档中的信息基于以下软件版本 : CloudCenter 版本 4.x CentOS7 工作人员镜像本文档中的信息都是基于特定实验室环境中的设备编写的 本文档中使用的所有设备最初均采用原始 ( 默认 ) 配置 如果您使用的是真实网络, 请确保您已经了解所有命令的潜在影响 背景信息 在您下载 worker_installer.bin 文件后, 并且, 当您配置与被提及的使用的 Centos 7 工作人员镜像命令此处时, 经常跳过 VNC 的交互模块, 既使当进程顺利地被完成 #./worker_installer.bin centos7 <cloudtype> worker 此条款帮助您处理这样情况
问题 安装失败 在 cliqr_modules.log, 您能看到从属关系失败 (glib-2.4) <noscript> <table= "" class= " msgtext " > 看来您不安排 Javascript 启用, 与您的 adminitrator 联系 应用程序可以成功部署与使用此工作人员镜像, 但是用户不能通过从 Cisco Call Manager (CCM) 用户界面 (UI) 的 VNC 访问部署的实例 起始失败 在 /var/log/messages 文件中一个人是否能检查 VNC 适当地开始的或不 Sep 20 15:42:58 cliqr-centos6-base-image OSMOSIX: starting vnc server, result: 127 当 VNC 适当地时安装, 一个应该看到 0 作为结果代码 Nov 25 12:18:18 cqjw-58d79d88f OSMOSIX: starting vnc server, result: 0 解决方案 VNC 安装有在地精库的从属关系 至于应急方案, 完成此步骤作为管理员 # export gui_enabled=true 这解决 VNC 安装错误 epel 版本信息库是安装一个交互模块的前提条件 执行此命令安装回购 yum -y install epel-release 一旦成功地完成被提及的步骤, 请重复工作人员镜像配置./worker_installer.bin centos7 <cloudtype> worker 因为其他模块安装, 只有 VNC 和交互模块被安装 一旦 VNC 安装应该在文件 /etc/cliqr_modules.conf [cliqruser@cqjw-58d79d88f etc]$ cat cliqr_modules.conf sysupdate worker ntp docker vnc interactive [cliqruser@cqjw-58d79d88f etc]$ 为了使工作的 vnc, X Windows 需要也是安装
[root@cqjw-58d79d88f ~]# cat /var/log/messages grep vnc Nov 24 18:52:35 cliqr-centos6-base-image yum[4660]: Installed: tigervnc-server-module-1.1.0- Nov 24 18:53:28 cliqr-centos6-base-image yum[12686]: Installed: tigervnc-server-1.1.0- Nov 24 18:53:37 cliqr-centos6-base-image yum[12701]: Installed: libvncserver-0.9.7-7.el6_6.1.x86_64 Nov 24 18:53:39 cliqr-centos6-base-image yum[12703]: Installed: x11vnc-0.9.13-8.el6.x86_64 Nov 25 12:18:18 cqjw-58d79d88f OSMOSIX: starting vnc server, result: 0 [root@cqjw-58d79d88f ~]# 一旦工作人员镜像为 vnc 一适当地配置能, 例如一旦 cloudtype vmware, 创建作为工作人员将使用的 VM 的模板与 vnc 适当地安装的和工作 另请参阅 [root@cqjw-58d79d88f ~]# cat cliqr_modules.log grep vnc c3agent/osmosix/bin/startvncserver c3agent/osmosix/vnc/ c3agent/osmosix/vnc/utils/ c3agent/osmosix/vnc/include/ c3agent/osmosix/vnc/include/web-socket-js/ c3agent/osmosix/vnc/include/chrome-app/ c3agent/osmosix/vnc/images/ c3agent/osmosix/vnc/images/bkp/ c3agent/osmosix/vnc/vnc.html c3agent/osmosix/vnc/utils/websockify c3agent/osmosix/vnc/utils/rebind.c c3agent/osmosix/vnc/utils/makefile c3agent/osmosix/vnc/utils/json2graph.py c3agent/osmosix/vnc/utils/nova-novncproxy c3agent/osmosix/vnc/utils/websocket.pyc c3agent/osmosix/vnc/utils/web.py c3agent/osmosix/vnc/utils/u2x11 c3agent/osmosix/vnc/utils/launch.sh c3agent/osmosix/vnc/utils/img2js.py c3agent/osmosix/vnc/utils/readme.md c3agent/osmosix/vnc/utils/wsproxy.py c3agent/osmosix/vnc/utils/websocket.py c3agent/osmosix/vnc/utils/rebind c3agent/osmosix/vnc/utils/websockify.py c3agent/osmosix/vnc/utils/parse.js c3agent/osmosix/vnc/include/keysymdef.js c3agent/osmosix/vnc/include/des.js c3agent/osmosix/vnc/include/util.js c3agent/osmosix/vnc/include/web-socket-js/swfobject.js c3agent/osmosix/vnc/include/web-socket-js/web_socket.js c3agent/osmosix/vnc/include/web-socket-js/readme.txt c3agent/osmosix/vnc/include/web-socket-js/websocketmain.swf c3agent/osmosix/vnc/include/logo.js c3agent/osmosix/vnc/include/rfb.js c3agent/osmosix/vnc/include/black.css c3agent/osmosix/vnc/include/webutil.js c3agent/osmosix/vnc/include/base64.js c3agent/osmosix/vnc/include/display.js c3agent/osmosix/vnc/include/ui.js c3agent/osmosix/vnc/include/keyboard.js c3agent/osmosix/vnc/include/playback.js c3agent/osmosix/vnc/include/input.js c3agent/osmosix/vnc/include/orbitron700.woff c3agent/osmosix/vnc/include/jsunzip.js c3agent/osmosix/vnc/include/keysym.js c3agent/osmosix/vnc/include/blue.css c3agent/osmosix/vnc/include/websock.js
c3agent/osmosix/vnc/include/chrome-app/tcp-client.js c3agent/osmosix/vnc/include/orbitron700.ttf c3agent/osmosix/vnc/include/base.css c3agent/osmosix/vnc/images/cliqrlogo.jpeg c3agent/osmosix/vnc/images/bkp/disconnect.png c3agent/osmosix/vnc/images/bkp/mouse_right.png c3agent/osmosix/vnc/images/bkp/connect.png c3agent/osmosix/vnc/images/bkp/keyboard.png c3agent/osmosix/vnc/images/bkp/mouse_middle.png c3agent/osmosix/vnc/images/bkp/drag.png c3agent/osmosix/vnc/images/bkp/screen_57x57.png c3agent/osmosix/vnc/images/bkp/screen_320x460.png c3agent/osmosix/vnc/images/bkp/screen_700x700.png c3agent/osmosix/vnc/images/bkp/mouse_none.png c3agent/osmosix/vnc/images/bkp/mouse_left.png c3agent/osmosix/vnc/images/bkp/favicon.png c3agent/osmosix/vnc/images/bkp/ctrlaltdel.png c3agent/osmosix/vnc/images/bkp/clipboard.png c3agent/osmosix/vnc/images/bkp/settings.png c3agent/osmosix/vnc/images/bkp/favicon.ico c3agent/osmosix/etc/vnc/ c3agent/osmosix/etc/vnc/passwd Running Module vnc ---> Package tigervnc-server-module.x86_64 0:1.1.0-24.el6 will be installed --> Processing Dependency: xorg-x11-server-xorg for package: tigervnc-server-module-1.1.0- tigervnc-server-module x86_64 1.1.0-24.el6 base 214 k Installing : tigervnc-server-module-1.1.0-38/45 Verifying : tigervnc-server-module-1.1.0-39/45 tigervnc-server-module.x86_64 0:1.1.0-24.el6 make[1]: Entering directory `/tmp/selfgz444713812/vnc/openbox-3.4.7.2/m4' make[1]: Leaving directory `/tmp/selfgz444713812/vnc/openbox-3.4.7.2/m4' make[1]: Entering directory `/tmp/selfgz444713812/vnc/openbox-3.4.7.2/po' make[1]: Leaving directory `/tmp/selfgz444713812/vnc/openbox-3.4.7.2/po' make[1]: Entering directory `/tmp/selfgz444713812/vnc/openbox-3.4.7.2' make[1]: Leaving directory `/tmp/selfgz444713812/vnc/openbox-3.4.7.2' make[1]: Entering directory `/tmp/selfgz444713812/vnc/openbox-3.4.7.2/m4' make[2]: Entering directory `/tmp/selfgz444713812/vnc/openbox-3.4.7.2/m4' make[2]: Leaving directory `/tmp/selfgz444713812/vnc/openbox-3.4.7.2/m4' make[1]: Leaving directory `/tmp/selfgz444713812/vnc/openbox-3.4.7.2/m4' make[1]: Entering directory `/tmp/selfgz444713812/vnc/openbox-3.4.7.2/po' make[1]: Leaving directory `/tmp/selfgz444713812/vnc/openbox-3.4.7.2/po' make[1]: Entering directory `/tmp/selfgz444713812/vnc/openbox-3.4.7.2' make[2]: Entering directory `/tmp/selfgz444713812/vnc/openbox-3.4.7.2' make[2]: Leaving directory `/tmp/selfgz444713812/vnc/openbox-3.4.7.2' make[1]: Leaving directory `/tmp/selfgz444713812/vnc/openbox-3.4.7.2' ---> Package tigervnc-server.x86_64 0:1.1.0-24.el6 will be installed --> Processing Dependency: xorg-x11-fonts-misc for package: tigervnc-server-1.1.0- tigervnc-server x86_64 1.1.0-24.el6 base 1.0 M Installing : tigervnc-server-1.1.0-2/2 Verifying : tigervnc-server-1.1.0-2/2 tigervnc-server.x86_64 0:1.1.0-24.el6 ---> Package libvncserver.x86_64 0:0.9.7-7.el6_6.1 will be installed libvncserver x86_64 0.9.7-7.el6_6.1 base 159 k Installing : libvncserver-0.9.7-7.el6_6.1.x86_64 1/1 Verifying : libvncserver-0.9.7-7.el6_6.1.x86_64 1/1 libvncserver.x86_64 0:0.9.7-7.el6_6.1 ---> Package x11vnc.x86_64 0:0.9.13-8.el6 will be installed x11vnc x86_64 0.9.13-8.el6 epel 947 k Installing : x11vnc-0.9.13-8.el6.x86_64 1/1 Verifying : x11vnc-0.9.13-8.el6.x86_64 1/1 x11vnc.x86_64 0:0.9.13-8.el6 [root@cqjw-58d79d88f ~]#
如镜像所显示, 部署以上的工作人员使成为可能使用 vnc 连接到工作人员 已安装 Vnc