Oracle 静态监听注册详解(2)

Total System Global Area  461373440 bytes
 Fixed Size                  1220000 bytes
 Variable Size              75498080 bytes
 Database Buffers          381681664 bytes
 Redo Buffers                2973696 bytes
 Database mounted.
 Database opened.
 SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 11.2.0.1.0 - Production
 With the Partitioning, OLAP and Data Mining options


 

可以看到 
Service "WOO.COM" has 1 instance(s).
  Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
正在被监听。

4、验证该服务可以到达


[oracle@prudent oracle]$ tnsping WOOORCL

TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 13-FEB-2011 20:14:59

Copyright (c) 1997, 2005, Oracle.  All rights reserved.

Used parameter files:
 /mydatafile2/app/oracle/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora


 Used TNSNAMES adapter to resolve the alias
 Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = prudent)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = WOO.COM)))
 OK (10 msec)


5、利用静态注册的服务登入oracle
 

[oracle@prudent oracle]$ sqlplus system/oracle@WOOORCL
SQL*Plus: Release 11.2.0.1.0 - Production on Sun Feb 13 20:17:27 2011

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


 Connected to:
 Oracle Database 10g Enterprise Edition Release 11.2.0.1.0 - Production
 With the Partitioning, OLAP and Data Mining options

SQL> select count(*) from date_log;

COUNT(*)
 ----------

SQL>
 

至此:已验证该静态注册可以成功的被解析,监听,连接。

Oracle数据库监听非常慢,基本hang住故障处理

Oracle监听之动态监听与静态监听特点

Oracle 11g RAC 环境下单实例非缺省监听及端口配置

Oracle 监听器日志配置与管理

Oracle错误- ORA-12514:TNS:无监听程序

ORA-12514 监听错误解决

Oracle监听器出现的6种连接问题及其解决方法

Oracle LISTENER 未监听到Oracle实例问题解决

设置 Oracle 监听器密码(LISTENER)

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/47a00ae04444a46631b1ab04cf285952.html