INS-20802 Oracle Services for Microsoft Transaction Server失败(主机名太长)

时间:2020-08-24 10:06:42

标签: oracle oracle19c

我正在尝试将适用于Microsoft Windows(32位)的Oracle Database 19c客户端(19.3)-NT_193000_client.zip安装到Windows Server 2016(64位)上,但收到以下错误消息 [INS-20802] ] Oracle Services for Microsoft Transaction Server失败

我在安装过程中选择的组件是:

  • Oracle Net
  • Oracle ODBC驱动程序
  • 用于OLE DB的Oracle提供程序
  • .NET的Oracle数据提供程序
  • 用于ASP.NET的Oracle提供程序

日志文件包含以下错误:

INFO: Started Plugin named: Oracle Services For Microsoft Transaction Server INFO: Found associated job INFO: Starting 'Oracle Services For Microsoft Transaction Server' INFO: Starting 'Oracle Services For Microsoft Transaction Server' INFO: MTSInternalPlugIn: ... adding INFO: Not changing the permissions of file C:\Oracle\product\19.0.0\client_1\cfgtoollogs\configTools_2020-08-24_10-27-27AM.log, because current platform is not unix. INFO: Executing MTS INFO: Command C:\Windows\system32\cmd.exe /c call C:\Oracle\product\19.0.0\client_1\bin\oramtsctl.exe -new -internal INFO: ... GenericInternalPlugIn.handleProcess() entered. INFO: ... GenericInternalPlugIn: getting configAssistantParmas. INFO: ... GenericInternalPlugIn: checking secretArguments. INFO: No arguments to pass to stdin INFO: ... GenericInternalPlugIn: starting read loop. INFO: Service is being created. INFO: Skipping line: Service is being created. INFO: End of argument passing to stdin INFO: Error: hostname servername.subdomain.domain.co.uk is too long. INFO: Skipping line: Error: hostname servername.subdomain.domain.co.uk is too long. INFO: Action: specify one IP address of the host when creating the service. INFO: Skipping line: Action: specify one IP address of the host when creating the service. INFO: OUI internal: error occurred on localhost INFO: Skipping line: OUI internal: error occurred on localhost INFO: Completed Plugin named: Oracle Services For Microsoft Transaction Server INFO: Setup completed with overall status as Failed

我无法缩短38个字符长的主机名(包括子域和域),因此有解决方法吗?

1 个答案:

答案 0 :(得分:0)

在安装Oracle 11g或12c客户端时不会发生此错误(主机名太长)(安装这些数据提供程序时MTS是否是可选的?)。

一种解决方法是在安装向导失败后通过使用IP地址作为主机来配置MTS:

C:\Oracle\product\19.0.0\client_1\bin>oramtsctl.exe -new -host 192.168.0.10 OracleOraClient19Home1_32bitMTSRecoveryService service is being created. OracleOraClient19Home1_32bitMTSRecoveryService service was created successfully. OracleOraClient19Home1_32bitMTSRecoveryService service is starting... OracleOraClient19Home1_32bitMTSRecoveryService service was started successfully.