安装失败问题汇总:
安装失败现象一:
若datafocus.log日志文件有如下错误:
dial tcp 127.0.0.1:61218: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
解决办法:
需要用户在‘控制面板–系统和安全–Windows Defender 防火墙 –允许的应用’中将允许‘docker.exe’应用添加到‘允许应用’列表中(
公用,私用处打钩)
图1.允许应用列表
安装失败现象二:
若datafocus.log日志文件有如下错误:
Error with pre-create check: “This computer doesn’t have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory”
解决办法:
[]BIOS需要开起硬件虚拟化支持[/]
可参考:
[]不要用Oracle VM virtaulbox创建虚拟机,Oracle VM virtaulbox不支持嵌套虚拟机。本文用的是VMware Workstation,所以是在 虚拟机->设置 里设置处理器的虚拟化引擎首选模式为“Intel VT-x/EPT 或AMD-V/RVI”及“虚拟化Intel VT-x/EPT 或AMD-V/RVI(V)”[/]
可参考:
安装失败现象三:
若datafocus.log日志文件有如下错误:
[ Nov-11-18 11:27:28 ERROR ]: create docker machine fail, counter:1, ret:1
[ Nov-11-18 11:27:29 DEBUG ]: start copying file, D:\Program Files (x86)\Datafocus\fdeploy\dockertools\boot2docker.iso—>C:\Program Files\Docker Toolbox\boot2docker.iso
[ Nov-11-18 11:27:29 DEBUG ]: start to execute cmd:cd /D C:\Program Files\Docker Toolbox && docker-machine.exe create -d virtualbox –virtualbox-boot2docker-url “file://C:/Program Files/Docker Toolbox/boot2docker.iso” –virtualbox-disk-size 10240 –virtualbox-cpu-count 4 –virtualbox-memory 4096 –virtualbox-share-folder “D:\Program Files (x86)\Datafocus:c/Datafocus” datafocus
[ Nov-11-18 11:27:29 DEBUG ]: start subprocess without daemon mode.
[ Nov-11-18 11:27:29 DEBUG ]: start subprocess that wait for the output.
[ Nov-11-18 11:27:29 ERROR ]: excute failed, cmd:cd /D C:\Program Files\Docker Toolbox && docker-machine.exe create -d virtualbox –virtualbox-boot2docker-url “file://C:/Program Files/Docker Toolbox/boot2docker.iso” –virtualbox-disk-size 10240 –virtualbox-cpu-count 4 –virtualbox-memory 4096 –virtualbox-share-folder “D:\Program Files (x86)\Datafocus:c/Datafocus” datafocus
[ Nov-11-18 11:27:29 ERROR ]: ****************
[b] cmd output [/b]********************
[ Nov-11-18 11:27:29 ERROR ]: Docker machine “datafocus” already exists
…
………..
[ Nov-11-18 11:27:31 ERROR ]: create docker machine fail, counter:3, ret:1
[ Nov-11-18 11:27:32 DEBUG ]: start to check docker machine whether created.
[ Nov-11-18 11:27:32 DEBUG ]: start to execute cmd:cd /D C:\Program Files\Docker Toolbox && docker-machine.exe inspect datafocus
[ Nov-11-18 11:27:32 DEBUG ]: start subprocess without daemon mode.
[ Nov-11-18 11:27:32 DEBUG ]: start subprocess that wait for the output.
[ Nov-11-18 11:27:32 DEBUG ]: excute success, cmd:cd /D C:\Program Files\Docker Toolbox && docker-machine.exe inspect datafocus
解决办法:
用户需先手动将‘oracle-VM VirtualBox’,‘Docker Toolbos‘卸载后,重新安装‘Datafocus.exe’即可
图2.卸载‘oracle-VM VirtualBox’,‘Docker Toolbos‘
安装失败现象四:
若安装过程中被安全管家类软件(如‘360安全卫士’,‘腾讯安全管家’)拦截
解决办法:
需要用户先暂时关闭相关拦截软件,重新安装即可
安装失败现象五:
安装过程提示开启了Hyper-v服务
问题: 安装过程提示开启了Hyper-v服务,导致Datafocus安装失败
问题环境:windows环境
解决方案:关闭Hyper-v服务
步骤:
1、控制面板->程序->程序和功能->启用或关闭Windows功能
2、找到如图Hyper-v服务,
去勾选,然后点击确定,关闭hyper-v服务。
3、重启操作系统