ORA-01031: insufficient privileges的解決方案

來源:互聯網
上載者:User

ORA-01031: insufficient privileges的解決方案 #############################################
#
# NAME: troubleshoot connect internal.txt
#
# DESCRIPTION:
# connect internal
# connect / as sysdba 要口令問題:
# refer (METALINK,OracleDOC),
# metalink search words(connect internal)
# NOTE:
#
# modifiy (MM/DD/YY) AUTHOR
# 05/03/03 ZORROL
#############################################
————————————————————
檢查sqlnet.ora 檔案.
sqlnet.ora 檔案損壞或格式不對可以導致出現該問題。
sqlnet.ora 檔案可能存放路徑為
$TNS_ADMIN/sqlnet.ora
如果沒有設定$TNS_ADMIN預設在$ORACLE_HOME/network/admin/sqlnet.ora  

$HOME/sqlnet.ora      
(1).   可以從別的機器拷貝一個檔案過來,注意備份原來的sqlnet.ora。
---檢查sqlnet.ora 檔案內容
(2).   檢查SQLNET.AUTHENTICATION_SERVICES  
如果沒有使用dblink.檢查該行並設定
SQLNET.AUTHENTICATION_SERVICES = (BEQ,NONE)
(3).    SQLNET.CRYPTO_SEED     添加了上面的加黑行就可以了。修改後的sqlnet.ora結果是這樣的:  

  1. # sqlnet.ora Network Configuration File: /oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora  
  2. # Generated by Oracle configuration tools.  
  3.   
  4. NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)  
  5.   
  6. ADR_BASE = /oracle/app/oracle  
  7.   
  8. # HUZIA 2011.08.31  
  9. sqlnet.authentication_services=(BEQ,NONE)  
  10.   
  11. ~                                                                                 
  12. ~                                                   
其實,sqlnet.authentication_services=(BEQ,NONE),這個參數還可以有很多選項,NTS等。

~                                                                              
~                                                

ps: Red Hat enterprise  linux 5.5+ oracle 11gr2

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.