請教:怎樣在命令行下以sysdba登陸sqlplus  解決立即送分
sqlplus /nolog
SQL>
SQL> conn /as sysdba 
ERROR: 
ORA-01031: insufficient privileges 權限不足 ??  当前系统用户一直都是 ora_dba 组  
如果登陸成功,是非用戶模式?還是當前系統用戶? 貌似登陸沒有寫用戶名

解决方案 »

  1.   

    用sys用户或者system用户登陆啊
      

  2.   

    1.是在server端登录的吗?
    2.当前登录的操作系统用户是否在ora_dba组中
    3.sqlnet.ora文件中是否有如下内容:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
      

  3.   

    sqlplus system/manager
    已連接。
    SQL> conn /as sysdba
    ERROR:
    ORA-01031: insufficient privileges??
    是在server端登录 当前系统用户一直都是 ora_dba 组
    #sqlnet.authentication_services=(beq, kerberos5)#sqlnet.authentication_services
    #
    # Syntax: A single value or a list from {beq, none, all, kerberos5,
    #   cybersafe, radius}
    # Default: NONE
    #
    # Enables one or more authentication services.  If
    # Oracle Advanced Security has been installed with Kerberos5
    # support, using (beq, kerberos5) would enable authentication via
    # Kerberos.
    #
    #sqlnet.authentication_services=(beq, kerberos5)
      

  4.   

    C:\>sqlplus "sys/mypassword@test_192.168.80.38 as sysdba"SQL*Plus: Release 9.2.0.1.0 - Production on 星期五 4月 25 15:18:04 2008Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    连接到:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - ProductionSQL>
    看懂了么?
      

  5.   

    可以了  謝謝
    但是想問下
    sqlplus /nolog 
    SQL> 
    SQL> conn /as sysdba  
    ERROR:  
    ORA-01031: insufficient privileges
      
    爲什麽不行?錯誤原因?
      

  6.   

    参照二楼吧sqlnet.ora改为SQLNET.AUTHENTICATION_SERVICES = (NTS)就可以连上了