【问题标题】:INS-20802 Oracle Services for Microsoft Transaction Server failed (hostname too long)INS-20802 Oracle Services for Microsoft Transaction Server 失败(主机名太长)
【发布时间】:2020-12-12 23:14:04
【问题描述】:

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

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

  • 甲骨文网
  • 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 个字符长的主机名(包括子域和域),请问有解决方法吗?

【问题讨论】:

  • 您是否尝试按照消息提示指定主机的 IP 地址,或者如果可能,指定主机名而不指定域?
  • @gile 我相信您可以通过仅使用设备名或使用 ip 指定主机名来配置安装,但这必须在安装失败后完成。我尝试使用响应文件进行安装,并通过向导进行安装,这两种方法似乎都不允许您为 oramtsctl.exe 指定其他安装命令。使用 11g 或 12c 客户端安装时从未出现此问题。

标签: oracle oracle19c


【解决方案1】:

在安装 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.

【讨论】:

    猜你喜欢
    • 2022-11-27
    • 2017-07-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-03-18
    • 2021-11-14
    相关资源
    最近更新 更多