在Windows上主机名修改后OracleMTSRecoveryService无法启动

2024-07-04 12:55:24 浏览数 (2)

OracleMTSRecoveryService is Unable to Startup after the Hostname is Changed on Windows (Doc ID 1451406.1)

APPLIES TO:Oracle Database - Enterprise Edition - Version 10.1.0.2 and later

Generic Windows

SYMPTOMS

When attempting to start the OracleMTSRecoveryService on Windows, below error occurred:

Windows could not start the OracleMTSRecoveryService service on SALES1

Error 1: Incorrect function

Below error was found in the %ORACLE_HOME%oramtstrace:

[04/19/2012-16:34:42:925][00000e5c] OracleMTSRecoveryService starting [04/19/2012-16:34:42:925][00000d08] workerThread() - entering [04/19/2012-16:34:45:546][00000d08] createHTTPSvrs() - failed to get addrinfo (The requested name is valid, but no data of the requested type was found. ) [04/19/2012-16:34:45:546][00000d08] workerThread() - failed to create httpsvr [04/19/2012-16:34:45:546][00000d08] workerThread() - exiting [04/19/2012-16:34:45:546][00000e5c] service_main() - worker thread exited

CHANGES

The server hostname was changed.

CAUSE

The value of the "Host" entry in Windows Registry HKEY_LOCAL_MACHINESOFTWAREOracleOracleMTSRecoveryServiceProtid_0. 3 still points to the old hostname.

This leads to failure of creating httpsvr when starting up the OracleMTSRecoveryService.

SOLUTION

1. Please open the Windows registry by running "regedit".

2. Please set the correct hostname for the "Host" entry in HKEY_LOCAL_MACHINESOFTWAREOracleOracleMTSRecoveryServiceProtid_0. 3.

3. Startup the OracleMTSRecoveryService again.

0 人点赞