When applying Database October 2010 CPU patch (or any patch for that matter) to the 10.2.0.4, on HP-UX, you might encounter the following errors, when running the opatch utility:
$ opatch napply -skip_subset -skip_duplicate
2) OUI-67200:Make failed to invoke “/usr/ccs/bin/make -f ins_net_client.mk client_sharedlib ORACLE_HOME=/oracle10204home”….’rm: /oracle10204home/lib/libclntsh.so.10.1 not removed. Text file busy
genclntsh: Failed to remove /oracle10204home/lib/libclntsh.so.10.1
Stop.
‘
3) OUI-67200:Make failed to invoke “/usr/ccs/bin/make -f ins_rdbms.mk client_sharedlib ORACLE_HOME=/oracle10204home”….’rm: /oracle10204home/lib/libclntsh.so.10.1 not removed. Text file busy
genclntsh: Failed to remove /oracle10204home/lib/libclntsh.so.10.1
Stop.
‘
4) OUI-67124:Re-link fails on target “client_sharedlib”.
Re-link fails on target “client_sharedlib”.
The above error indicates that there are some orphan Oracle sessions, even when you have shutdown the database cleanly.
Find out those sessions at the OS level by running:
$ ps -fu oracle|grep sqlplus
oracle 13694 4346 0 SEP 31 pts/3 0:00 sqlplus
And simply kill that session:
$ kill -9 13694
then run the opatch utility again.
No comments