ORA-12641: 验证服务无法初始化

往日常用操作没有问题,但今天在使用 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)
posted @ 2022-04-07 15:26  妖精代码  阅读(845)  评论(0)    收藏  举报