2 Replies Latest reply: Jul 27, 2011 4:24 AM by 878359 RSS

    OPatch failed with error code 255

    587289
      I'm trying apply the patch 3065127 in Oracle 9i, them, it's return de error
      OPatch failed with error code 255

      Someone help me?

      [mlsrvhp2-/ora92/3065127 ]
      ora92: opatch apply
      java.lang.NoClassDefFoundError: oracle/ops/mgmt/cluster/ClusterException
      at oracle.opatch.OPatchSession.<clinit>(OPatchSession.java:168)
      at oracle.opatch.OPatch.<clinit>(OPatch.java:133)

      OPatch failed with error code 255
        • 1. Re: OPatch failed with error code 255
          640265
          I'm not sure if this is your problem or not, but I was getting the exact same error, and I had to change my environment variable ORACLE_HOME to C:\oracle\product\10.2.0\db_1 for example. I also added C:\oracle\product\10.2.0\db_1\OPatch\jlib; to the PATH environment variable. If those 2 changes don't work then you may have a different problem.
          • 2. Re: OPatch failed with error code 255
            878359
            This error may be due to the wrong version of opatch utility is being used. Download the latest released opatch from oracle support and install it. This will solve the issue

            Edited by: user12023450 on Jul 27, 2011 2:23 AM

            Edited by: user12023450 on Jul 27, 2011 2:24 AM