RMAN远程连接类型错误
在使用客户端连接服务器的时候提示错误的请求的服务器类型:
C:\Users\Administrator\Desktop\v>rman
恢复管理器: Release 11.2.0.3.0 - Production on 星期三 8月 28 16:38:34 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
RMAN> CONNECT TARGET SYS/000000@GT11G105
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-12520: TNS: 监听程序无法为请求的服务器类型找到可用的处理程序
RMAN> EXIT
恢复管理器完成。
C:\Users\Administrator\Desktop\v>TNSPING GT11G105
TNS Ping Utility for 64-bit Windows: Version 11.2.0.3.0 - Production on 28-8月 -
2013 16:39:16
Copyright (c) 1997, 2011, Oracle. All rights reserved.
已使用的参数文件:
c:\u01\oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
已使用 TNSNAMES 适配器来解析别名
尝试连接 (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.105)(PORT
= 1521)) (CONNECT_DATA = (SERVER = SHARED) (SERVICE_NAME = GT11G)))
OK (10 毫秒)
原因是RMAN要使用DEDICATED也就是专用服务器类型才能连接,而不能使用MTS的shared连接,修改后即可正常连接:
C:\Users\Administrator\Desktop\v>TNSPING GT11G105
TNS Ping Utility for 64-bit Windows: Version 11.2.0.3.0 - Production on 28-8月 -
2013 16:39:26
Copyright (c) 1997, 2011, Oracle. All rights reserved.
已使用的参数文件:
c:\u01\oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
已使用 TNSNAMES 适配器来解析别名
尝试连接 (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.105)(PORT
= 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = GT11G)))
OK (0 毫秒)
C:\Users\Administrator\Desktop\v>rman
恢复管理器: Release 11.2.0.3.0 - Production on 星期三 8月 28 16:39:28 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
RMAN> CONNECT TARGET SYS/000000@GT11G105
已连接到目标数据库: GT11G (DBID=2374906317)
RMAN>
-EOF-