免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1799 | 回复: 4
打印 上一主题 下一主题

linux下oracle问题,帮我看看这是怎么回事? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-04-29 11:16 |只看该作者 |倒序浏览
[oracle@datanewtest oracle]$ lsnrctl status

LSNRCTL for Linux: Version 9.2.0.4.0 - Production on 29-APR-2007 11:11:23

Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=datanewtest)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 9.2.0.4.0 - Production
Start Date                29-APR-2007 10:57:40
Uptime                    0 days 0 hr. 13 min. 42 sec
Trace Level               off
Security                  OFF
SNMP                      OFF
Listener Parameter File   /u01/app/oracle/product/9.2.0/network/admin/listener.ora
Listener Log File         /u01/app/oracle/product/9.2.0/network/log/listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=datanewtest)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=datanewtest)(PORT=8080))(Presentation=HTTP)(Session=RAW))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=datanewtest)(PORT=2100))(Presentation=FTP)(Session=RAW))
Services Summary...
Service "oratest" has 2 instance(s).
  Instance "oratest", status UNKNOWN, has 1 handler(s) for this service...
  Instance "oratest", status READY, has 1 handler(s) for this service...
Service "oratestXDB" has 1 instance(s).
  Instance "oratest", status READY, has 1 handler(s) for this service...
The command completed successfully

我启动linux系统后,启动监听:lsnrctl start   启动数据库实例:/ as sysdba 下  startup命令
然后我用lsnrctl status查看,信息如上,发现
Service "oratest" has 2 instance(s).
Instance "oratest", status UNKNOWN, has 1 handler(s) for this service...怎么会有2个oratest

论坛徽章:
0
2 [报告]
发表于 2007-04-29 11:51 |只看该作者
怎么没人啊?

论坛徽章:
0
3 [报告]
发表于 2007-04-30 15:12 |只看该作者
我刚学oracle也不懂,顶你一下

论坛徽章:
0
4 [报告]
发表于 2007-05-02 01:35 |只看该作者
原帖由 zhbl 于 2007-4-29 11:16 发表
[oracle@datanewtest oracle]$ lsnrctl status

LSNRCTL for Linux: Version 9.2.0.4.0 - Production on 29-APR-2007 11:11:23

Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.

Co ...


你是不是创建了listener.ora,并且显式定义了一个oratest的listener.
oracle9i会自动创建一个缺省的listener instance(shared server)。

这两个监听instance,一个是监听dedicated server方式的连接,一个是监听shared server方式的连接

论坛徽章:
0
5 [报告]
发表于 2007-05-03 21:47 |只看该作者
oracle创建后有一个默认的listener.ora,你可以把你创建的删掉试试,只要能远程连接上就可以了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP