【Vegas原创】ORA-01103:"database name *** in control file is not @@@" 解决
2014-05-22 15:51
627 查看
解决方法:重建controlfile:
1)删除现在的controlfile
2)nomount DB
SQL>startup nomount;
3)重建
create controlfile set database "dtberp" resetlogs
LOGFILE
GROUP 1 '/u01/app/oracle/oradata/dtserp/REDO01.LOG' SIZE 10M,
GROUP 2 '/u01/app/oracle/oradata/dtserp/REDO02.LOG' SIZE 10M,
GROUP 3 '/u01/app/oracle/oradata/dtserp/REDO03.LOG' SIZE 10M
DATAFILE
'/u01/app/oracle/oradata/dtserp/bach01.dbf',
'/u01/app/oracle/oradata/dtserp/bach02.dbf',
'/u01/app/oracle/oradata/dtserp/daxon01.dbf',
'/u01/app/oracle/oradata/dtserp/sysaux01.dbf',
'/u01/app/oracle/oradata/dtserp/sysaux02.dbf',
'/u01/app/oracle/oradata/dtserp/system01.dbf',
'/u01/app/oracle/oradata/dtserp/system02.dbf',
'/u01/app/oracle/oradata/dtserp/undotbs01.dbf',
'/u01/app/oracle/oradata/dtserp/users01.dbf',
'/u01/app/oracle/oradata/dtserp/users02.dbf'
4) open resetlog
SQL> ALTER DATABASE OPEN RESETLOGS;
1)删除现在的controlfile
2)nomount DB
SQL>startup nomount;
3)重建
create controlfile set database "dtberp" resetlogs
LOGFILE
GROUP 1 '/u01/app/oracle/oradata/dtserp/REDO01.LOG' SIZE 10M,
GROUP 2 '/u01/app/oracle/oradata/dtserp/REDO02.LOG' SIZE 10M,
GROUP 3 '/u01/app/oracle/oradata/dtserp/REDO03.LOG' SIZE 10M
DATAFILE
'/u01/app/oracle/oradata/dtserp/bach01.dbf',
'/u01/app/oracle/oradata/dtserp/bach02.dbf',
'/u01/app/oracle/oradata/dtserp/daxon01.dbf',
'/u01/app/oracle/oradata/dtserp/sysaux01.dbf',
'/u01/app/oracle/oradata/dtserp/sysaux02.dbf',
'/u01/app/oracle/oradata/dtserp/system01.dbf',
'/u01/app/oracle/oradata/dtserp/system02.dbf',
'/u01/app/oracle/oradata/dtserp/undotbs01.dbf',
'/u01/app/oracle/oradata/dtserp/users01.dbf',
'/u01/app/oracle/oradata/dtserp/users02.dbf'
4) open resetlog
SQL> ALTER DATABASE OPEN RESETLOGS;
相关文章推荐
- 【Vegas原创】ORA-01103:"database name *** in control file is not @@@" 解决
- 【Vegas原创】ORA-01103:"database name *** in control file is not @@@" 解决
- RMAN恢复报错: ORA-01103: database name 'POWERDES' in control file is not 'PDUNQ'
- ORA-01103: database name 'LCRO' in control file is not 'DUMMY'
- ORA-01103: database name 'test' in control file is not 'standby'
- iOS "The sandbox is not in sync with the Podfile.lock"解决方式
- “APP_NAME" IS NOT TRANSLATED IN ZH, ZH_CN……..解决办法
- Ubuntu技巧之"xxx is not in the sudoers file"解决方法
- ORA-15045: ASM file name '+FRA' is not in reference form
- “APP_NAME" IS NOT TRANSLATED IN ZH, ZH_CN……..解决办法
- “APP_NAME" IS NOT TRANSLATED IN ZH, ZH_CN……..解决办法
- Ubuntu技巧之"xxx is not in the sudoers file"解决方法
- 解决"eker is not in the sudoers file"问题
- Cannot drop database "databasename" because it is currently in use.
- "app_name" is not translated in af, am, ar, bg, ca, cs, da, de, el, en-rGB,
- Linux 'XXXXXX' "is not in the sudoers file. This incident will be reported" 解决方法
- Unity3d 提示 "The scripts file name does not match the name of the class defined in the script!"的解决办法
- FMDB多线程下"is currently in use" 或者 "database is locked" 已解决!
- 关于写入文件缓存时报"java.io.FileNotFoundException open failed (is a director)"错误的解决方法
- 'Could not find first log file name in binary log index file'的解决办法