【问题标题】:error while backing up oracle database using rman使用 rman 备份 oracle 数据库时出错
【发布时间】:2012-04-29 18:43:14
【问题描述】:

这就是我在不登录 oracle 10g 数据库的情况下尝试备份数据库的方式。谁能告诉我为什么会出现这个错误以及我应该如何解决它?

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\sunanda>cd C:\oraclexe

C:\oraclexe>cd app

C:\oraclexe\app>cd oracle

C:\oraclexe\app\oracle>cd product

C:\oraclexe\app\oracle\product>cd 10.2.0

C:\oraclexe\app\oracle\product\10.2.0>cd server

C:\oraclexe\app\oracle\product\10.2.0\server>cd bin

C:\oraclexe\app\oracle\product\10.2.0\server\BIN>dir rman.exe
Volume in drive C has no label.
Volume Serial Number is 40EF-0556

Directory of C:\oraclexe\app\oracle\product\10.2.0\server\BIN

02/02/2006  12:43 AM         1,552,384 rman.exe
           1 File(s)      1,552,384 bytes
           0 Dir(s)  14,177,832,960 bytes free

C:\oraclexe\app\oracle\product\10.2.0\server\BIN>set ORACLE_SID=demo

C:\oraclexe\app\oracle\product\10.2.0\server\BIN>echo %ORACLE_SID%
demo

C:\oraclexe\app\oracle\product\10.2.0\server\BIN>rman target / 

执行此操作后,我收到如下错误:

    Recovery Manager: Release 10.2.0.1.0 - Production on Wed Apr 18 14:46:35 2012

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

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-12560: TNS:protocol adapter error

C:\oraclexe\app\oracle\product\10.2.0\server\BIN>

我尝试搜索有关此错误的信息,但无法确切了解如何解决。 http://www.youtube.com/watch?v=8dA6BYxF_YE&feature=related。这是我在执行此操作时提到的视频。

【问题讨论】:

    标签: oracle rman


    【解决方案1】:

    您已将 ORACLE_SID 设置为 demo - 但没有这样的 SID。检查安装数据库时配置的 SID 并进行相应设置。

    如果您需要查找 SID,请打开服务列表 (Win+R) 输入 services.msc。搜索类似OracleServiceXYZ123 的内容。 OracleService 之后的字符将是 SID

    【讨论】:

    • 你能告诉我我怎样才能找到它吗?我在网上搜索,但只找到了如何设置 ORACLE_SID 的值,而不是应该设置的值。
    • 我对 rman 没有经验,但我不明白为什么需要设置它。它会在您安装 Oracle 时设置。
    【解决方案2】:

    刷新您的共享池;它肯定会奏效。 试试这个:

    SQL> 改变系统刷新 shared_pool;

    系统已更改。

    【讨论】:

      猜你喜欢
      • 2020-02-12
      • 2020-02-25
      • 2014-05-28
      • 1970-01-01
      • 2010-09-09
      • 2017-08-29
      • 2013-12-29
      • 2012-05-19
      相关资源
      最近更新 更多