oracle 配置监听

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

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlQAAABUCAIAAADLZT5XAAAIwklEQVR4nO3d0ZXjNgyFYdeWbnLSSRrKg5rYlJI0sHnY2VmFBMALkJbH4v+dPMiUBIEURexkbM/j2z/f//jr+2+///kAAGATFD8AwHYofgCA7VD8AADbofgBALZD8QMAbIfit9xxHK9O4Z0cP706kXfF0AEVffE7L0bNc9WvU6xcvc/RKIzM8X+Fi76cl7/Z7m0Hjdnx8Q72hro2pb1T9Dhxv+JdqVR193i0z6vZDbqDZZri168C55fD7bhxB/2KPxPh7YbR677S7hVLJb6Sj3JubfA/19amMVWh9ZfiriXebgaavHmIrQXF78z8h/PwlNRUOy8W5r/EzcIstivXPZ/SJGPuMi9hLlte/l78PlqfgBlKia+MQ9ModsHrvtLuZeidaL4cdjB1rhjc62MtSP8yjmDOwJn7WMvfu27TrkQzj+8nW79L6Zc3CEH+uK3gf3se4RN4hM98cOLwsGZmZw8LTh+m53VZyce8XDCMq7aVlslxGAY3F50ggX4x8pLMDrjHuzXeYleIPB8nuygPW2buYyr/+P7q0VY9j8GCUHiucU/xG16CBztVYLKT3mufLxJeeuai422vWoxS8eN+Dde1Ryh1reD44eLbdO24pPjNdH94otmvyQzF+Vyeb3p65aEw27NxvEyG8VfNT9zZ2uK36uH32pVFYfjA62kEi7J4LWXtrj2o8YXE/JU8U/0Sq0h/vLfiKAMYyx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epri19wWITiBwC4Uv87v+ybXIJtfucHAPiKzDe86H9X7+ic46gofgCAK6U+5G7WuQUofgCAK/ENLwCA7VD8AADbofgBALbzJYofAAAX+g/9tH0YJRC0KQAAAABJRU5ErkJggg==" alt="" />

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

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)
)
)

global_dbname

sid_name

service_name

instance_name

上一篇:微信JS接口汇总及使用详解


下一篇:ajax无法跳转页面的问题,