[故障]ORA-01031: 权限不足

来源:互联网 发布:类似巫师3的游戏 知乎 编辑:程序博客网 时间:2024/04/30 21:01

本次故障是由于朋友现场的一次域控故障无法修复,导致数据库需要从域中退出来所致。朋友原来以为退域后,系统FQDN保持不变即可以正常运用不影响。不过在通过SQLPLUS / AS SYSDBA登录系统时就报以下错误了:

C:\>sqlplus / as sysdbaSQL*Plus: Release 11.2.0.1.0 Production on 星期日 8月 19 13:01:14 2012Copyright (c) 1982, 2010, Oracle.  All rights reserved.ERROR:ORA-01031: 权限不足

朋友反馈已经检查以下项目:

1.SQLNET.ORA文件设定正确:

# sqlnet.ora Network Configuration File: C:\app\administrator\product\11.2.0\dbhome_1\network\admin\sqlnet.ora# Generated by Oracle configuration tools.# 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)NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)

2.remote_login_passwordfile参数正确:

SQL> SHOW PARAMETER REMOTENAME                                 TYPE        VALUE------------------------------------ ----------- ------------------------------remote_dependencies_mode             string      TIMESTAMPremote_listener                      stringremote_login_passwordfile            string      EXCLUSIVEremote_os_authent                    boolean     FALSEremote_os_roles                      boolean     FALSEresult_cache_remote_expiration       integer     0

由于其提及的背景信息,我让其检查 OS 的ORA_DBA组的状况,果然不出所料成员出现了错误了。错误如下:


让他重新将此组内的成员重新修正一下,问题即解决囖。

注1:在不修改此项目的前提之下,如果通过SQLPLUS SYS/SYS AS SYSDBA方式也是可以正常登录的。只不过该DBA认为不爽而已。


原创粉丝点击