现象:

F:\oracle\product\10.2.0\db_1\BIN>sqlplus / as sysdba

SQL*Plus: Release 10.2.0.4.0 - Production on Sat Dec 19 09:15:03 2015

Copyright (c) 1982, 2007, Oracle. All Rights Reserved.

ERROR:
ORA-01031: insufficient privileges


Enter user-name:

 

原因:

# This file is actually generated by netca. But if customers choose to 
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.

SQLNET.AUTHENTICATION_SERVICES = (NTS)


TRACE_UNIQUE_CLIENT = ON------>>>>>>>>>>>>注意,此行的开头有空格,把空格去掉即可。
TRACE_LEVEL_CLIENT = 16------>>>>>>>>>>>>从此行开始,开头有无空格不影响sqlplus / as sysdba的登陆
TRACE_DIRECTORY_CLIENT = F:\oracle\product\10.2.0\db_1\NETWORK\trace
TRACE_FILE_CLIENT = SQLNetTrace
TRACE_TIMESTAMP_CLIENT = ON
DIAG_ADR_ENABLED = OFF
#TRACE_FILELEN_CLIENT = 2048
#TRACE_FILENO_CLIENT = 2