免费注册 查看新帖 |

Chinaunix

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

10g数据库监听启动问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-11-17 12:08 |只看该作者 |倒序浏览
在red hat as4装oracle 10 2 ,错误如下:
lsnrctl start

LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 17-NOV-2005 12:06:30

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

Starting /opt/oracle/product/10.1.0/Db_1/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /opt/oracle/product/10.1.0/Db_1/network/admin/listener.ora
Log messages written to /opt/oracle/product/10.1.0/Db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=database.domain.com)(PORT=1521)))

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
  TNS-00511: No listener
   Linux Error: 111: Connection refused


我的listener.ora文件:
# listener.ora Network Configuration File: /opt/oracle/product/10.1.0/Db_1/netwo
rk/admin/listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LS1 =
  (SID_LIST =
    (SID_DESC =
      (GLOBAL_DBNAME = ls1)
      (ORACLE_HOME = /opt/oracle/product/10.1.0/Db_1)
      (SID_NAME = ORCL)
    )
  )

LS1 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.27.1.123)(PORT = 1521))
  )



请指点,我建的数据库ls1,全名:ls1.qdedu.com

论坛徽章:
0
2 [报告]
发表于 2005-11-17 13:20 |只看该作者
你建立的监听器名字叫LS1,使用lsnrctl start LS1看看

论坛徽章:
0
3 [报告]
发表于 2005-11-17 14:46 |只看该作者
lsnrctl start LS1

LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 17-NOV-2005 14:43:55

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

TNS-01106: Listener using listener name LISTENER has already been started
[oracle@database ~]$ lsnrctl start ls1

LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 17-NOV-2005 14:44:10

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

TNS-01106: Listener using listener name LISTENER has already been started


我的监听也启动了
tcp        0      0 172.27.1.123:1521           172.27.1.123:33725          TIME_WAIT
tcp        0      0 172.27.1.123:1521           172.27.1.123:33722          TIME_WAIT

可是我用客户端去连接可还是提示15214无监听
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP