My Oracle Support Banner

Autoupgrade Failure Error: UPG-1401 : Opening Database<DB> in upgrade mode failed. (Doc ID 3002980.1)

Last updated on MARCH 03, 2024

Applies to:

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



When try to connect to the database using “sqlplus / as sysdba” (under a domain user in the local ORA_DBA group) got a “ORA-12638: Credential retrieval failed” error. The AutoUpgrade has created a new Windows service called “OracleServiceAutoUpgrade” (which is running instead of the usual OracleService) and this new service is running as a Local System account. Re-creating the service or higher db home is the thing that blocking running the AU. After removing the service without re-creating it is the same error.

If you change it do run as domain Oracle Home user account and restart it, then the error from “sqlplus / as sysdba” goes away and you're able to successfully start the database in upgrade mode. However after doing this, while you restart AutoUpgrade it shuts down the database, delete the service and recreates it using a Local System user account again and then runs into the same error.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.