- SQL> alter database archivelog;
- alter database archivelog
- *
- ERROR at line 1:
- ORA-00265: instance recovery required, cannot set ARCHIVELOG mode
- SQL> alter database open;
- Database altered.
- SQL> shutdown immediate;
- Database closed.
- Database dismounted.
- ORACLE instance shut down.
- SQL> startup mount;
- ORACLE instance started.
- Total System Global Area 301305856 bytes
- Fixed Size 1336148 bytes
- Variable Size 167775404 bytes
- Database Buffers 125829120 bytes
- Redo Buffers 6365184 bytes
- Database mounted.
- SQL> alter database archivelog;
- Database altered.
- SQL> alter database open;
- Database altered.
- SQL> archive log list
- Database log mode Archive Mode
- Automatic archival Enabled
- Archive destination USE_DB_RECOVERY_FILE_DEST
- Oldest online log sequence 6
- Next log sequence to archive 8
- Current log sequence 8