Orphan Oracle Processes Hiccup While Applying CPU

Posted in: Technical Track

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.

email
Want to talk with an expert? Schedule a call with our team to get the conversation started.

About the Author

I have been in love with Oracle blogging since 2007. This blogging, coupled with extensive participation in Oracle forums, plus Oracle related speaking engagements, various Oracle certifications, teaching, and working in the trenches with Oracle technologies has enabled me to receive the Oracle ACE award. I was the first ever Pakistani to get that award. From Oracle Open World SF to Foresight 20:20 Perth. I have been expressing my love for Exadata. For the last few years, I am loving the data at Pythian, and proudly writing their log buffer carnivals.

No comments

Leave a Reply

Your email address will not be published. Required fields are marked *