Datapatch Error: ORA-24327: need explicit attach before authenticating a user
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%