1.故障现象:
报ORA-01031: insufficient privileges 错误,本地命名方式无法登录:
[oracle@edbjr2p2 admin]$ sqlplus sys/oracle@PROD3 as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Sat Jan 21 04:32:12 2017
Copyright (c) 1982, 2011, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name: ll
Enter password:
ERROR:
ORA-01005: null password given; logon denied
2.尝试OS 验证登录,登陆正常,暂时排除数据库本身问题:
[oracle@edbjr2p2 admin]$export ORACLE_SID=PROD3
[oracle@edbjr2p2 admin]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Sat Jan 21 04:33:08 2017

当遇到ORA-01031: insufficient privileges错误时,可能是由于口令文件的问题。通过检查发现密码文件名拼写错误,重建口令文件后,问题得到解决。确保口令文件命名遵循orapwsid格式且SID区分大小写,以避免权限不足的错误。
7万+

被折叠的 条评论
为什么被折叠?



