博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
oracle 配置监听
阅读量:6477 次
发布时间:2019-06-23

本文共 1666 字,大约阅读时间需要 5 分钟。

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = raccontroller.cc)(PORT = 1521))
    )
  )
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (GLOBAL_DBNAME = orcl.raccontroller.cc)
      (SID_NAME = orcl)
      (ORACLE_HOME = /ruiy/ocr/DBSoftware/app/oracle/product/11.2.0/dbhome_1)
    )
  )
ADR_BASE_LISTENER = /ruiy/ocr/DBSoftware/app/oracle

 

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

就是你的/ruiy/ocr/DBSoftware/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora中建的监听,没在tnsnames.ora中加

listener.ora文件Example

LISTENER =  (DESCRIPTION_LIST =    (DESCRIPTION =      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))      (ADDRESS = (PROTOCOL = TCP)(HOST = raccontroller.cc)(PORT = 1521))    )  )SID_LIST_LISTENER =  (SID_LIST =    (SID_DESC =      (GLOBAL_DBNAME = orcl.raccontroller.cc)      (SID_NAME = orcl)      (ORACLE_HOME = /ruiy/ocr/DBSoftware/app/oracle/product/11.2.0/dbhome_1)    )   (SID_DESC =      (GLOBAL_DBNAME = ruiy.raccontroller.cc)      (SID_NAME = ruiy)      (ORACLE_HOME = /ruiy/ocr/DBSoftware/app/oracle/product/11.2.0/dbhome_1)    )  )ADR_BASE_LISTENER = /ruiy/ocr/DBSoftware/app/oracle
View Code

tnsnames.ora文件Example

ORCL =  (DESCRIPTION =    (ADDRESS = (PROTOCOL = TCP)(HOST = raccontroller.cc)(PORT = 1521))    (CONNECT_DATA =      (SERVER = DEDICATED)      (SERVICE_NAME = orcl.raccontroller.cc)    )  )RUIY =  (DESCRIPTION =    (ADDRESS = (PROTOCOL = TCP)(HOST = raccontroller.cc)(PORT = 1521))    (CONNECT_DATA =      (SERVER = DEDICATED)      (SERVICE_NAME = ruiy.raccontroller.cc)    )  )
View Code

 global_dbname

sid_name

service_name

instance_name

转载地址:http://chwuo.baihongyu.com/

你可能感兴趣的文章
SpringBoot 使用Swagger2打造在线接口文档(附汉化教程)
查看>>
Mysql一个表编码的坑,mark一下
查看>>
JS动态事件绑定问题
查看>>
在WPF应用程序中利用IEditableObject接口实现可撤销编辑的对象
查看>>
android 8 wifi wifi 扫描过程
查看>>
phalcon的save方法保存失败?
查看>>
获取任意链接文章正文 API 功能简介
查看>>
js中Math.random()生成指定范围数值的随机数
查看>>
线程类的常见方法介绍
查看>>
Spring连接数据库的几种常用的方式
查看>>
MS CRM 2011 Schedule Report & Email Subscription
查看>>
Linux2.6内核驱动移植参考
查看>>
eclipse打开当前文件所在文件夹
查看>>
去哪儿搜索引擎QSearch设计与实现
查看>>
POJ 2255 Tree Recovery (二叉树)
查看>>
HDU 1026 Ignatius and the Princess I
查看>>
There are two ways for Datatable download as excel
查看>>
TextBox客户端JS赋值 后台获取(转载)
查看>>
imx6 uboot lcd
查看>>
DMA-330(二)
查看>>