RMAN恢复报错: ORA-01103: database name 'POWERDES' in control file is not 'PDUNQ'
执行rman恢复的时候报错
RMAN> alter database mount;RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of alter db command at 02/03/2016 21:29:13
ORA-01103: database name 'POWERDES' in control file is not 'PDUNQ'RMAN> exit
解决方案:
SQL> create pfile='/oracle/pfile.12' from spfile;File created.SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@pldb1 ~]$ vim /oracle/pfile.12
*.db_name='powerdes' #这里原来是pdunq,将之换成powerdes即可,然后保存退出[oracle@pldb1 ~]$ rlwrap sqlplus / as sysdbaSQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 3 21:39:56 2016Copyright (c) 1982, 2009, Oracle. All rights reserved.Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL>
SQL> create spfile from pfile='/oracle/pfile.12';File created.SQL> startup nomount
ORACLE instance started.Total System Global Area 1453092864 bytes
Fixed Size 2213416 bytes
Variable Size 855640536 bytes
Database Buffers 587202560 bytes
Redo Buffers 8036352 bytes
SQL>
然后重新rman退出登录执行alter操作搞定,可以alter database mount了
[oracle@pldb1 ~]$ rlwrap rman target /Recovery Manager: Release 11.2.0.1.0 - Production on Wed Feb 3 21:40:55 2016Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.connected to target database: POWERDES (not mounted)RMAN> restore controlfile to '/home/oradata/powerdes/control01.ctl' from '/oracle/c-3391761643-20160203-01';Starting restore at 03-FEB-16
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=20 device type=DISKchannel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
Finished restore at 03-FEB-16RMAN> restore controlfile to '/oracle/app/oracle/flash_recovery_area/powerdes/control02.ctl' from '/oracle/c-3391761643-20160203-01';Starting restore at 03-FEB-16
using channel ORA_DISK_1channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
Finished restore at 03-FEB-16RMAN> alter database mount;database mounted
released channel: ORA_DISK_1RMAN>
RMAN恢复报错: ORA-01103: database name 'POWERDES' in control file is not 'PDUNQ'相关推荐
- RMAN备份恢复报错 ORA-19573: cannot obtain exclusive enqueue for datafile 5
RMAN备份恢复报错 ORA-19573: cannot obtain exclusive enqueue for datafile 5 用vi 编辑了一个数据文件 ,导致下面的错误: 验证还原 RM ...
- 恢复报错ora-01180
https://blog.csdn.net/weixin_34029949/article/details/85997154 最近在验证.测试备份有效性时,遇到了"ORA-01180: ca ...
- Windows自动恢复报错:无法加载操作系统,原因是关键系统驱动程序丢失或包含错误
Windows自动恢复报错:无法加载操作系统,原因是关键系统驱动程序丢失或包含错误 1. 问题 无法加载操作系统,原因是关键系统驱动程序丢失或包含错误 上午因为有点事就没有像往常一样打开电脑,下午回到 ...
- 使用mybatis-plus时候报错Error updating database.subject_parent_id‘ doesn‘t have a default value
使用mybatis-plus时候报错Error updating database. Cause: java.sql.SQLException: Field 'subject_parent_id' d ...
- 【数据库】报错ora 12154 解决方法
Oracle报错 ora 12154 解决办法: 1.确认服务器监听正确打开: 2.确认别名前无空格.
- SQL Server 删除数据库报错 Cannot drop database dbname because it is currently in use
SQL Server 删除数据库报错 Cannot drop database "dbname" because it is currently in use SQL Server ...
- 调用torchtext报错OSError: libtorch_cpu.so: cannot open shared object file: No such file or directory
环境 torch版本1.4.0 报错 报错信息如题.调用torchtext报错 OSError: libtorch_cpu.so: cannot open shared object file: No ...
- pycharm报错:Error configuring SDK: Accessing invalid virtual file: 解决办法
pycharm报错:Error configuring SDK: Accessing invalid virtual file: 解决办法: 针对linux系统, 删除home目录下pycharm配置 ...
- Appinum:在使用安卓模拟器定位页面元素时启动uiautomatorviewer.bat ,但是报错: Error while obtaining UI hierarchy XML file: c
在使用安卓模拟器定位页面元素时启动uiautomatorviewer.bat ,但是报错: Error while obtaining UI hierarchy XML file: com.andro ...
最新文章
- mysql 去掉复合索引_MySQL性能优化[实践篇]-复合索引实例
- 1017: 成绩大排队
- 文件系统位于服务器,如何访问hadoop文件系统上的文件,该文件系统位于与本地计算机不同的服务器上?...
- 查漏补缺:2020年搞定SpringCloud面试(含答案和思维导图)
- python数据可视化源码_Python数据分析:数据可视化实战教程
- 微信公众号-接口配置信息url和tokken
- VB.NET DataGridView与数据库的连接
- bulk insert java_java oracle bulk insert
- 国科大UCAS大气物理期末复习笔记/大气物理基础入门
- resin 配置java_resin安装与配置
- (三)碳排放如何计算
- windows10系统自带linux子系统(WSL)的安装目录
- pcl点云特征提取 法线估计 PFH FPFH NARF 惯量偏心矩 RoPs特征 视点特征直方图VFH GASD特征
- linux 下dump的使用
- 七牛云 vue 图片上传简单解说,js 上传文件图片
- 【逗老师带你学IT】Kiwi Syslog转存MySQL数据库
- 全息投影在博物馆中有哪些作用
- 独家 | 处理非结构化数据的7个实例(附链接)
- 什么是放射性活度,半衰期,照射量和吸收剂量?
- brew 一直等待_58岁上海股神自爆交易铁则:80%时间的等待+20%的时间操作,精髓...