Relink Fails On Target “Client_sharedlib” During Install Of Interim Patch Or CPU Patch

Relink Fails On Target “Client_sharedlib” During Install Of Interim Patch Or CPU Patch

Applies to:
Oracle Server – Enterprise Edition – Version: 10.2.0.1 to 10.2.0.4
HP-UX PA-RISC (64-bit)
Symptoms

Applying the CPUAPR2009 patch failed during the linking stage on genclntsh

Make failed to invoke “/usr/ccs/bin/make -f ins_net_client.mk client_sharedlib
ORACLE_HOME=/oracle1/home/oracle/product/10.2.0″….’rm:
/oracle1/home/oracle/product/10.2.0/lib/libclntsh.sl.10.1 not removed. Text file busy
genclntsh: Failed to remove /oracle1/home/oracle/product/10.2.0/lib/libclntsh.sl.10.1

Cause
The message is just a warning ,attempts to remove the file, which was busy
Solution
move the referneced library:
mv $ORACLE_HOME/lib/libclntsh.sl.10.1 $ORACLE_HOME/lib/libclntsh.sl.10.1.bak

then run :

cd $ORACLE_HOME/bin
./genclntsh

Advertisements

4 Responses

  1. can you run cd $ORACLE_HOME/bin
    ./genclntsh in up time or must the db be down?

    • had the same error in 11g database but made the mistake on continuing to apply the patch. Should i rollback the patch run what you reccommend above then reapply the cpu? or Can ./gencIntsh correct the issue while the db is running?

    • the db and listener should be down

  2. Thought so! Thank you !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: