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
Filed under: Oracle DBA |
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
Thought so! Thank you !