选择显示字体大小

oracle数据库在一台机器配置两个listener

问题:一台机器同时装两套数据库时(实例名o8161,o8151),无法同时启动两个listener,当启动第二个listener时,显示错误。

  $ lsnrctl start

  lsnrctl for ibm/aix risc system/6000: version 8.1.5.0.0 - production on 14-sep-00 09:25:17

  (c) copyright 1998 oracle corporation. all rights reserved.

  tns-01106: listener using listener name listener has already been started

  $ oerr tns 1106
  01106, 00000, "listener using listener name %s has already been started"
  // *cause: another listener is already listening on one of the addresses
  // specified.
  // *action: shutdown the previous listener specified by the listener name
  // before starting this one.

  问题产生原因:
  两个实例的listener.ora中ipc协议的key是相同,而一个系统中key必须是唯一的.

  解决办法:
  修改key的值即可。修改后的文件信息:

  o8161实例:(没有修改)


  # listener.ora configuration file:/oracle/dbs/opstemp/szpcac1.network/admin/listener.ora
  # generated by oracle configuration tools.

  listener =
  (description_list =
  (description =
  (address_list =
  (address = (protocol = ipc)(key = extproc0))
  )
  (address_list =
  (address = (protocol = tcp)(host = loopback)(port = 1521))
  )
  )
  (description =
  (protocol_stack =
  (presentation = giop)
  (session = raw)
  )
  (address = (protocol = tcp)(host = loopback)(port = 2481))
  )
  )

  sid_list_listener =
  (sid_list =
  (sid_desc =
  (sid_name = plsextproc)
  (oracle_home = /oracle)
  (program = extproc)
  )
  (sid_desc =
  (oracle_home = /oracle)
  (sid_name = o8161)
  )
  )



  08151实例:(经过修改)


  # listener.ora configuration file:/ora815.network/admin/listener.ora
  # generated by oracle.net8 assistant

  listener =
  (description_list =
  (description =
  (address_list =
  (address = (protocol = ipc)(key = testo815))
  )
  (address_list =
  (address = (protocol = tcp)(host = loopback)(port = 1526))
  )
  )
  )

  sid_list_listener =
  (sid_list =
  (sid_desc =
  (sid_name = ora8151)
  (oracle_home = /ora815)
  (program = extproc)
  )
  )


 


关键字 本文所属关键字

相关 与本文相关文章

分类 所有文章关键字导航

源码编程相关

Java   Asp   PHP   .Net   XML   C/C++   CGI   VB   Jsp   J2ee   J2se   J2me   EJB   Servlet   Tomcat   Resin   Struts   Weblogic   Eclipse   ANT   GUI   JMS   Web servise   IDEA   Webphere   Hibernate   Spring   Jboss   Applet   Swing   Socket   Javamail   Perl   Ajax   P2P   安全   模式   框架   测试   开源   游戏

SQL数据库相关

My-SQL   Ms-SQL   Access   DB2   Oracle   Sybase   SQLserver   索引   存储过程   加密   数据库   分页   视图  

手机无线相关

3G   Wap   CDMA   GRPS   GSM   IVR   彩信   短信   无线   增值业务

网页设计制作相关

HTML   CSS   网页配色   网页特效   Javascript   VBscript   Dreamweaver   Frontpage   JS   Web   网站设计

网站建设推广相关

建站经验   网站优化   网站排名   推广   Alexa

操作系统/服务器相关

Windows XP   Windows 2000   Windows 2003   Windows Me   Windows 9.x   Linux   UNIX   注册表   操作系统   服务器   应用服务器

图形图像多媒体相关

Photoshop   Fireworks   Flash   Coreldraw   Illustrator   Freehand   Photoimpact   多媒体   图形图像

标准 网站致力的规范

Valid CSS!

无不良内容,无不良广告,无恶意代码

Valid XHTML 1.0 Transitional

creativecommons