c:\oracle\product\12.1.0\dbhome_1\OPatch>datapatch -verbose
SQL Patching tool version 12.1.0.1.0 on Tue Sep 27 14:33:34 2016
Copyright (c) 2014, Oracle. All rights reserved.
Connecting to database...Database connect failed with: ORA-24327: need explicit attach before authenticating a user (DBD ERROR: OCISessionBegin)
See support note 1609718.1 for information on how to resolve the above errors
SQL Patching tool complete on Tue Sep 27 14:33:34 2016
Řešení
c:\oracle\product\12.1.0\dbhome_1\OPatch>datapatch -db prod -verbose
SQL Patching tool version 12.1.0.1.0 on Tue Sep 27 14:35:59 2016
Copyright (c) 2014, Oracle. All rights reserved.
Connecting to database...OK Determining current state... Currently installed SQL Patches: PDB CDB$ROOT: PDB PDB$SEED: PDB PDBORCL: Currently installed C Patches: 23530410 Adding patches to installation queue and performing prereq checks... Installation queue: For the following PDBs: CDB$ROOT PDB$SEED PDBORCL Nothing to roll back The following patches will be applied: 23530410 Installing patches... Patch installation complete. Total patches installed: 1 Validating logfiles... MOS: Datapatch Error: ORA-24327: need explicit attach before authenticating a user (Doc ID 2092836.1)