码迷,mamicode.com
首页 > 数据库 > 详细

Oracle 11g 配置方面的问题

时间:2014-11-01 20:23:21      阅读:243      评论:0      收藏:0      [点我收藏+]

标签:des   style   io   os   ar   for   sp   文件   on   

# listener.ora Network Configuration File: d:\app\Administrator\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST =Myserver)(PORT = 1521))
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
  )

ADR_BASE_LISTENER = d:\app\Administrator

 

监听配置中,要注意 Host=计算机名字 ,如果写成127.0.0.1,会导致远程的电脑无法连接,

因为1521端口跑到 127.0.0.1上了,远程的端口无法开启

 

注意:

D:\app\Administrator\product\11.2.0\dbhome_1\database\oradim.log 这个文件中保存有服务开启时的日志

报如下错误:
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name ‘LISTENER_ORCL‘

问题处理过程:
1、修改tnsnames.ora文件,添加下面的语句:
# tnsnames.ora Network Configuration File: d:\app\Administrator\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

ORA11 =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME =ORA11)
    )
  )

LISTENER_ORA11 =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))

Oracle 11g 配置方面的问题

标签:des   style   io   os   ar   for   sp   文件   on   

原文地址:http://www.cnblogs.com/ccsoft/p/4067650.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!