Problems with opatchauto: Unknown host name in config

We have been attempting to install the latest GI PSU on  a new AIX system, but having problems with opatchauto failing out with the error  below:

oracle.osysmodel.driver.sdk.productdriver.ProductDriverException:
   Unknown host name in config:hkxtsdbdv1
        at oracle.oplan.db.driver.crs.AbstractCrsProductDriver.findHostByName(AbstractCrsProductDriver.java:124)
        at oracle.oplan.db.driver.crs.AbstractCrsProductDriver.getLocalInfo(AbstractCrsProductDriver.java:774)
        at oracle.oplan.db.driver.crs.CrsProductDriver.buildSystemInstance(CrsProductDriver.java:225)
        at oracle.opatchauto.gi.GIPatchingUtil.generateOPatchAutoExecutionStep(GIPatchingUtil.java:202)
        at oracle.opatchauto.gi.GIPatchingUtil.generateapplysteps(GIPatchingUtil.java:286)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at oracle.opatchauto.gi.GIPatching.processOPatchAutoUtility(GIPatching.java:217)
        at oracle.opatchauto.gi.GIPatching.process(GIPatching.java:275)
        at oracle.opatchauto.gi.OPatchauto.invokeGIPatching(OPatchauto.java:157)
        at oracle.opatchauto.gi.OPatchauto.main(OPatchauto.java:91)

Martin Bach has previously blogged about similar issues, although his solution didn’t work for us.

Eventually I realized that our hostname is actually set as uppercase (HKXTSDBDV1).  When I changed machine hostname to lower case then patch applied with no problems.

We have raised a bug with Oracle support.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top