Wednesday, June 10, 2015

Sysman link error when installing Oracle Database 11g ( on Amazon Web Services EC2 Red Hat


We downloaded and installed the following Oracle Database 11g ( 64-bit on a newly created Amazon Web Services EC2 instances (Red Hat Enterprise Linux Server release 7.1).

These are the installation files:


Upon installation, the OUI gave an error relating to sysman during the linking process.

The error in the OraInventory (/u01/app/oraInventory/logs/installActions2015-06-10_09-52-46AM.log) log file was:
INFO: /usr/bin/ld: warning: -z lazyload ignored.
/usr/bin/ld: warning: -z nolazyload ignored.
/usr/bin/ld: /u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib//libnmectl.a(nmectlt.o): undefined reference to symbol 'B_DestroyKeyObject'
/usr/bin/ld: note: 'B_DestroyKeyObject' is defined in DSO /u01/app/oracle/product/11.2.0/dbhome_1/lib/ so try adding it to the linker command line
/u01/app/oracle/product/11.2.0/dbhome_1/lib/ could not read symbols: Invalid operation

INFO: collect2: error: ld returned 1 exit status

INFO: make[1]: *** [/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: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'agent nmhs' of makefile '/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/'. See '/u01/app/oraInventory/logs/installActions2015-06-10_09-52-46AM.log' for details.
Exception Severity: 1


1. Edit this file: /u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/

2. Change the following:
3. Retry.

Applicable Versions:
  • Oracle Database 11g ( 64-bit
  • Amazon EC2
  • Red Hat Enterprise Linux Server release 7.1




Trish Clark said...

Very helpful! Thanks so much for posting.

Florus Both said...

thanks, must what i needed!