Datapatch fails with ORA-01017, as it only connects to the database with OS Authentication

(Doc ID 1635007.1)

Last updated on JANUARY 16, 2018

Applies to:

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


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"


 datapatch is executed to perform post apply / rollback steps


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