Database Administration (MOSC)

MOSC Banner

Datapatch Error: ORA-24327: need explicit attach before authenticating a user

edited Jul 7, 2020 12:09PM in Database Administration (MOSC) 6 commentsAnswered

Hi Guru's,

I am getting the following error while trying to use the datapatch -verbose command.

Datapatch Error: ORA-24327: need explicit attach before authenticating a user

I have 2 versions of Oracle DB in my Server(12.1 and 12.2)

where 12.1 is the working DB and 12.2 is just an software install.

I am applying patches before upgrading it to 12.2

so while giving the datapatch -verbose command, i keep getting this.

I even tried datapatch -db servicename -verbose, Even this command is giving me same error

\>set TNS_ADMIN=D:\Oracle\Database\product\12.1.0\dbhome_1\NETWORK\ADMIN

\>set ORACLE_HOME=D:\Oracle\Database\product\12.1.0\dbhome_1

\>SET PATH=%ORACLE_HOME%/Opatch;%PATH%

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