A few days ago, a Linux RAC database was patched and upgraded, and a machine failed to be updated. The related exceptions are as follows:
Restoring "/u01/APP/Oracle/11.2.0/db_1" to the State prior to running napply...
Checking if opatch needs to invoke 'make' to restore some binaries...
Make failed to invoke "/usr/bin/make-F ins_srvm.mk install_srvm ORACLE_HOME =/u01/APP/Oracle/11.2.0/db_1 ".... 'ins _ srvm. MK: 68: Warning: overriding commands for target 'libsrvm11. so'
Ins_srvm.mk: 31: Warning: ignoring old commands for target 'libsrvm11. so'
Ins_srvm.mk: 71: Warning: overriding commands for target 'libsrvmocr11. so'
Ins_srvm.mk: 34: Warning: ignoring old commands for target 'libsrvmocr11. so'
Ins_srvm.mk: 74: Warning: overriding commands for target 'libsrvmhas11. so'
Ins_srvm.mk: 37: Warning: ignoring old commands for target 'libsrvmhas11. so'
GCC: Error trying to Exec 'cc1': execvp: Permission denied
Make: *** [/u01/APP/Oracle/11.2.0/db_1/rdbms/lib/config. O] Error 1
'
--------------------------------------------------------------------------------
Failed to run make commands. They are stored in file '/u01/APP/Oracle/11.2.0/db_1/. patch_storage/napply/2014-06-16_15-32-06pm/make.txt'
Invoke these commands manually to restore the binaries in the Oracle Home.
Opatch failed to restore Oh '/u01/APP/Oracle/11.2.0/db_1'. Consult opatch document to restore the home manually before proceeding.
Napply was not able to restore the home. Please invoke the following scripts:
-Restore. [SH, Bat]
-Make.txt (unix only)
To restore the ORACLE_HOME. They are located under
"/U01/APP/Oracle/11.2.0/db_1/. patch_storage/napply/2014-06-16_15-32-06pm"
Utilsession failed: re-link fails on target "install_srvm ".
Log File Location:/u01/APP/Oracle/11.2.0/db_1/export toollogs/opatch/opatch2014-06-16_15-32-06PM_1.log
Opatch failed with error code 73
Error:
Framework setup check failed on all the nodes
Verification cannot proceed
From the exception content, we can see that it has nothing to do with C and C ++ related class libraries. As a result, re-install the RPM package one by one on the machine according to the official manual, and found that some of the installation packages were not installed... This environment is installed by a new colleague. The installation file is executed on another machine during installation, and the machine on this side is synchronized. It can be determined that during the installation of Oracle, the self-check may not be complete, and in the absence of some C ++ class library packages, the related resources of databases and clusters are not affected. However, when patching, exceptions may occur.
Record here for your reference.