oracle数据库启动时出现ORA-01157和ORA-01110问题
2014-07-09 13:47
344 查看
sql>startup mount;
sql>alter database open;
解决过程如下:
1. startup mount
2. alter database open
ORA-01157: cannot identify/lock data file 10 - see DBWR trace file
ORA-01110: data file 12: '/oradata/orcldata/sacproduce02.dbf'
3. cd /oradata
4. cd orcldata
报错信息为不能进行读写操作,哈哈。找到原因了,挂载的硬盘不能进行读写操作了。要打开数据库,只能将该文件进行离线操作了。
5. archive log list
归档模式下
alter database datafile '/oradata/orcldata/sacproduce02.dbf' offline
非归档模式下
alter database datafile '/oradata/orcldata/sacproduce02.dbf'offline drop
6. 到此,数据库就可以open了。但是文件中还有需要的数据,接下来就是挂载硬盘,online数据文件,open数据库。
alter database datafile '/oradata/orcldata/sacproduce02.dbf' online;
ORA-01113: file 12 needs media recovery
ORA-01110: data file 12: '/oradata/orcldata/sacproduce02.dbf'
recover datafile '/oradata/orcldata/sacproduce02.dbf'
alter database datafile '/oradata/orcldata/sacproduce02.dbf' online;
alter database open;
OK,问题解决^_^
sql>alter database open;
RA-01157: 无法标识/锁定数据文件 10 - 请参阅 DBWR 跟踪文件 ORA-01110: 数据文件 10: 'D:\ORACLE\ORADATA\ORCL\USERS02.DBF'
解决过程如下:
1. startup mount
2. alter database open
ORA-01157: cannot identify/lock data file 10 - see DBWR trace file
ORA-01110: data file 12: '/oradata/orcldata/sacproduce02.dbf'
3. cd /oradata
4. cd orcldata
报错信息为不能进行读写操作,哈哈。找到原因了,挂载的硬盘不能进行读写操作了。要打开数据库,只能将该文件进行离线操作了。
5. archive log list
归档模式下
alter database datafile '/oradata/orcldata/sacproduce02.dbf' offline
非归档模式下
alter database datafile '/oradata/orcldata/sacproduce02.dbf'offline drop
6. 到此,数据库就可以open了。但是文件中还有需要的数据,接下来就是挂载硬盘,online数据文件,open数据库。
alter database datafile '/oradata/orcldata/sacproduce02.dbf' online;
ORA-01113: file 12 needs media recovery
ORA-01110: data file 12: '/oradata/orcldata/sacproduce02.dbf'
recover datafile '/oradata/orcldata/sacproduce02.dbf'
alter database datafile '/oradata/orcldata/sacproduce02.dbf' online;
alter database open;
OK,问题解决^_^
相关文章推荐
- Oracle数据库启动时出现ORA-01157和ORA-01110问题
- oracle数据库启动时出现ORA-01157和ORA-01110问题
- Oracle数据库启动时出现ORA-01157和ORA-01110问题
- oracle 启动时出现ORA-01157: cannot identify/lock data和ORA-01110: data file 错误
- ORA-01157与ORA-01110错误以及删除数据文件后数据字典中仍然存在问题
- Oracle数据库中出现ORA-01157: 无法标识/锁定数据文件
- Oracle dbf文件删除后,启动服务ORA-01157问题
- oracle启动报错:ORA-01157,ORA-01110
- ORACLE数据库报ORA-09817、ORA-01157、ORA-01110错误解决方法
- Oracle数据库连接出现的问题,TNS-12535; ORA-12541:TNS:无监听程序,
- 解决windows系统的oracle数据库不能启动ora-00119和ora-00130的问题
- 关于oracle数据库启动报ORA-01122,ORA-01110,ORA-01203错误的解决方法
- DG不能自动mount导致数据库不能正常启动:ORA-01157、ORA-01110、ORA-17503、ORA-15001、ORA-15001
- Toad for oracle挂接虚拟机oracle数据库出现ORA-12541问题解决
- Oracle RAC ORA-01157 ORA-01110 ORA-27041问题分析处理
- 关于oracle数据库启动报ORA-01122,ORA-01110,ORA-01203错误的解决方法
- DBA手记之:数据库启动报ORA-01157和ORA-01110错误
- oracle数据库启动报错ORA-12560问题解决方法
- oracle启动报错ORA-01157: cannot identify/lock data file 7 - see DBWR trace file ORA-01110: data file 7:
- ORA-01157、01110问题解决