exec: /tmp/oracle-home-1589696209088388/OPatch/opatch: cannot execute: Permission denied

[oracle@Testing 30593149]$ opatch apply
Oracle Interim Patch Installer version 12.2.0.1.17
Copyright (c) 2020, Oracle Corporation.  All rights reserved.



Oracle Home       : /Test/oracle/product/12.2.0/dbhome_1
Central Inventory : /Test/oraInventory
   from           : /Test/oracle/product/12.2.0/dbhome_1/oraInst.loc
OPatch version    : 12.2.0.1.17
OUI version       : 12.2.0.1.4
Log file location : /Test/oracle/product/12.2.0/dbhome_1/cfgtoollogs/opatch/opatch2020-05-17_11-46-41AM_1.log


Verifying environment and performing prerequisite checks...


--------------------------------------------------------------------------------
Start OOP by Prereq process.
Launch OOP...


/Test/oracle/product/12.2.0/dbhome_1/OPatch/opatch: line 1397: /tmp/oracle-home-1589696209088388/OPatch/opatch: Permission denied
/Test/oracle/product/12.2.0/dbhome_1/OPatch/opatch: line 1397: exec: /tmp/oracle-home-1589696209088388/OPatch/opatch: cannot execute: Permission denied


Resolution :


check in /etc/fstab if /tmp is having noexe argument written in front of it.

If yes then get it changed to exe or try first un mounting the /tmp and mount it back.

Thanks & Regards
Nikhil Kumar. 

Comments

Popular posts from this blog

How to set the root password after creating instance on oracle cloud

TNS-12541 TNS-12560 TNS-00511 TNS:protocol adapter error No listener

Queryable inventory could not determine the current opatch status.