My Oracle Support Banner

12.2: Preupgrade command Fails with:"ERROR - Unable to run sqlplus due to:" (Doc ID 2246672.1)

Last updated on AUGUST 04, 2018

Applies to:

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


Execution of Preupgrade shows :

bash-4.1$ $ORACLE_HOME/jdk/bin/java -jar $ORACLE_HOME/rdbms/admin/preupgrade.jar

ERROR - Unable to run sqlplus due to:


DBUA fails with the following error :

SEVERE: racle.assistants.dbua.prereq.PrereqChecker logPrereqResults
SEVERE: Error in preupgrade tool execution. ERROR -
ERROR - Unable to run sqlplus due to:
ORA-06512: at "SYS.UTL_FILE", line 106
ORA-06512: at "SYS.UTL_FILE", line 746
ORA-06512: at "SYS.DBMS_PREUP", line 9416
ORA-06512: at line 8



To view full details, 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 a vibrant support community of peers and Oracle experts.