ORA-00257:archiver error
Asked Answered
G

6

15

When I try connecting to my database, I get the following error.

ORA-00257:archiver error. Connect internal only until freed.

Till yesterday, the database was pretty functional.

Any workaround?

Given answered 26/4, 2011 at 4:27 Comment(3)
possible duplicate of RA-00257: archiver error. Connect internal only, until freed.Hexaemeron
@Hexaemeron - Most likely, the source of the problem is different in 9i and 10g. As a result, I believe they ought to be considered separate questions.Oidea
@Justin: I doubt it. It's a pretty common Oracle error, the cause is usually the same - it's run out of log space. Either way, it's a DBA problem, not a programming one.Hexaemeron
O
8

In SQL*Plus, can you

SQL> show parameter log_archive
  • If LOG_ARCHIVE_START is FALSE, you'll want to set it to TRUE.
  • If LOG_ARCHIVE_DEST points to an invalid directory, you'll want to change it to point to a valid directory.
Oidea answered 26/4, 2011 at 6:39 Comment(3)
I get no output when I run show parameter log_archive. I have a read-only permission to the db. Is that the reason why I get no output?Given
You'll need to be a DBA in order to fix the error. If you just have a read-only account, you'll need to contact the DBA.Oidea
Thanks Justin! I will contact the DBA for this.Given
W
7

ORA-00257:archiver error is occured when your archivelog reached the FRA limit. So you have to clear the archivelogs or you may increase the FRA limit.

To clear the archivelogs, connect to the command prompt and follow steps below:

rman target /
RMAN> delete archivelog all;

It will ask for confirmation and you have to give 'yes'.

Whish answered 19/6, 2018 at 11:54 Comment(1)
At first, It can solve the problem immediately! But ... you are putting your DB into dangerous situation (have gap in archivelog). :(Gouge
A
3

please note that you can only access SQL*PLUS if you login as sqlplus / as sysdba

Plus, I think the problem here is space quota for archiving reaching its max limit.

So its best to clear the logs after making backup on a flash or something

Asthenopia answered 7/12, 2011 at 6:10 Comment(0)
L
0

ORA-00257: archiver error. Connect internal only, until freed. problem can be solved as following: copy archivelog folder to a new destination and empty this directory.

The real problem is that online-backup limit increased what was set as n GB and that become full when you empty this archivelog folder then it will start working fine

Laryngology answered 6/4, 2017 at 10:29 Comment(0)
N
0

I have encountered this error couple of times, it simply tells that archivelog space has exhausted and need to be freed.

run cmd as administrator

> set oracled_sid=write_oracle_sid_here
> rman target sys/put_sys_password_here
> crosscheck archivelog all;
> delete noprompt expired archivelog all;
>exit;
Na answered 13/8, 2019 at 6:1 Comment(0)
O
0

Open rman or cmd, then type: connect target sys/live; press enter then: delete archivelog all; press enter

Ask for confirmation press y then enter. Your issue will be solved.

Orlene answered 17/8, 2021 at 8:48 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.