OPatch error: Failed to fetch host name

(Doc ID 2230313.1)

Last updated on MAY 29, 2017

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86-64 (64-bit)
Oracle Solaris on SPARC (32-bit)
Oracle Solaris on x86 (32-bit)


When trying to apply a GI PSU, receive the following error:

Parameter Validation: Successful

System Configuration Collection failed: oracle.osysmodel.driver.sdk.productdriver.ProductDriverException: oracle.osysmodel.driver.sdk.productdriver.ProductDriverException: Failed to fetch host name    <=====
Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Stream closed
at oracle.opatchauto.gi.GILogger.writeWithoutTimeStamp(GILogger.java:432)
at oracle.opatchauto.gi.GILogger.printStackTrace(GILogger.java:447)
at oracle.opatchauto.gi.OPatchauto.main(OPatchauto.java:97)
Caused by: java.io.IOException: Stream closed
at java.io.BufferedWriter.ensureOpen(BufferedWriter.java:98)
at java.io.BufferedWriter.write(BufferedWriter.java:203)
at java.io.Writer.write(Writer.java:140)
at oracle.opatchauto.gi.GILogger.writeWithoutTimeStamp(GILogger.java:426)
... 2 more

opatchauto failed with error code 1. 

This error has been seen by certain customers in all Opatch releases from up to and including




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 hundreds of Community platforms