• TNS-01189: The listener could not authenticate the user


    数据库服务器让系统管理员修改IP后启动监听报TNS-01189故障
    [oracle@dg1 ~]su - oracle

    [oracle@dg1 ~]$ lsnrctl status

    LSNRCTL for Linux: Version 12.1.0.2.0 - Production on 24-AUG-2016 19:16:36

    Copyright (c) 1991, 2014, Oracle.  All rights reserved.

    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dg1)(PORT=1521)))
    TNS-01189: The listener could not authenticate the user

     
     
    下面是官方文档对这个故障的解释
    TNS-01189: The listener could not authenticate the user
    Cause: The user attempted to issue a privileged administrative command, but
    could not be successfully authenticated by the listener using the local OS
    authentication mechanism. This may occur due to one of the following reasons:
    1. The user is running a version of LSNRCTL that is lower than the version of the
    listener.
    2. The user is attempting to administer the listener from a remote node.
    3. The listener could not obtain the system resources needed to perform. the
    authentication.
    4. The local network connection between the listener and LSNRCTL was
    terminated unexpectedly during authentication message exchange, such as if
    LSNRCTL program was suddenly aborted.
    5. The communication between the listener and LSNRCTL is being intercepted by
    a malicious user.
    6. The software that the user is running is not following the authentication
    protocol, indicating a malicious user.
    Action: Make sure that administrative commands are issued using the LSNRCTL
    tool that is of a version equal or greater than the version of the listener, and that
    the tool and the listener are running on the same node. You can issue the
    VERSION command to find out the version of the listener. If a malicious user is
    suspected, use the information provided in the listener log file to determine the
    source and nature of the requests. Enable listener tracing for more information. If
    the error persists, contact Oracle Support Services.
     
    对于这个问题解决思路是先检查/etc/hosts的配置,因为修改过ip,现在ip是192.168.1.7,原来是10.0.96.96,而监听使用的是机器名
    [oracle@dg1 admin]$ cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost.localdomain localhost4 localhost4.localdomain4 localhost
    192.168.1.7 dg1.zytk.com dg1
    10.0.96.96 dg1.zytk.com dg1
    ::1 localhost.localdomain localhost.localdomain localhost6 localhost6.localdomain6 localhost
     
  • 相关阅读:
    js几个常用的弹层
    ubuntu 更新源 或者 apt-get install 出错404 not found ,Failed to fetch
    vmware ubuntu 解决 宿主机与虚拟机互相ping不通,虚拟机无线上网的解决办法
    mediawiki资料
    mediawiki问题
    JavaEE异常
    前端网站收藏
    依赖注入--setting注入和构造器注入
    Spring注入Bean
    Spring简介
  • 原文地址:https://www.cnblogs.com/wqswjx/p/5802215.html
Copyright © 2020-2023  润新知