ORA-12641: 驗證服務無法初始化
阿新 • • 發佈:2022-04-07
往日常用操作沒有問題,但今天在使用 imp 命令匯入 oracle 資料庫時報錯:
IMP-00058: 遇到 ORACLE 錯誤 12641
ORA-12641: 驗證服務無法初始化
IMP-00000: 未成功終止匯入
解決辦法:
開啟 ORACLE 安裝目錄,我的是 D:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN
開啟檔案 sqlnet.ora
解決前檔案內容是:
# sqlnet.ora Network Configuration File: D:\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)
修改檔案內容後解決!
# sqlnet.ora Network Configuration File: D:\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= (NONE) NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)