Saturday, March 17, 2012

PSU Patching failed with the below error OUI-67200 Make failed to invoke


Incase if you hit the below error while applying Oracle11g Patchset to RDBMS homes, here is the workaround/solution to fix that.
ERROR/ISSUE –
--------------------------------------------------------------------------------
The following warnings have occurred during OPatch execution:
……..
3) OUI-67200:Make failed to invoke "/usr/bin/make -f ins_net_client.mk client_sharedlib ORACLE_HOME=/u06/app/oracle/product/11.1.0/db_1"....'genclntsh: genclntsh: Could not locate  /u06/app/oracle/product/11.1.0/db_1/network/admin/shrept.lst
make: *** [client_sharedlib] Error 1
'
4) OUI-67200:Make failed to invoke "/usr/bin/make -f ins_rdbms.mk client_sharedlib ORACLE_HOME=/u06/app/oracle/product/11.1.0/db_1"....'genclntsh: genclntsh: Could not locate  /u06/app/oracle/product/11.1.0/db_1/network/admin/shrept.lst
make: *** [client_sharedlib] Error 1
'
5) OUI-67124:Re-link fails on target "client_sharedlib".
Re-link fails on target "client_sharedlib".
--------------------------------------------------------------------------------
SOLUTION –
--------------------------------------------------------------------------------
For 11.1, if the file is missing, create $ORACLE_HOME/network/admin/shrept.lst with a text editor and put the following lines into it.
network : snaumihi_inithostinfo
network : snaumbg_gmt
network : naedpwd_encrypt
network : naumbsb_bld_singlebyte
network : ztapis
network : nlgh
 Using the 'ls -al' command, check that the file has 644 permissions:
-rw-r--r-- $ORACLE_HOME/network/admin/shrept.lst
If necessary, change the permissions using the command:
chmod 644 $ORACLE_HOME/network/admin/shrept.lst
Now manually relink using the command 'relink all'
--------------------------------------------------------------------------------
For more detail, refer Metalink note “genclntsh: Could not locate $ORACLE_HOME/network/admin/shrept.lst (Doc ID 340978.1)

No comments:

Post a Comment