不胜人生一场醉

暂无签名

  • 博客访问: 414472
  • 博文数量: 176
  • 用 户 组: 普通用户
  • 注册时间: 1970-01-01 08:00
个人简介

鏆傛棤浠嬬粛

ITPUB论坛APP

ITPUB论坛APP



APP发帖 享双倍积分

文章分类
文章存档

2008年(7)

2007年(128)

2006年(41)

我的朋友
微信关注

IT168企业级官微



微信号:IT168qiye



系统架构师大会



微信号:SACC2013

订阅
热词专题

分类: Oracle

自从有了10g被该死的侦听器折磨好几次了,估计该遇到的问题全遇到了。。。
这个只是其中一个小小的问题...
[@more@]

好好的报表服务器的数据库突然有人说登陆不了了,PL/SQLdeveloper登陆报Ora-12541:TNS:没有监听器的错误,而SQLPlus以本机登陆却是好好的,百思不得其解;因项目原因还是自己动手尽快解决吧。

1. 手工在windows的服务中重启tns监听服务,起不来

2. Check windowsapplication日志,未发现有价值消息

3. Check windowssystem日志,未发现有价值消息

4. 手工在命令行方式下查看lsnrctl statuslsnrctl start,发现在start过程中TNS-12545: Connect failed because target host or object does not exist

5. 核对机器名和listener.ora中的机器名发现不一致,修改好重新启动,一切OK

NND,原来被那些搞公司系统检查的人把机器名给改了,连个通知也没有!:mad:

Microsoft Windows [Version 5.2.3790]

(C) Copyright 1985-2003 Microsoft Corp.

C:Documents and SettingsAdministrator>lsnrctl

LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 03-JAN-2008 09:54:54

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

Welcome to LSNRCTL, type "help" for information.

LSNRCTL> status

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))

TNS-12541: TNS:no listener

TNS-12560: TNS:protocol adapter error

TNS-00511: No listener

32-bit Windows Error: 2: No such file or directory

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PRCSGI00883.ad.infosys.c

om)(PORT=1521)))

TNS-12541: TNS:no listener

TNS-12560: TNS:protocol adapter error

TNS-00511: No listener

32-bit Windows Error: 61: Unknown error

LSNRCTL> start

Starting tnslsnr: please wait...

TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production

System parameter file is D:oracleproduct10.2.0db_1networkadminlistener.ora

Log messages written to D:oracleproduct10.2.0db_1networkloglistener.log

Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=.pipeEXTPROC1ipc

)))

Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PRCSGI00883.ad.inf

osys.com)(PORT=1521)))

TNS-12545: Connect failed because target host or object does not exist

TNS-12560: TNS:protocol adapter error

TNS-00515: Connect failed because target host or object does not exist

32-bit Windows Error: 49: Unknown error

Listener failed to start. See the error message(s) above...

--Modify the IP address in listener.ora then start

LSNRCTL> start

Starting tnslsnr: please wait...

TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production

System parameter file is D:oracleproduct10.2.0db_1networkadminlistener.ora

Log messages written to D:oracleproduct10.2.0db_1networkloglistener.log

Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=.pipeEXTPROC1ipc

)))

Listeningon: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PRCSGI01177.ad.infosys.com)(PORT=1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))

STATUS of the LISTENER

------------------------

Alias LISTENER

Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production

Start Date 03-JAN-2008 09:57:02

Uptime 0 days 0 hr. 0 min. 3 sec

Trace Level off

Security ON: Local OS Authentication

SNMP OFF

Listener Parameter File D:oracleproduct10.2.0db_1networkadminlistener.ora

Listener Log File D:oracleproduct10.2.0db_1networkloglistener.log

Listening Endpoints Summary...

(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=.pipeEXTPROC1ipc)))

(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PRCSGI01177.ad.infosys.com)(PORT=152

1)))

Services Summary...

Service "PLSExtProc" has 1 instance(s).

Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...

The command completed successfully

LSNRCTL>

阅读(2593) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
评论热议
请登录后评论。

登录 注册