Subscribe to get access
Read more of this content when you subscribe today.
Read more of this content when you subscribe today.
The following errors occurred while install 11.2.0.4 on Linux 7.4. when relink the binary, the same error will be reported as well.
INFO: collect2: error: ld returned 1 exit status INFO: make[1]: INFO: *** [/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/emdctl] Error 1 INFO: make[1]: Leaving directory `/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib' INFO: make: *** [emdctl] Error 2 INFO: End output from spawned process. INFO: ---------------------------------- SEVERE: oracle.sysman.oii.oiil.OiilActionException: Error in invoking target 'agent nmhs' of makefile '/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk'. See '/u01/app/oracle/product/11.2.0/dbhome_1/install/relinkActions2018-05-25_09-48-55-AM.log' for details. at oracle.sysman.oii.oiis.OiisMakeDeps.invokeMakefile(OiisMakeDeps.java:537) at oracle.sysman.oii.oiis.OiisMakeDeps.doRelink(OiisMakeDeps.java:614) at oracle.sysman.oii.oiis.OiisMakeDeps.doOperation(OiisMakeDeps.java:799) at oracle.sysman.oii.oiis.OiisMakeDeps.main(OiisMakeDeps.java:809)
In $ORACLE_HOME/sysman/lib/ins_emagent.mk file :
Change “$(MK_EMAGENT_NMECTL) “
into
$(MK_EMAGENT_NMECTL) -lnnz11
1)Check to make sure there is no databases still using this ORACLE_HOME:
$ srvctl status database -thishome
Read more of this content when you subscribe today.
1)To check status of databases that are configured in this Oracle Home.
$ srvctl status database -thishome
2) To check status of databases that are of the same Oracle product version.
$ srvctl status database -thisversion
After standby database rebuilt, then trying to copy database password file from primary to standby ASM disk, the below errors occurred:
ASMCMD> pwcopy --dbuniquename RACTEST '/tmp/orapwractest' '+DATA/RACTEST/orapwractest' copying /tmp/orapwractest -> +DATA/RACTEST/orapwractest PRCD-1163 : Failed to modify database RACTEST PRCR-1071 : Failed to register or update resource ora.ractest.db CRS-0245: User doesn't have enough privilege to perform the operation ASMCMD-9453: failed to register password file as a CRS resource
The password file was copied to ASM diskgroup ‘+DATA’ successfully, but the configuring of database failed .
Rerun the same command without “–dbuniquename RACTEST” option.
ASMCMD> pwcopy /tmp/orapwractest +DATA/RACTEST/orapwractest copying /tmp/orapwractest -> +DATA/RACTEST/orapwractest
Then use ‘srvctl’ to re-configure database as user ‘oracle’ if needed:
$srvctl modify database -d RACTEST -pwfile '+DATA/RACTEST/orapwractest'; $srvctl config database -d RACTEST