Database Install/Upgrade/Opatch (MOSC)

MOSC Banner

Applying 12C April PSU patch and get the following error: opatch: cannot execute: Permission denied

edited Feb 27, 2020 4:03AM in Database Install/Upgrade/Opatch (MOSC) 9 commentsAnswered

>> Please Help...

OS: Redhat 7

RDBMS: 12.2

>>>> Applying 12C April PSU patch and get the following error:

/u01/oracle/product/12.2.0/dbhome_1/OPatch/opatch: line 1397: /tmp/oracle-home-1559689711710276/OPatch/opatch: Permission denied

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

>>>> THis is my opatch version:

$ $ORACLE_HOME/OPatch/opatch version

OPatch Version: 12.2.0.1.17

>>>> I do not have execute permission in /temp so I re-direct the TMP with the following TMP system variables but still not working

TMP=/u01/temp

TMPDIR=/u01/temp

TEMPDIR=/u01/temp

TEMP=/u01/temp

export TMP TMPDIR  TEMPDIR TEMP

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center