Urgent: Archiver Hung 10g [message #225843] |
Wed, 21 March 2007 13:22 |
jcoxwilliams
Messages: 13 Registered: March 2007
|
Junior Member |
|
|
Hello,
I am new to Oracle and am using Oracle 10g. I cannot access my database. It looks like the archiver ran out of disk space. I deleted old archives directly from the file system. I have shutdown and restart the database. I have rebooted the server, and I still cannot access my database via Enterprise Manager. Initially, the error I received was ORA-00257. The next error I received was saying I could not connect. Now when EM comes up it is red and gives the option to startup. When I press that it says connection refused.
How do verify that the oracle_sid I think I am using?
How do I fix the archive issue?
Is there a way to log into the database to reset everything?
Thanks,
Jeanette
|
|
|
Re: Urgent: Archiver Hung 10g [message #225846 is a reply to message #225843] |
Wed, 21 March 2007 13:31 |
|
ebrian
Messages: 2794 Registered: April 2006
|
Senior Member |
|
|
Welcome to the wonderful world of an Oracle DBA.
I assume you are using the Flash Recovery Area (FRA)?
If so, you should do the following:
C:\> set oracle_sid=<your_sid_name>
C:\> rman target /
RMAN> CROSSCHECK ARCHIVELOG ALL;
RMAN> DELETE EXPIRED ARCHIVELOG ALL;
[Updated on: Wed, 21 March 2007 13:50] Report message to a moderator
|
|
|
Re: Urgent: Archiver Hung 10g [message #225864 is a reply to message #225846] |
Wed, 21 March 2007 15:25 |
salaku
Messages: 9 Registered: March 2007
|
Junior Member |
|
|
Also after deleting the files from the filesystem and using rman
did u issue
SQL> alter system archive log all;
issue
select * from v$log
and see if ARCHIVED column is yes for all other than the current redolog
|
|
|
|
Re: Urgent: Archiver Hung 10g [message #226050 is a reply to message #225843] |
Thu, 22 March 2007 07:24 |
jcoxwilliams
Messages: 13 Registered: March 2007
|
Junior Member |
|
|
When I first created the database it was in archivelog mode. It is no longer in archivelog mode. I checked the mode by issuing this command SQL>select log_mode from v$database;. The result is NoArchiveLog.
I logged into RMAN and issued the crosscheck command, but it did not work.
I set the oracle_sid before logging into sqlplus. Should I be able to see some of the actual tables in my database by issueing the command SQL>select * from schema.tablename? Regardless of what table name I issue, it says table or view does not exist.
Thanks,
Jeanette
|
|
|
Re: Urgent: Archiver Hung 10g [message #226054 is a reply to message #225846] |
Thu, 22 March 2007 07:36 |
jcoxwilliams
Messages: 13 Registered: March 2007
|
Junior Member |
|
|
I issued the command C:\> rman target /
then RMAN> CROSSCHECK ARCHIVELOG ALL;
The result was: using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1 channel ORA_DISK1: sid = 10 devtype=Disk
specification does not match any archive log in the recovery catalog
issed: RMAN>DELETE EXPIRED ARCHIVELOG ALL;
result: released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 10 devtype = DISK
specification does not match any archive log in the recovery catalog
|
|
|
Re: Urgent: Archiver Hung 10g [message #226057 is a reply to message #226054] |
Thu, 22 March 2007 07:40 |
jcoxwilliams
Messages: 13 Registered: March 2007
|
Junior Member |
|
|
Following is some if the information from the alert log:
Errors in file c:\oracle\product\10.2.0\admin\dvcatch\bdump\dvcatch_arc1_3080.trc:
ORA-19815: WARNING: db_recovery_file_dest_size of 16106127360 bytes is 100.00% used, and has 0 remaining bytes available.
Wed Mar 21 12:44:02 2007
************************************************************************
You have following choices to free up space from flash recovery area:
1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
then consider changing RMAN ARCHIVELOG DELETION POLICY.
2. Back up files to tertiary device such as tape using RMAN
BACKUP RECOVERY AREA command.
3. Add disk space and increase db_recovery_file_dest_size parameter to
reflect the new space.
4. Delete unnecessary files using RMAN DELETE command. If an operating
system command was used to delete files, then use RMAN CROSSCHECK and
DELETE EXPIRED commands.
************************************************************************
ARC1: Failed to archive thread 1 sequence 1459 (19809)
ARCH: Archival stopped, error occurred. Will continue retrying
Wed Mar 21 12:44:02 2007
Errors in file c:\oracle\product\10.2.0\admin\dvcatch\bdump\dvcatch_arc1_3080.trc:
ORA-16038: log 3 sequence# 1459 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 3 thread 1: 'D:\ORACLE\DATA\DVCATCH\REDO03.LOG'
Wed Mar 21 12:44:04 2007
ARC0: Archiving not possible: No primary destinations
ARC0: Failed to archive thread 1 sequence 1459 (4)
ARCH: Archival stopped, error occurred. Will continue retrying
Wed Mar 21 12:44:04 2007
Errors in file c:\oracle\product\10.2.0\admin\dvcatch\bdump\dvcatch_arc0_2480.trc:
ORA-16014: log 3 sequence# 1459 not archived, no available destinations
ORA-00312: online log 3 thread 1: 'D:\ORACLE\DATA\DVCATCH\REDO03.LOG'
Wed Mar 21 12:45:04 2007
ARC1: Archiving not possible: No primary destinations
ARC1: Failed to archive thread 1 sequence 1459 (4)
Wed Mar 21 12:46:04 2007
ARC0: Archiving not possible: No primary destinations
ARC0: Failed to archive thread 1 sequence 1459 (4)
Wed Mar 21 12:47:04 2007
ARC1: Archiving not possible: No primary destinations
ARC1: Failed to archive thread 1 sequence 1459 (4)
|
|
|
Re: Urgent: Archiver Hung 10g [message #226061 is a reply to message #225864] |
Thu, 22 March 2007 07:47 |
jcoxwilliams
Messages: 13 Registered: March 2007
|
Junior Member |
|
|
After issueing: SQL> alter system archive log all;
result: ORA-00258 manual archiving in NOARCHIVELOG mode must identify log
Issued: SQL>select * from v$log
result: in the archive column no is listed for all redo logs including the current.
Is there a way to put this database in archivelog mode again through sqlplus? Will this help? Or should I just try to restore from backup at this point?
|
|
|
|
|
Re: Urgent: Archiver Hung 10g [message #226072 is a reply to message #226063] |
Thu, 22 March 2007 08:04 |
jcoxwilliams
Messages: 13 Registered: March 2007
|
Junior Member |
|
|
SQL> archive log list
result:Database log mode No Archive Mode
Automatic archival Disabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 320
Current log sequence 322
SQL>select * from v$recovery_file_dest;
result:SPACE_LIMIT SPACE_USED SPACE_RECLAIMABLE NUMBER_OF_FIlES
c:\oracle\product\10.2.0/flash_recovery_area
2147483648 0 0 0
|
|
|
|
|
|
|
Re: Urgent: Archiver Hung 10g [message #226121 is a reply to message #226119] |
Thu, 22 March 2007 10:44 |
jcoxwilliams
Messages: 13 Registered: March 2007
|
Junior Member |
|
|
I was working from the command prompt since I could not use Oracle Enterprise Manager. I set the oracle_sid to dvCatch which is the database that has the problem. I logged into RMAN specifying the target as dvCATCH and then ran the crosscheck command.
Thanks,
Jeanette
|
|
|
|
Re: Urgent: Archiver Hung 10g [message #226150 is a reply to message #226132] |
Thu, 22 March 2007 12:13 |
jcoxwilliams
Messages: 13 Registered: March 2007
|
Junior Member |
|
|
No. I see connected to ORCL <DBID=...
How can I force it to connect to the right database?
When I set the oracle sid I enter:
c:\>set oracle_sid = dvcatch
When I log into RMAN, I enter:
c:\>RMAN target= dvcatch
Thanks,
Jeanette
|
|
|
|
|
Re: Urgent: Archiver Hung 10g [message #226168 is a reply to message #226162] |
Thu, 22 March 2007 12:58 |
jcoxwilliams
Messages: 13 Registered: March 2007
|
Junior Member |
|
|
THANK YOU! THANK YOU! THANK YOU!
I logged into RMAN and ran the crosscheck command and then the delete all expired command. From there I restarted the database service and the dbconsole service, and then tried to log into my database and it worked!
Is there a way to tell that you are connected to the right database from sqlplus command line utility? Should I also see 'connected to' and the name of the database I am expecting?
|
|
|
|
|
|
|