Oracle(ERROR SP2-0642)

报错信息

ERROR SP2-0642

解决方法

[oracle@oradb]$ sqlplus / as sysdba

SP2-0642: SQL*Plus internal error state 2021, context 1:1821:0

Unsafe to proceed

SP2-1503: Unable to initialize Oracle call interface

SP2-0152: ORACLE may not be functioning properly

The cause of this error on my system was the date format.

Solution: at least in my case, it was the date format that was the issue

[oracle@oradb]$ export NLS_DATE_FORMAT='YYYY-MON-DD HH24:MI:SS'

[oracle@oradb]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Wed Jul 2 13:31:30 2014

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Connected to an idle instance.

SQL>

原文地址:https://www.cnblogs.com/mjiu/p/9856354.html