- 客户环境:内网,Windows Server 2012 R2
- 故障描述:安装Tableau server 2019.1/ 2019.2时,启动TSM阶段报错,日志文件显示
RROR com.tableausoftware.installer.InstallerMain – Generic exception raised during installation.
1、排查过程
经查,在安装过程中,会发现server在安装组件和升级时会出现故障;按照厂家的要求,我们检查了服务器的环境,并升级了VC2007和NetFramework4.5组件。
In some scenarios, the issue was with the instance not having certain windows updates. Our recommendation is to verify install of (virual C++2018) VC2017 and NETframework4.5, as well as latest windows 2012 update.
但是在安装时,Windows Server服务器的服务器查看器报错,显示有三个 KB2999226 x64.msu的升级安装时失败。从Windows update下载server 2012 KB2999226升级安装时提示不适用于此操作系统。
根据其他博客的总结,这个更新程序的确是,是安装VC组件失败的重要原因。
2、安装升级组件的过程
为了安装Tableau server,我们需要安装VC;而为了安装VC,我们需要安装KB2999266;但是KB2999266安装不上。下面结合自己的实践,说明如何解决:
KB2999266依赖于安装补丁 KB2919442,因此先安装这个,下载地址:基于 x64 的 Windows Server 2012 R2 的KB2919442补丁。
KB2919442 安装完成后,继续安装 Windows Server 2012 R2 Update (KB2919355) 所有补丁,如下地址 立即下载基于 x64 的 Windows Server 2012 R2 更新软件包。
全部下载,安装,必要时重启服务器。
所有更新包安装完成后,接下来我们继续安装 Microsoft Visual C++ 2015 Redistributable (x64) – 14.0.23026,下载链接
http://www.microsoft.com/en-us/download/details.aspx?id=48145
如图:
//这个过程中,有时候提示这个升级包不能安装,可以跳过去安装其他的,但是把KB2919355放在最后安装,然后是VC。
参考: