7.31.2010

libjox10.so (Permission denied (errno:13)) while applying CPU patch on HPUX

Notwithstanding the successful CPU April 2010 patch deployment on development servers, we ran into some sort of troubles while applying the same on our 6 node production RAC servers on HPUX platform. At some stage whilst  installation going on, the following error has been thrown:


The following actions have failed:
WARNING:OUI-67124:Copy failed from '/u00/CPU_APRIL2010_PATCH/9352191/8568398/files/lib/libjox10.so' to '/u00/app/oracle/product/10.2.0/db_1/lib/libjox10.so'...

Previously when we use to apply the CPU or any interim patches, we use to anticipate troubles like,  'Text file busy genclntsh: Failed to remove ..;.  And this time the error seems to be a different one.  Therefore, we stopped the patch installation to make sure no Oracle binaries are running and to investigate why the copy had failed. 

In the the second attempt, the patch installation had failed again with the following error:

File not backed up from /u00/app/oracle/product/10.2.0/db_1/lib/libjox10.so to /u00/app/oracle/product/10.2.0/db_1/.patch_storage/8568398_Jun_11_2009_12_49_36/files/lib/libjox10.so... '/u00/app/oracle/product/10.2.0/db_1/.patch_storage/8568398_Jun_11_2009_12_49_36/files/lib/libjox10.so (Permission denied (errno:13))'

Apparently the problem is more clear this time, indicating permission issue. When we paid a close look at the file in the context we found that writable permission is missing from the file, as show below:


-rxr-xr-x   1 oracle     oinstall   20041776 Jun 11  2009 libjox10.so

As a precautionary step, we first copied the source file and then added write permission to the file, you may also change permission with 755, using the following chmod OS command:

chmod +w libjox10.so

Upon adding the write permission to the file, the subsequent patch installation attempt went smoothly and the patch deployed successfully.

What's next?.. Well, an another 8 node production RAC environment is awaiting for the same patch. Wish me good luck mates.
Happy reading,

Jaffar




1 comment:

noname said...

thanks for your information here ~ we just ran into
OUI-67124:Copy failed from '/home/oracle/7715304/custom/server/7715304/files/lib/libclsra10.so' to '/opt/app/oracle/product/10.2.0/db_1/lib/libclsra10.so'...
situations when patching 10g crs bundle 3 , I will check the permission with this later~

Jay