Datapatch Error: ORA-24327: need explicit attach before authenticating a user (Doc ID 2092836.1)

Last updated on MAY 03, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Information in this document applies to any platform.

Symptoms

Datapatch execution fails with the below error:

oracle@sb000951:env not set > ./datapatch
SQL Patching tool version 12.1.0.2.0 on Fri Nov 27 10:12:26 2015
Copyright (c) 2015, Oracle.  All rights reserved.

Connecting to database...Database connect failed with:
ORA-24327: need explicit attach before authenticating a user (DBD ERROR: OCISessionBegin)

Please refer to MOS Note 1609718.1 and/or the invocation log
/oracle/cust/cfgtoollogs/sqlpatch/sqlpatch_55246984_2015_11_27_10_12_26/sqlpatch_invocation.log
for information on how to resolve the above errors.

SQL Patching tool complete on Fri Nov 27 10:12:26 2015

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms