ORA-00257: Archiver Error. Connect INTERNAL, UnTil Freed.

xiaoxiao2021-03-06  41

Environment: WinXP ORACLE9.2.0.1 Client Win2003 Oracle9.2.0.5 Server 1 1000loopInsert Into B Values ​​(I); end loop; end; error, client is a fake machine. New open window: SQL> Conn Scott / Tiger @ PGJT is connected. SQL> SELECT SID, Serial #, UserName from V $ Session;

SID Serial # Username ------------------------------------------------------------------------------------------------------------------------------------ - 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 1 10 1 11 1 12 14 13 5 Scott 14 15 Scott 15 4 16 1 17 1 18 1 19 1 20 4 NCCWGS

20 lines have been selected.

Time: 00: 00: 00.01SQL> ALTER SYSTEM KILL session '13, 5 ';

The system has changed.

Time: 00: 00:00.00sql> Repeat the above steps After about 3 times, SQL> CONN Scott / Tiger @ pgjtror: ORA-00257: Archiver Error. Connect INTERNAL ONLY, UnTil Freed. Unable to connect to the database. Second, Problem Description -------------------

The database is running in archive log mode with automatic archiving turned on When the archive log destination diskspace becomes full the automatic archiving will stop This is expected to happen At this point a message should appear on the screen:... ORACLE Instance v816 - Can not allocate log, archival required When all of the online redo logs are filled up, the database will be in a hang state. After freeing up diskspace the online redo logs are still not archiving. in most cases this is the CORRECT behaviour.

If You Attempt to Manually Archive The Files You May Receive The Following Errors:

SVRMGR> archive log next ORA-16014: log 1 sequence # 199 not archived, no available destinations ORA-00312: online log 1 thread 1: 'C: ORACLEORADATAV816REDO01.LOG'SVRMGR> archive log all ORA-16020: less destinations available than Specified by log_archive_min_succeed_dest

Solution description --------------------

Some of the Possible Ways to FIX this problem:

Use the command:

Alter system archive log all to 'c: oracleoradatav816archive'; * Note: you must specify a location ref - ORA-16014

2. SHUTDOWN AND RESTART THE DATABASE. It May Be Necessary To Do A Shutdown Abort.

3. Use the reopen attribute of the log_archive_dest_n init

. Oval parameter.

LOG_ARCHIVE_DEST_N = '

Reopen = 30 'or Run the Following COMAND:

ALTER system set log_archive_dest_n = 'reopen'

4. Use the commands:

Alter System Archive Log Stop; ALTER System Archive Log Start;

Explanation -----------

THE ERROR ORA-16014 IS The Real Clue for this Problem. Once The Archive Destination Becomes Full The Location Also Becomes Invalid. NORMALLY ORASOES NOT DO A Recheck To See ethers.

1. Using the command: alter system archive log all to.. 'C: oracleoradatav816archive'; gives Oracle a valid location for the archive logs Even after using this the archive log destination parameter is still invalid and automatic achive does not work This solution is Best for Systems That Do Not Archive Regular But Cannot Be Shutdown. You Can Also Use this to allow you to do a shutdown immediate instead of shutdown abort.

2. Shutdown and restart of the database resets the archive log destinstation parameter to be valid. Do not forget to make disk space available before starting the database.3. Use the REOPEN attribute of the LOG_ARCHIVE_DEST_n parameter to determine whether and when ARCn attempts to re -archive to a failed destination following an error. REOPEN applies to all errors, not just OPEN errors. REOPEN = n sets the minimum number of seconds before ARCn should try to reopen a failed destination. The default value for n is 300 seconds. A value of 0 is the same as turning off the REOPEN option, in other words, ARCn will not attempt to archive after a failure. If you do not specify the REOPEN keyword, ARCn will never reopen a destination following an error. The Server Administration Guide HAS More Information on Reopen.

References ----------

[BUG: 1271752] Automatic Archiving Has NOT Resumed After Space Is Freed Up Server Administration Guide: Chapter 7

[NOTE: 74324.1] Auto Archive Stopped - 8i log_archive_dest_n issues .3, problem solving the disk space used by the archive log. Delete some old disk archive SQL> Shutdown Abort; Oracle Instance Shut Down.sql> StartUpoPoracle Instance Started.

Total System Global Area 542712360 bytesFixed Size 455208 bytesVariable Size 427819008 bytesDatabase Buffers 109051904 bytesRedo Buffers 5386240 bytesDatabase mounted.Database opened.SQL> conn scott / tigerConnected.SQL>

转载请注明原文地址:https://www.9cbs.com/read-60124.html

New Post(0)