oracle监听报错
Posted lodger47
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了oracle监听报错相关的知识,希望对你有一定的参考价值。
[oracle@oracle11g admin]$ cat listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = oracle11g)(PORT = 1521))
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(SID_NAME = orcl)
)
)
ADR_BASE_LISTENER = /u01/app/oracle
强行注册
登录数据库:
$sqlplus / as sysdba
显示服务名:
SQL>show parameter service_names
强制注册服务:
SQL>alter system register;
查看监听状态:
$lsnrctl status
以上是关于oracle监听报错的主要内容,如果未能解决你的问题,请参考以下文章
打开Plsql报错 ORA-12541:TNS:无监听程序 求解决办法
windows下如何监控oracle服务是不是正常,监听是不是正常,log有无报错?
Oracle 监听 启动报错 tns-12560 tns-00530 linux error:20:not a directory 解决方法