首页 新闻 会员 周边 捐助

centos下oracle监听文件的错误

0
悬赏园豆:30 [待解决问题]

# listener.ora Network Configuration File: /opt/oracle/app/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
(SID_LIST =
  (SID_DESC =
  (GLOBAL_DBNAME=orcl)
  (SID_NAME=orcl)
  (ORACLE_HOME=/opt/oracle/app/product/11.2.0/dbhome_1)
  )
)
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
     (ADDRESS = (PROTOCOL = TCP)(HOST = wangmeng)(PORT = 1521))
    )
  )

ADR_BASE_LISTENER = /opt/oracle/app

~   

这个是我的监听文件  运行老是出现一下错误:

Starting /opt/oracle/app/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /opt/oracle/app/product/11.2.0/dbhome_1/network/admin/listener.ora
Log messages written to /opt/oracle/app/diag/tnslsnr/oracledb/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date                13-MAR-2017 12:35:34
Uptime                    0 days 0 hr. 1 min. 3 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /opt/oracle/app/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File         /opt/oracle/app/diag/tnslsnr/oracledb/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "orcl" has 1 instance(s).
  Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully

王蒙Wmmm的主页 王蒙Wmmm | 初学一级 | 园豆:174
提问于:2017-03-13 12:39
< >
分享
所有回答(1)
0

路径设置错误了。更改路径后可以正常连接了

王蒙Wmmm | 园豆:174 (初学一级) | 2017-03-14 13:50
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册