rman catalog 遇到的一个错误

[oracle@source admin]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.3.0 Production on Thu Jun 22 09:57:57 2017

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

Connected to:

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

SQL> Create tablespace gg datafile '/u01/app/oracle/oradata/EMREP/gg01.dbf' size 100m;

Tablespace created.

SQL> Create user catalog identified by catalog default tablespace gg quota unlimited on gg temporary tablespace temp1;

User created.

SQL> Grant recovery_catalog_owner to catalog;

Grant succeeded.

[oracle@source admin]$ rman catalog catalog/catalog

Recovery Manager: Release 11.2.0.3.0 - Production on Thu Jun 22 10:01:11 2017

Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

connected to recovery catalog database

RMAN> create catalog;

recovery catalog created

RMAN> exit

[oracle@source admin]$ rman target sys/******@prod1 catalog catalog/catalog;

Recovery Manager: Release 11.2.0.3.0 - Production on Thu Jun 22 10:03:19 2017

Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

connected to target database: PROD1 (DBID=2167465150)
connected to recovery catalog database

RMAN> register database;

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of show command at 06/22/2017 09:47:56
RMAN-03014: implicit resync of recovery catalog failed
RMAN-03009: failure of full resync command on default channel at 06/22/2017 09:47:56
ORA-19550: cannot use backup/restore functions while using dispatcher
 

经分析后,在TNSNAME.ORA 文档中添加如下内容:

PROD1 =

  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = SOURCE)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = PROD1.oracle.com)
    (server=dedicated)
    )
  )

问题解决。

做BACKUP时只能用独占方式连结.加上(server=dedicated),说明使用独占连接

原因是在登录时使用了服务名:rman target sys/*****@prod1

  

转载于:https://www.cnblogs.com/7798456shunqian/p/7063495.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值