|
alert log¿¡ ¾Æ·¡¿Í °°Àº ¸Þ¼¼Áö°¡ ±â·ÏÀÌ µÇ¾ú´Ù..
¹°·Ð ´ë·®µ¥ÀÌŸ ÀԷ½à ¿¡·¯¿´´Ù..
Thu Jun 5 11:09:05 2003
ORACLE Instance ORA9 - Can not allocate log, archival required
Thu Jun 5 11:09:05 2003
ARCH: Connecting to console port...
Thread 1 cannot allocate new log, sequence 146
All online logs needed archiving
Current log# 1 seq# 145 mem# 0: /opt/oracle/oradata/ORA9/redo01.log
Á¶Ä¡ :
1. ±×·ì°ú ¸â¹öÀÇ Á¶È¸
select group#,sequence#,bytes,members,status
from v$log;
2. ¸®µÎ·Î±× 1¹øÀÌ ±úÁ®¼ ±×·ìÀ» Çϳª´õ Ãß°¡ ½ÃÄ×´Ù.
alter database add logfile '/opt/oracle/oradata/ORA9/redo04.log'
size 100M;
3. ¸â¹ö°¡ 1°³¾¿ÀÌ¾î¼ 1°³¾¿ ´õ Ãß°¡½ÃÄ×´Ù..
alter database add logfile member
'/opt/oracle/oradata/ORA9/redo02a.log' to group 1,
'/opt/oracle/oradata/ORA9/redo02b.log' to group 2,
'/opt/oracle/oradata/ORA9/redo03b.log' to group 3,
'/opt/oracle/oradata/ORA9/redo04b.log' to group 4;
4. group 1ÀÇ ±âÁ¸ ¸®µÎ·Î±×¸¦ Á¦°ÅÇÏ·Á ½ÃµµÇÏ¿´´Ù.. ±×·¯³ª
alter database drop logfile member '/opt/oracle/oradata/ORA9/redo01.log';
alter database drop logfile member '/opt/oracle/oradata/ORA9/redo01.log'
*
ERROR at line 1:
ORA-00362: member is required to form a valid logfile in group 1
ORA-01517: log member: '/opt/oracle/oradata/ORA9/redo01.log'
5. Á¤´ä:
146¹ø log¸¦ ±â·ÏÇÒ ¼ö ¾ø´Ù´Â ³»¿ëÀÎ °Í °°Àºµ¥.
¾ÆÄ«ÀÌºê ·Î±× ¸ðµåÈ ÇØ¾ß ÇÒ °Í °°¾Æ¿ä.
ÀÏ´Ü ´ÙÀ½°ú °°ÀÌ ÇÑ ¹ø ÇØ º¸¼¼¿ä.
shutdown immediate;
initSID.ora ¼öÁ¤(¼öÁ¤½Ã È÷½ºÅ丮 ³²±â¼¼¿ä)
log_archive_start = true
log_archive_min_succeed_dest = 2
log_archive_dest = /disk1/oracle/log ----> ¿øÇÏ´Â À§Ä¡
log_archive_duplex_dest = /disk2/oracle/log --->¿øÇÏ´Â À§Ä¡ »çº»
log_archive_format = arch_%t_%s.arc
============================
startup mount;
alter database archivelog;
alter database open;
archive log list; ====> log mode È®ÀÎ
|