oracle listener 监听启动不起来处理案例一则

教程发布:风哥 教程分类:ITPUX技术网 更新日期:2022-02-12 浏览学习:31

oracle listener 监听启动不起来处理案例一则

环境: oracle 10.2.0.4 +AIX 6.1

问题: 监听启动不成功

$ lsnrctl start
LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production on 26-OCT-2011 07:37:20
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /software/oracle/product/10.2/db_1/bin/tnslsnr: please wait...
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
IBM/AIX RISC System/6000 Error: 29: Illegal seek

ps -ef|grep tns
监听进程不存在

处理过程

用netca删除监听和重配监听
配置监听时提示已经在运行

检查/etc/hosts文件
#127.0.0.1 loopback localhost # loopback (lo0) name/address
100.1.1.65 db10-new

发现127.0.0.1已经注释掉
取消注释,显示如下:
127.0.0.1 loopback localhost # loopback (lo0) name/address 100.1.1.65 db10-new

启动监听成功:
$ lsnrctl start
LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production on 26-OCT-2011 07:37:50
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /software/oracle/product/10.2/db_1/bin/tnslsnr: please wait...
TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production
System parameter file is /oracle/product/10.2/db_1/network/admin/listener.ora
Log messages written to /oracle/product/10.2/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db10-new)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=db10-new)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production
Start Date 26-OCT-2011 07:37:52
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP ON
Listener Parameter File /oracle/product/10.2/db_1/network/admin/listener.ora
Listener Log File /oracle/product/10.2/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db10-new)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully

本文标签:
网站声明:本文由风哥整理发布,转载请保留此段声明,本站所有内容将不对其使用后果做任何承诺,请读者谨慎使用!
【上一篇】
【下一篇】