In order for you to use OPatch, some requirements must be met:
1. Set the Oracle Home environment variable to point to a valid Oracle Home directory. This Oracle Home must match the one used during the installation.
2. Java SDK 1.4 or higher must be installed.
3. The environment variable that points to the shared library must be properly set (
LD_LIBRARY_PATH
orSHLIB_PATH
, which depends on the OS platform).4. OPatch creates a rollback script in case the patch installation has to be undone. It also performs a backup of the Inventory, so you must make sure you have enough free space for these operations.
5. Use a compatible version, 10gR2 requires OUI to be 10.2.0.1.0 or higher.
6. When working in RAC environments, make sure the user equivalence between hosts is correctly set.
7. Verify the Oracle Inventory is valid, you can check this by issuing the command
OPatch lsinventory -detail
. This command displays the software installed on the target Oracle Home. If this command returns...