Oracle 失败的升级: ”Dbua Thinks This Is A Rerun Operation” ORA-01507

如果自己搞不定可以找诗檀软件专业ORACLE数据库修复团队成员帮您恢复!

诗檀软件专业数据库修复团队

服务热线 : 13764045638 QQ号:47079569 邮箱:[email protected]

适用于:

Oracle Server – Enterprise Edition – 版本10.2.0.1 到 11.2.0.2 [Release 10.2 to 11.2]
Oracle Server – Standard Edition – 版本 10.2.0.1 到11.2.0.2 [Release 10.2 to 11.2]
本文信息适用于任何平台。
16-JUN-2011检查相关性
症状

在选择要升级的数据库/SID,Database Upgrade Assistant (DBUA)会显示弹出窗口,如下:

 

Getting Database Information.  Please Wait…

 

然后另一个弹出窗口显示:

 

DBUA thinks this is a Rerun operation and is trying to
connect to the database with the oracle home
<full path of $ORACLE_HOME>.  If you believe this is
not a Rerun operation, remove the below file and invoke
DBUA again.
<full path to $ORACLE_HOME>/cfgtoollogs/dbua/logs/Welcome_<$ORACLE_SID>.txt


在以上错误信息中删除命名的文件无法解决错误。

原因

该问题可能由于多个不同原因导致:

  1. 之前的升级失败强制数据库关闭,所以数据库不被mount或打开。
  2. 数据库被mount但不在所需的’startup upgrade’ 模式。
  3. 在升级失败后尝试后续运行DBUA会创建DBUA找到的目录并避免继续。

解决方案

  1. 在第一句声明”null”的情况下:
  2. 立即关闭数据库
    b. 启动升级
    c. 重新运行DBUA
  3. 在第一句声明”ORA-01507 – database is not mounted”的情况下:
  4. 验证它是mounted/open 或闲置。
    b. 启动升级
    c. 重新运行DBUA
  5. 如果数据库已启动且在’startup upgrade’模式,则错误的原因可能是upgrade目录的出现:
  6. 在被升级的数据库的$ORACLE_ HOME/cfgtoollogs/dbua/<$ORACLE_SID> 中,
    有多个upgrade目录(即upgrade, upgrade0, …., upgradeN
    b. $ cd $ORACLE_HOME/cfgtoollogs/dbua/<$ORACLE_SID>
    c. $ rm -rf upgrade*
    d. 重新运行 DBUA

: 如果”startup upgrade”命令失败,这需要被分别调查。

列出该错误的原因超出本文的范围。


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *