Opatch failed with error code 73 when trying to apply a patch to Oracle. This error code happens because the patch is not compatible with the version of Oracle being used.
Users typically search for a solution by asking about:
- opatch failed with error code = 73
- opatch failed with error code 73
1. Try re-running the OPatch command with the -ignoreSysPrereqs switch
To try re-running the OPatch command with the -ignoreSysPrereqs switch, follow these steps:
- Open a command prompt.
- Change to the installation folder for OPatch.
- Type OPatch -ignoreSysPrereqs.
- If the command succeeds, the OPatch installation is successfully updated. If the command fails, the OPatch installation is not successfully updated.
2. Manually copy the required files to the OPatch directory
- Open a command prompt and change to the OPatch directory
- Type "opatch install"
- If the installation fails with error code 73, copy the files below from the OPatch installation directory to the OPatch directory
- opatch.log
- opatch.install
- opatch.license
- opatch.manual
- opatch.properties
- opatch.scripting
- opatch.settings
- opatch.service
- opatch.version
3. Run the OPatch command from the directory where the Oracle product is installed
To run the OPatch command from the directory where the Oracle product is installed, you would type: OPatch <product_name> For example, if you are running the OPatch command for the Oracle Database, you would type: OPatch oracle OPatch will then display the available patches for the Oracle product. You can select a patch to apply, or you can select all the patches to apply. After you have selected a patch, OPatch will ask you to confirm the selection. If you are sure you want to apply the patch, type "Y" and then press Enter. OPatch will then begin to apply the selected patch. The process may take some time, so be patient. When the patch has been applied, OPatch will display a message indicating that the process is complete. If the patch fails to apply, OPatch will display an error message indicating the error code 73. You can then try to apply another patch, or you can contact customer support for assistance.
4. Set the ORACLE_HOME environment variable to the directory where the Oracle product is installed
To set the ORACLE_HOME environment variable, you would use the following command: export ORACLE_HOME=/u01/app/oracle If you are using the bash shell, you can insert this command at the beginning of your shell session to set the ORACLE_HOME environment variable for the current shell session: export ORACLE_HOME=/u01/app/oracle
If the answers above didn't work then you should also try:
- Set the LD_LIBRARY_PATH environment variable to the directory where the Oracle product is installed.
- contact Oracle Support.