Sunday 16 February 2020

RemoteHostExecutor.pl The file access permissions while patching

Hi,

In this article, I am going to share one the issue which we usually face while patching.

Here our DB and Grid home are 12.1.0.2, and we are applying patch 30070257.

While applying patch of while doing pre-checks(analyze) if we are getting any script permission issue as below it is not the issue exactly with the script, it is the issue with OPatch.


Error:


aj@myhost:/u/a/12.1/grid # /u/a/12.1/grid/OPatch/opatchauto apply /backup/30070257 -analyze

OPatchauto session is initiated at Sun Feb 02 17:27:02 2020

System initialization log file is /u/a/12.1/grid/cfgtoollogs/opatchautodb/systemconfig2020-02-02_05-27-42PM.log.

Session log file is /u/a/12.1/grid/cfgtoollogs/opatchauto/opatchauto2020-02-02_05-28-45PM.log
Can't open perl script "/u/a/12.1/grid/OPatch/auto/database/bin/RemoteHostExecutor.pl": The file access permissions do not allow the specified action.

oracle.dbsysmodel.driver.sdk.productdriver.ProductDriverException: Unable to execute command : Can't open perl script "/u/a/12.1/grid/OPatch/auto/database/bin/RemoteHostExecutor.pl": The file access permissions do not allow the specified action.

OPatchAuto failed. 


If error is as above while applying patch specially on grid home then the issue is with OPatch.

 Possiblity:

 1. opatch version is old.
 2. opatch version on all the nodes are not same in RAC.
 3. opatch permissions are not correct.
 4. opatch ownership is not correct.

 Check for the above possibility and provide full permissions for opatch and it should work 
fine.








                            There you good to go.................................................



Please subscribe for latest updates.

RemoteHostExecutor.pl The file access permissions while patching

Hi, In this article, I am going to share one the issue which we usually face while patching. Here our DB and Grid home are 12.1.0.2, an...