1.sql
SQL> startup mount
ORACLE instance started.oracle
Total System Global Area 838860800 bytes
Fixed Size 1222192 bytes
Variable Size 385878480 bytes
Database Buffers 444596224 bytes
Redo Buffers 7163904 bytes
Database mounted.
SQL> archive log list
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 30
Current log sequence 32
SQL> alter database archivelog;
alter database archivelog
*
ERROR at line 1:
ORA-00265: instance recovery required, cannot set ARCHIVELOG mode 錯誤ide
[oracle@aa ~]$ oerr ora 265
00265, 00000, "instance recovery required, cannot set ARCHIVELOG mode"
// *Cause: The database either crashed or was shutdown with the ABORT
// option. Media recovery cannot be enabled because the online
// logs may not be sufficient to recover the current datafiles.
// *Action: Open the database and then enter the SHUTDOWN command with the
// NORMAL or IMMEDIATE option.ui
2.this
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /archive/
Oldest online log sequence 37
Next log sequence to archive 39
Current log sequence 39
SQL> alter database noarchivelog;
alter database noarchivelog
*
ERROR at line 1:
ORA-01126: database must be mounted in this instance and not open in any
instance日誌
3.
ORA-19625: error identifying file /archive/1_20_755794627.dbf
刪掉了備份和歸檔日誌纔有這樣```ci
4.string
[oracle@cc ~]$ sqlplus / as sysdbait
SQL*Plus: Release 10.2.0.4.0 - Production on Mon Jul 11 20:10:36 2011io
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL> startup nomount ORA-01261: Parameter db_recovery_file_dest destination string cannot be translated ORA-01262: Stat failed on a file destination directory Linux Error: 2: No such file or directory SQL> 創建目錄 db_recovery_file_dest 參數文件裏寫了,因此要創建。