zoukankan      html  css  js  c++  java
  • 连接Oracle报错 ORA-12638: 身份证明检索失败

    问题

    连接Oracle数据库时报错:ORA-12638: 身份证明检索失败
    在这里插入图片描述

    C:Users***>sqlplus scott/tiger@192.168.56.103:1521/orcl
    SQL*Plus: Release 10.2.0.1.0 - Production on 星期二 1月 8 09:13:18 2019
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    ERROR:
    ORA-12638: 身份证明检索失败
    

    解决

    将oracle安装路径oracleproduct10.2.0db_1NETWORKADMINsqlnet.ora 文件修改一下
    在这里插入图片描述
    把文件中的:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    修改为:
    SQLNET.AUTHENTICATION_SERVICES= (BEQ,NONE)

    修改前:

    # sqlnet.ora Network Configuration File: C:oracleproduct10.2.0db_1
    etworkadminsqlnet.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: C:oracleproduct10.2.0db_1
    etworkadminsqlnet.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= (BEQ,NONE)
    
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    
  • 相关阅读:
    Codeforces Round #420 (Div. 2) A-E
    Codeforces Round #419 (Div. 2) A-E
    Bzoj4423 [AMPPZ2013]Bytehattan
    51nod1471 小S的兴趣
    Bzoj2629 binomial
    51nod1056 最长等差数列 V2
    51nod1055 最长等差数列
    51nod1110 距离之和最小 V3
    20. 有效的括号
    155.最小栈
  • 原文地址:https://www.cnblogs.com/tian-ci/p/10543071.html
Copyright © 2011-2022 走看看