OracleMTSRecoveryService is Unable to Startup after the Hostname is Changed on Windows (Doc ID 1451406.1)
Generic Windows
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%\oramts\trace:
[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
The server hostname was changed.
The value of the "Host" entry in Windows Registry HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\OracleMTSRecoveryService\Protid_0. 3 still points to the old hostname.
This leads to failure of creating httpsvr when starting up the OracleMTSRecoveryService.
1. Please open the Windows registry by running "regedit".
2. Please set the correct hostname for the "Host" entry in HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\OracleMTSRecoveryService\Protid_0. 3.
3. Startup the OracleMTSRecoveryService again.