设为首页 加入收藏

TOP

oracle共享服务连接静态注册服务(二)
2015-11-21 02:08:36 来源: 作者: 【 】 浏览:3
Tags:oracle 共享 服务 连接 静态 注册
istener could not find instance appropriate for the client connection

将共享服务注册到静态监听里面
修改参数
alter system set dispatchers='(PROTOCOL=TCP)(DISPATCHERS=3)(SERVICE=PROD3,PROD3.ORACLE.COM)';
指定service参数

[oracle@server1 admin]$ lsnrctl services

LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 20-APR-2015 15:49:42

Copyright (c) 1991, 2011, Oracle. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=server1)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "PROD3" has 1 instance(s).
Instance "PROD3", status READY, has 4 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
"D002" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER 
(ADDRESS=(PROTOCOL=tcp)(HOST=server1)(PORT=31428))
"D001" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER 
(ADDRESS=(PROTOCOL=tcp)(HOST=server1)(PORT=57907))
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER 
(ADDRESS=(PROTOCOL=tcp)(HOST=server1)(PORT=64757))
Service "prod3.oracle.com" has 2 instance(s).
Instance "PROD3", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Instance "PROD3", status READY, has 3 handler(s) for this service...
Handler(s):
"D002" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER 
(ADDRESS=(PROTOCOL=tcp)(HOST=server1)(PORT=31428))
"D001" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER 
(ADDRESS=(PROTOCOL=tcp)(HOST=server1)(PORT=57907))
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER 
(ADDRESS=(PROTOCOL=tcp)(HOST=server1)(PORT=64757))
The command completed successfully

现在以共享服务器访问:
?

[oracle@server1 admin]$ sqlplus sys/oracle@prod3_s as sysdba

SQL*Plus: Release 11.2.0.3.0 Production on Mon Apr 20 15:50:09 2015

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


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

sys@PROD3>
首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇oracle学习总结(一) 下一篇Oracle父节点及其子节点数据的查询

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: