ORA-01111: name for data file 119 is unknown - rename to correct file
原创
©著作权归作者所有:来自51CTO博客作者zylhsy的原创作品,请联系作者获取转载授权,否则将追究法律责任
背景:
新建设的DATAGUARD数据库,主库早上某表空间增加数据裸设备rdata91_disk作为数据文件后从库应用日志失败。
经查因为standby_file_management状态非AUTO引起。
现象:ORACLE从库出现如下错误:
Media Recovery Log /archivelog/archive_1_41730_614088933.arc
File #119 added to control file as 'UNNAMED00119' because
the parameter STANDBY_FILE_MANAGEMENT is set to MANUAL
The file should be manually created to continue.
Errors with log /archivelog/archive_1_41730_614088933.arc
Some recovered datafiles maybe left media fuzzy
Media recovery may continue but open resetlogs may fail
执行alter database recover managed standby database disconnect from session;出现如下错误:
Mon Dec 17 11:27:54 2012
Errors in file /home/oracle/admin/lstandby/bdump/lstandby_mrp0_495730.trc:
ORA-01111: name for data file 119 is unknown - rename to correct file
ORA-01110: data file 119: '/home/oracle/database/dbs/UNNAMED00119'
ORA-01157: cannot identify/lock data file 119 - see DBWR trace file
ORA-01111: name for data file 119 is unknown - rename to correct file
ORA-01110: data file 119: '/home/oracle/database/dbs/UNNAMED00119'
解决方法:
alter database rename file '/home/oracle/database/dbs/UNNAMED00119' to '/dev/rdata91_disk';
ALTER DATABASE CREATE DATAFILE '/dev/rdata91_disk';
或者
ALTER DATABASE CREATE DATAFILE '/home/oracle/database/dbs/UNNAMED00120' AS '/dev/rdata92_disk';
最后不要忘记
ALTER SYSTEM SET STANDBY_FILE_MANAGEMENT=AUTO;
上一篇:sqlldr笔记
下一篇:转:linux下挂载移动硬盘
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
DataGuard ORA-01111 问题处理
DataGuard ORA-01111 问题处理ADG,DG 数据文件名称未知
oracle 运维 linux 文件管理 数据文件 -
针对ORA-01111, ORA-01110, ORA-01157的处理
针对ORA-01111, ORA-01110, ORA-01157的处理
Oracle数据库 晟数学院 报错处理 -
ORA-01189;ORA-01111;ORA-01190;ORA-00600[2662]
设置隐藏参数 "_allow_resetlogs_corruption" = true , 强制起库;推进SCN;
ORA-01189 ORA-01111 ORA-01190 ORA-00600[2662] -
How do I rename a data file
在论坛看到一个帖子,说是rename data file 报错了,第一感觉他的语法有问题,也很区别就是在Rename
oracle google 数据库 blog file -
ORA-01264: Unable to create logfile file name
1. 项目环境信息:平台:AIX 6.1oracle版本 :11.2.0.3(psu5)部署了DG(主库是一个位于集群某节点的单实例库,备库为单实例库) 2. 项目背景: 因为业务量增长,要把主库有单实例改为集群,但是要保证变更过程中原有DG不能失效。单机转rac的具体步骤此处我就不再详述了
ORA-01264 Unable to create log Doc ID 1376892.1