Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

999

积分

1

好友

942

主题
1#
发表于 2017-4-13 20:18:53 | 查看: 1253| 回复: 0
生产系统不知何故无法访问。技术人员将网卡重新设置后。发现ORACLE数据库挂掉。重启数据库。无法启动
提示
ORA-01221:data file 2 is not the same file to background process
从网上找一些恢复手段都无法解决。
系统是非归档模式
RECOVER DATABASE UNTIL CANCEL USING BACKUP CONTROLFILE,报
ORA-00283:RECOVER SESSION CANCELED DUE TO ERRORS
ORA-01221:data file 2 is not the same file to background process

求教各位。需要什么信息我来贴。求大神。

SQL> startup
ORACLE instance started.

Total System Global Area 2.0233E+10 bytes
Fixed Size                  2056712 bytes
Variable Size            1241517560 bytes
Database Buffers         1.8941E+10 bytes
Redo Buffers               48271360 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open


SQL> alter database open resetlogs
  2  ;
alter database open resetlogs
*
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/home/oracle/oradata/psp/system01.dbf'


SQL> sho parameter pfile

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
spfile                               string      /home/oracle/product/10.2.0.1/
                                                 db_1/dbs/spfilepsp.ora
SQL>
SQL>
SQL> shutdown.sh
SP2-0717: illegal SHUTDOWN option
SQL> shutdown immediate
ORA-01109: database not open


Database dismounted.
ORACLE instance shut down.
SQL> startup pfile='/home/oracle/spfile/spfile.ora';
LRM-00101: unknown parameter name '*_allow_resetlogs_corruption'
ORA-01078: failure in processing system parameters
SQL> startup pfile='/home/oracle/spfile/spfile.ora';
ORACLE instance started.

Total System Global Area 2.0233E+10 bytes
Fixed Size                  2056712 bytes
Variable Size            1241517560 bytes
Database Buffers         1.8941E+10 bytes
Redo Buffers               48271360 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open


SQL> alter database open resetlogs;
alter database open resetlogs
*
ERROR at line 1:
ORA-00344: unable to re-create online log '/data/oradata/REDO01.DBF'
ORA-27041: unable to open file
Linux-x86_64 Error: 30: Read-only file system
Additional information: 4


SQL> recover database using backup controlfile;
ORA-00283: recovery session canceled due to errors
ORA-01221: data file 2 is not the same file to a background process


SQL>


下载专业ORACLE数据库恢复工具PRM-DUL  For Oracle http://www.parnassusdata.com/

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

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

服务热线 : 13764045638  QQ: 47079569     邮箱:service@parnassusdata.com
您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-12-20 13:18 , Processed in 0.046078 second(s), 21 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569