Datapatch fails with ORA-01017, as it only connects to the database with OS Authentication (Doc ID 1635007.1)

Last updated on MAY 31, 2017

Applies to:

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

Symptoms

Datapatch may fail while connecting to the database following error:

% datapatch -verbose

Connecting to database...Database connect failed with
"ORA-01017:invalid username/password; logon denied (DBD ERROR:OCISessionBegin"

Changes

 datapatch is executed to perform post apply / rollback steps

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