My Oracle Support Banner

インスタンス起動時の lsinventoryが java.net.UnknownHostExceptionで失敗する (Doc ID 1726305.1)

Last updated on AUGUST 04, 2018

適用範囲:

Oracle Database - Enterprise Edition - バージョン 12.1.0.1 から 12.1.0.2 [リリース 12.1]
Microsoft Windows x64 (64-bit)

現象

Windows版の Oracle Database 12cで、インスタンス起動時に以下の OPatch
lsinventory実行のエラーが発生します。

Could not get central inventory using NGOUI;
oracle.sysman.nextgen.utils.NextGenInventoryUtil
java.net.UnknownHostException: W2008R2OFS1:
W2008R2OFS1
at java.net.InetAddress.getLocalHost(InetAddress.java:1409)
at oracle.sysman.oii.oiin.OiinNetOps.computeNICList(OiinNetOps.java:105)

opatch.log
-----------------
[2016/04/22 10:57:00] Could not get central inventory using NGOUI;
oracle.sysman.nextgen.utils.NextGenInventoryUtil
java.net.UnknownHostException: ESSV11N1: ESSV11N1
at java.net.InetAddress.getLocalHost(InetAddress.java:1409)
at oracle.sysman.oii.oiin.OiinNetOps.computeNICList(OiinNetOps.java:105)
at oracle.sysman.oii.oiin.OiinNetOps.(OiinNetOps.java:76)
at oracle.sysman.oii.oiin.OiinNetOps.getNetOps(OiinNetOps.java:90)
at oracle.sysman.oii.oiix.OiixNetOps.getFullHostName(OiixNetOps.java:49)
at oracle.opatch.InventoryInstance.(InventoryInstance.java:149)
at oracle.opatch.LsInventoryToXML.createXML(LsInventoryToXML.java:228)
at oracle.opatch.LsInventoryToXML.process(LsInventoryToXML.java:196)
at oracle.opatch.LsInventorySession.loadAndPrintInventory(LsInventorySession.java:460)
at oracle.opatch.LsInventorySession.process(LsInventorySession.java:317)
at oracle.opatch.OPatchSession.main(OPatchSession.java:2119)
at oracle.opatch.OPatch.main(OPatch.java:634)

変更点

12.1.0.1.8以降のOPatch 12.1.0.1を適用後、本事象が発生します。

原因

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.