最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
问答文章1 问答文章501 问答文章1001 问答文章1501 问答文章2001 问答文章2501 问答文章3001 问答文章3501 问答文章4001 问答文章4501 问答文章5001 问答文章5501 问答文章6001 问答文章6501 问答文章7001 问答文章7501 问答文章8001 问答文章8501 问答文章9001 问答文章9501
当前位置: 首页 - 科技 - 知识百科 - 正文

RAChosts没有配置导致TNS-12541:TNS:nolistener

来源:懂视网 责编:小采 时间:2020-11-09 12:36:20
文档

RAChosts没有配置导致TNS-12541:TNS:nolistener

RAChosts没有配置导致TNS-12541:TNS:nolistener:RAC hosts没有配置导致TNS-12541: TNS:no listener TNS-12541: TNS:no listener 这次错误我总结一下有三种情况 1. 本地监听程序没有开起来 2. 服务器网络到客户端网络不通 3. Hosts里面配置问题 [Oracle@his1 admin]$ tnsp
推荐度:
导读RAChosts没有配置导致TNS-12541:TNS:nolistener:RAC hosts没有配置导致TNS-12541: TNS:no listener TNS-12541: TNS:no listener 这次错误我总结一下有三种情况 1. 本地监听程序没有开起来 2. 服务器网络到客户端网络不通 3. Hosts里面配置问题 [Oracle@his1 admin]$ tnsp

RAC hosts没有配置导致TNS-12541: TNS:no listener

TNS-12541: TNS:no listener
这次错误我总结一下有三种情况
1. 本地监听程序没有开起来
2. 服务器网络到客户端网络不通
3. Hosts里面配置问题

[Oracle@his1 admin]$ tnsping crds3db2 客户端tnsping提示程序无监听

TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 28-MAY-2014 11:11:57

Copyright (c) 1997, 2010, Oracle. All rights reserved.

Used parameter files:

Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.8)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = crds3db)))
TNS-12541: TNS:no listener
到oracle用户查看监听状态为正常,但是有一个节点1ip没有注册到节点2监听上面
[oracle@his1 ~]$ lsnrctl status

LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 28-MAY-2014 10:56:09

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

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 28-MAY-2014 10:09:10
Uptime 0 days 0 hr. 46 min. 59 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /app/grid/product/11.2.0/grid/network/admin/listener.ora
Listener Log File /app/grid/grid_base/diag/tnslsnr/his1/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.20.6)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "crds3db" has 1 instance(s).
Instance "crds3db1", status READY, has 1 handler(s) for this service...
The command completed successfully

[root@his1 admin]# vi /etc/hosts
把里面删除his1 因为两个计算名冲突导致监听只注册到127.0.0.1
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 his1 localhost.localdomain localhost
#::1 localhost6.localdomain6 localhost6
192.168.20.1 his1
192.168.20.2 his2
192.168.20.5 his-scan
192.168.20.6 his1-vip
192.168.20.7 his2-vip
192.168.20.15 hisdg
10.0.0.1 his1-priv
10.0.0.2 his2-priv
[grid@his2 ~]$ lsnrctl status

LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 28-MAY-2014 11:18:14

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

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 28-MAY-2014 11:06:52
Uptime 0 days 0 hr. 11 min. 22 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /app/grid/product/11.2.0/grid/network/admin/listener.ora
Listener Log File /app/grid/grid_base/diag/tnslsnr/his2/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.20.2)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.20.7)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM2", status READY, has 1 handler(s) for this service...
Service "crds3db" has 1 instance(s).
Instance "crds3db2", status READY, has 1 handler(s) for this service...
The command completed successfully
C:\Users\oracle>tnsping crds3db

TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 28-5月 -
2014 11:32:16

Copyright (c) 1997, 2010, Oracle. All rights reserved.

已使用的参数文件:
D:\app\mxq\product\11.2.0\dbhome_1\network\admin\sqlnet.ora

声明:本网页内容旨在传播知识,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

文档

RAChosts没有配置导致TNS-12541:TNS:nolistener

RAChosts没有配置导致TNS-12541:TNS:nolistener:RAC hosts没有配置导致TNS-12541: TNS:no listener TNS-12541: TNS:no listener 这次错误我总结一下有三种情况 1. 本地监听程序没有开起来 2. 服务器网络到客户端网络不通 3. Hosts里面配置问题 [Oracle@his1 admin]$ tnsp
推荐度:
标签: hosts 配置 TNS-12541
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top