Last week I encountered a problem while installing Oracle 11g R2 on AIX 6.1 TL06 SP2. I met all the PreReqs of the installation document, but at the end of the installation process, I got the following error message:
Error in invoking target ‘agent nmb nmo nmhs’ of makefile ins_emagent.mk’
During the building of the Oracle 22.214.171.124 emagent libraries under AIX 6.1 SP2 TL06 we can see the following error message:
Error in invoking target 'agent nmb nmo nmhs' of makefile ins_emagent.mk'If we have a more precise look in the installation log file :INFO: Exception thrown from action: makeException Name: MakefileExceptionException String: Error in invoking target 'agent nmb nmo nmhs' of makefile '/oracle/126.96.36.199/sysman/lib/ins_emagent.mk'.
IBM has a fix for this problem which can be found on:
Oracle has published a metalink note : Article ID 1264074.1 and a bug 10259393
The note explains the following:
bind64 does core_dump during installation of Oracle11gR2. The following is an error output in installation log ofOracle.ld: 0706-010 The binder was killed by a signal:Segmentation faultCheck for binder messages or use local problem reportingprocedures.make: The error code from the last command is 254.
The IBM solution is to install APAR IZ88711.
It appears to be a referenced bug for the AIX versions:
AIX 6.1 TL2 SP10 (6100-02-10-1036) and higher
AIX 6.1 TL3 SP7 (6100-03-07-1036) and higher
AIX 6.1 TL4 SP7 (6100-04-07-1036) and higher
AIX 6.1 TL5 SP3 (6100-05-03-1036) and higher
AIX 6.1 TL6 (all SP levels)
AIX 6.1 TL7 (all SP levels)
After installing the IBM’s fix you should run the command below to link the libnmemso library.:
make -f $ORACLE_HOME/sysman/lib/ins_emagent.mk relink_sharedobj SHAREDOBJ=libnmemso
There is also a local fix which consists in ignoring the -blazy flag when used with -G or -brtl. We have to modify the $ORACLE_HOME/sysman/lib/env_emagent.mk file to remove the -blazy flag and the libnmemso library will be linked correctly.