码迷,mamicode.com
首页 > 其他好文 > 详细

TNS-01189: The listener could not authenticate the user

时间:2016-08-24 12:55:35      阅读:192      评论:0      收藏:0      [点我收藏+]

标签:

数据库服务器让系统管理员修改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
 

TNS-01189: The listener could not authenticate the user

标签:

原文地址:http://www.cnblogs.com/wqswjx/p/5802215.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!