Question

URGENT: ORA-00257: Archiver error. Connect internal only, until freed

Asked by: macareli

experts, i'm in need of urgent help
users are getting this error when connecting to the database
ORA-00257: Archiver error. Connect internal only, until freed
there is plenty of room on both drives but it look like the the logs are not getting archinved.
I can't verify if autoextend is enabled as i don't know how to connect.

When I try to connect to sql as below I get the same message.

connect sys/password as sysdba or

sqlplus connect /as sysdba

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2006-11-27 at 12:06:46ID22073810
Tags

archiver

,

connect

,

internal

,

until

Topic

Databases Miscellaneous

Participating Experts
4
Points
250
Comments
46

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Connecting as SYSDBA
    Hi, Is there is short-cut to logging into SQLPlus as a SYSDBA from the command line? i.e. Is there an option to do something like this: sqlplus sys/change_on_install@servicename as sysdba I know is possible to issue a connect sys/change_on_install as sysdba once you're in ...
  2. sqlplus - connect as sysdba to an instance
    I want to connect as sysdba to an instance EARTH (there are 3 instances running on the Win machine) "sqlplus sys/syspass@earth as sysdba" does not work from cmd.. I do not want to do it interactively but within one command line
  3. sys/oracle as sysdba
    What is the equivalent with "sys/oracle as sysdba" when you get in SQL*PLUS? I used to use "sys/oracle as sysdba" in "User Name". How do we break it down to User Name, Password, and Host String. jl
  4. memory not freed
    I recieved an error this morning about memory used cannot be freed event id 1517 userenv. I tried to get an answer to address this and fix it but only became more confussed. Is there a way to fix such a problem?
  5. Account lockout for SYS/SYSDBA
    If you set accountlock out to be 3 attempts for SYS/SYSDBA user. Does this mean after 3 invalid attempts the administrator can't log in to the system?

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: arnoldPosted on 2006-11-27 at 12:26:03ID: 18022298

Did you try the following on the Oracle server:
sqlplus / /nolog
connect as sysdba?
http://www.dbaoncall.net/references/er_257.html

 

by: slightwvPosted on 2006-11-27 at 12:26:19ID: 18022302

This all depends on your version of Oracle.

For most versions, go to a command prompt and type: sqlplus /nolog
from the SQL prompt:  conn / as sysdba

Once there, do:
archive log list

My bet is automatic archiving isn't enabled.  If it is then we have bigger problems.  Make sure you are archiving where you thing you are:
from the same SQL prompt:  show parameter arch

Make sure all the deistinations are correct.

Here's a decent question already covering automatic archiving:
http://www.experts-exchange.com/Databases/Oracle/Q_21364551.html

 

by: arnoldPosted on 2006-11-27 at 12:28:54ID: 18022324

You might find this question helpful as well:
http://www.experts-exchange.com/Databases/Oracle/Q_21477355.html

 

by: macareliPosted on 2006-11-27 at 12:39:32ID: 18022397

I entered the command 'archive log list' and
Automatic Archival is enabled
oldest online log sequence 120
next log sequence to archive 120
current log 123

It looks like the problem is that The destination folder name had a typo I corrected the folder name to match what oracle is returning.
will oracle correct itself  or should i force an archive.

when I try to connect to the database via Enterprise manager I still get this
SQLException ORA-00257: archiver error. Connect internal only, until freed.  
current status: open
Operation: Shutdown immediate

 

by: macareliPosted on 2006-11-27 at 12:45:40ID: 18022443

also when type the command: archive log all
I get this message ORA-16020: less distinations available than specified by LOG_ARCHIVE_SUCCEED_DEST.

 

by: btuttPosted on 2006-11-27 at 12:47:18ID: 18022461

If you indeed have a typo where your archive log destination is you may be able to set it within a session logged on by "sys" and simply issue:

set logsource = "PATH_OF_VALID_DESTINATION"

and now at this point issue "alter system archive log all"

Bryce

 

by: macareliPosted on 2006-11-27 at 12:52:59ID: 18022496

bryce
i believe the destination is correct. the name of the destination folder had a type which I have corrected so
it now matches the path reported by oracle when i type the command archive log list.
do I still need to issue the two commands above to correct the situation?

 

by: btuttPosted on 2006-11-27 at 12:56:07ID: 18022515

Sorry I see that you have tried that, can you not lower this value dynamically? i.e. Alter system set LOG_ARCHIVE_MIN_SUCCEED_DEST=??

 

by: btuttPosted on 2006-11-27 at 12:59:53ID: 18022543

Well the archiver should try again to flush the contents of its buffer periodically as it acts like a service (or daemon in the UNIX world). But to allleviate the problem immediately, yes I would issue the command (archive log all)

bryce

 

by: macareliPosted on 2006-11-27 at 13:03:02ID: 18022560

bryce,
I tried that command (archive log all) but that's when I get the ORA -16020 message.
before i run the command you suggested to lower the value (Alter system set LOG_ARCHIVE_MIN_SUCCEED_DEST=??)
what is this telling me? and how do I determine what the current value is?

 

by: btuttPosted on 2006-11-27 at 13:31:40ID: 18022798

You can simply issue "SHOW PARAMETER  LOG_ARCHIVE_MIN_SUCCEED_DEST" and the engine will return you the current value.

Bryce

 

by: slightwvPosted on 2006-11-27 at 13:32:34ID: 18022801

the sqlplus command: "show parameter arch" should show you that parameters current value.  If you only want that one: show parameter LOG_ARCHIVE_MIN_SUCCEED_DEST

I still think there is a problem with the destination.  You should not have to change the LOG_ARCHIVE_MIN_SUCCEED_DEST value to get this to work (espically if it's the default value of 1).


What operating system are you on?

If you are 100% sure the PATHS match, then its probably a permisions problem (if on UNIX).

On Windows?  Does the archive destionation have a <space> in the path?

 

by: macareliPosted on 2006-11-27 at 13:40:15ID: 18022887

the value of LOG_ARCHIVE_MIN_SUCEED_DEST = 1 (CHANGED FROM 2)

OS: windows server 2003
archive destination: E:\archive2  (path E:\archive2)

Nothing is archiving, when archiving was enabled there were two destinations set , E:\arhive1 and E:\archive2

archive log all still returns the same error ORA-16020 less destinations available than specified by LOG_ARCHIVE_MIN_SUCCEED_DEST

 

by: macareliPosted on 2006-11-27 at 13:50:27ID: 18022984

MORE INFO:

log_archive_dest_1    LOCATION=E:\archive1 MANDATORY  REOPEN=300 QUOTA_SIZE=512
log_archive_dest_2    LOCATION=E:\archive2 OPTIONAL REOPEN=300 QUOTA_SIZE=512
log_archive_local_first boolean TRUE
log_archive_max_processes integer 2
log_archive_start boolean FALSE
log_archive_trace integer 0
remote_archive_enable string true

 

by: btuttPosted on 2006-11-27 at 14:13:21ID: 18023226

OK, try this from Metalink:
\
Subject:  Ora-00257:Archiver Error, Connect Internal Only Until Freed and ORA-16014 and ORA-00312
  Doc ID:  Note:376923.1 Type:  PROBLEM
  Last Revision Date:  15-JUL-2006 Status:  MODERATED

In this Document
  Symptoms
  Cause
  Solution



--------------------------------------------------------------------------------


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.



Applies to: Oracle Server - Enterprise Edition - Version: 9.2.0 to 10.2.0.3
This problem can occur on any platform.
SymptomsUsers cannot connect to the database :

0RA-00257:archiver error, connect internal only until freed
ORA-16014:log 2 sequence# 231 not archived, no available destinations
ORA-00312:online log 2 thread 1:'/u02/oradata/wlbranch/redo02.log'


CauseThe flash_recovery_area is not full.

SQL>  archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive Destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 231
Next log sequence to archive 231
Current log sequence 233
    SQL>select group#,status archived from v$log;
    GROUP# ARCHIVED
    ------------  ------------------------
    1                INVALIDATED
    2                INACTIVE
    3                INACTIVE
The suggested solution to archive all fails :

SQL>archive log all;
ORA-16020: less destinations available than specified by
LOG_ARCHIVE_MIN_SUCCEEDED_DEST

The only one destination allowed (log_archive_min_succeed_dest= 1) is not able to perform the archiving.
Solution1. Either allow more space in the DB_RECOVERY_FILE_DEST with the DB_RECOVERY_FILE_DEST_SIZE parameter  :

SQL> alter system set db_recovery_file_dest_size=3G ;

2. Or to avoid the situation once the 3Gb is full , set the following parameters so that when the dest1 is full, archiving is automatically  performed to the alternate dest2 :

log_archive_dest_1='LOCATION=use_db_recovery_file_dest NOREOPEN ALTERNATE=LOG_ARCHIVE_DEST_2'
log_archive_dest_2='LOCATION=/other_dest_for_archiving'
log_archive_dest_state_1='enable'
log_archive_dest_state_2='alternate'
db_recovery_file_dest='/u01/app/oracle/product/10.1.0/db_1/flash_recovery_area'
db_recovery_file_dest_size=2G



ErrorsORA-312 online log <name> thread <num>: <str>
ORA-257 archiver is stuck.
ORA-16020 less destinations available than specified by LOG_ARCHIVE_MIN_
ORA-16014 log %s sequence# %s not archived, no available destinations

--------------------------------------------------------------------------------

 

by: macareliPosted on 2006-11-27 at 14:33:08ID: 18023369

db_recovery_file_dest_size from 1 to 3GB


SQL>select group#,status archived from v$log;
    GROUP# ARCHIVED
    ------------  ------------------------
    1                INACTIVE
    2                CURRENT
    3                INACTIVE
    4                INACTIVE
The suggested solution to archive all fails :

SQL>archive log all;
ORA-16020: less destinations available than specified by
LOG_ARCHIVE_MIN_SUCCEEDED_DEST

why is oracle not seeing the first destination, if you note in the info i posted earlier,
location 1 is mandatory (and INACTIVE), location 2 is optional (and CURRENT).
a  archive log list; command only returns the archive2 destination.

log_archive_dest_1    LOCATION=E:\archive1 MANDATORY  REOPEN=300 QUOTA_SIZE=512
log_archive_dest_2    LOCATION=E:\archive2 OPTIONAL REOPEN=300 QUOTA_SIZE=512
log_archive_local_first boolean TRUE

 

by: macareliPosted on 2006-11-27 at 17:38:49ID: 18024384

I tried restarting the database and now the problem got worse

connected to an idle instance,
then issued a startup command
ORA-32004 obsolete and/or deprecated parameter specified
ORa-10997 another startup/shutdown operation of this instance in progress
ORA-09968 unable to lock file

 

by: gvsbnarayanaPosted on 2006-11-28 at 03:46:51ID: 18026936

Hi,
   What is your oracle version?
Are you using init file or spfile?
can you please paste your archive_log parameters here?
Regards,
Badri.

 

by: macareliPosted on 2006-11-28 at 04:16:09ID: 18027037

10g
both init.ora and spfile.ora are present (spfile is dated more recent).

SQL> archive log list;
Database log mode              Archive Mode
Automatic archival             Enabled
Archive destination            E:\archive2
Oldest online log sequence     0
Next log sequence to archive   125
Current log sequence           125

 

by: macareliPosted on 2006-11-28 at 04:32:00ID: 18027110

Badri,
I should mentio that I got rid of the ora-32004 message by reseting the parameter
I also forced a startup and i'm able to open the instance
now i'm back to my original problem.
the database is in archive mode but i keep losing connection because the logs fill up and nothing is getting archived.

as you can see from my earlier posting archival is enabled and the location is correct but I have a disconnect somewhere.
the log_archive_dest in init.ora does not match.

how can i confirm which file/setting oracle is reading? or alternative just need to disable archiving to allow users to connect to the database.


SGA_MAX_SIZE = 600M
REMOTE_OS_AUTHENT = FALSE
LOG_ARCHIVE_DEST = c:\oracle\oradata\DEV\archive
BACKGROUND_DUMP_DEST=C:\oracle\admin\DEV\bdump

When I query 'select archive from v$instance' it returns STARTED but still i see nothing getting archived.

 

by: gvsbnarayanaPosted on 2006-11-28 at 04:58:09ID: 18027294

Hi,
   Can you show the result of
SQL> show parameter archive;

Do you have sufficient space on the archive log destination? i.e.:\oracle\oradata\DEV\archive ? How much space is left on the device?
What is the size of online redo logs?

Regards,
Badri.

 

by: macareliPosted on 2006-11-28 at 05:04:46ID: 18027345

see below, note that as I mentioed before the location does not match setting in init.ora file.
plenty of room but no archive files created  in either location.

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
archive_lag_target                   integer     0
log_archive_config                   string
log_archive_dest                     string
log_archive_dest_1                   string      LOCATION=E:\archive1 MANDATORY
                                                  REOPEN=300 QUOTA_SIZE=512
log_archive_dest_10                  string
log_archive_dest_2                   string      LOCATION=E:\archive2 OPTIONAL
                                                 REOPEN=300 QUOTA_SIZE=512
log_archive_dest_3                   string
log_archive_dest_4                   string
log_archive_dest_5                   string

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
log_archive_dest_6                   string
log_archive_dest_7                   string
log_archive_dest_8                   string
log_archive_dest_9                   string
log_archive_dest_state_1             string      enable
log_archive_dest_state_10            string      enable
log_archive_dest_state_2             string      enable
log_archive_dest_state_3             string      enable
log_archive_dest_state_4             string      enable
log_archive_dest_state_5             string      enable
log_archive_dest_state_6             string      enable

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
log_archive_dest_state_7             string      enable
log_archive_dest_state_8             string      enable
log_archive_dest_state_9             string      enable
log_archive_duplex_dest              string
log_archive_format                   string      %d%t%s%r.arc
log_archive_local_first              boolean     TRUE
log_archive_max_processes            integer     2
log_archive_min_succeed_dest         integer     1
log_archive_start                    boolean     FALSE
log_archive_trace                    integer     0
remote_archive_enable                string      true

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
standby_archive_dest                 string      %ORACLE_HOME%\RDBMS
SQL>

 

by: slightwvPosted on 2006-11-28 at 05:30:19ID: 18027538

Has this ever worked (is this a new install)?

Is the E drive a mapped network drive?

 

by: macareliPosted on 2006-11-28 at 05:35:11ID: 18027571

the database has been running smoothly for a while
archiving was enabled on friday and the problems started then.
E is another drive in the save server.

 

by: slightwvPosted on 2006-11-28 at 05:53:02ID: 18027711

>>how can i confirm which file/setting oracle is reading?
issue: show parameter spfile
By default Oracle uses the SPFILE instead of an init.ora file.

Do you have an Oracle support contract?  You might want to open a service request with Oracle.  I'm about out of ideas.  Nothing is jumping out at me as wrong.  Everything looks like it should be working.

 

by: btuttPosted on 2006-11-28 at 06:09:20ID: 18027856

Are you specifically using your pfile parameter when you start the database? Inm other words something like:

STARTUP PFILE='<LOCATION_OF_PFILE>' open

 

by: macareliPosted on 2006-11-28 at 06:09:28ID: 18027860

can  archiving be disabled to avoid this issue and just reanbled later with only this command

alter database noarchivelog; and restart instance/

 

by: gvsbnarayanaPosted on 2006-11-28 at 06:17:09ID: 18027914

Hi,
>>log_archive_dest_1                   string      LOCATION=E:\archive1 MANDATORY
                                                  REOPEN=300 QUOTA_SIZE=512

this parameter shows that log_archive_dest_1 is mandatory.
Is this drive accessible? How much space do you have left on E:\? What is the size of your online redo logs?
I understand that you have three online redo logs groups. Are all of these groups are of same size?

If you have sufficient space, then try
SQL>alter system swith logfile;

But one thing puzzles me is,
>>Oldest online log sequence     0


 

by: macareliPosted on 2006-11-28 at 06:17:25ID: 18027917

no database is started from db console or sqlplus setting with startup commnad.  

 

by: gvsbnarayanaPosted on 2006-11-28 at 06:22:43ID: 18027963

>>no database is started from db console or sqlplus setting with startup commnad.  
How did you start the database using db console?
Am I missing something?
Regards,
Badri.

 

by: macareliPosted on 2006-11-28 at 06:29:49ID: 18028041

oldest online log sequence =0
may be because I issued command to clear the log groups and the active group is now empty

i just disabled archivelog mode from db console

SQL> archive log list
Database log mode              No Archive Mode
Automatic archival             Disabled
Archive destination            E:\archive2
Oldest online log sequence     0
Current log sequence           125

would this effectively disable setting allowing redo logs to be overwritten for now while we figure out how to correct this configuration for archving?

 

by: btuttPosted on 2006-11-28 at 06:30:11ID: 18028047

Yes exactly, then how are you starting the database and how do you know what pfile you are using??

 

by: macareliPosted on 2006-11-28 at 06:35:13ID: 18028100

btutt,
I'm not sure if I understand your question,
when I start from db console it is poiting to this specific instance
when I start form sqlplus i usually have to set the ORACLE_SID to this instance, then login to sqlplus as sysdba
but I dont specify a pfile.

 

by: gvsbnarayanaPosted on 2006-11-28 at 06:35:37ID: 18028102

Yes, Now, archiving is disabled. You can enable the same in future.
Any of your online back-up jobs will fail because archiving is not enabled.
Once you have got enough space on disks, you can

SQL>Shutdown the database
SQL>startup mount
SQL>alter database archive log;
SQL>alter database open;

I would suggest having one destination as mandatory in it's parameter. the parameter log_archive_min_succeed_dest    =1 is the default and it would not stop you from running the database, if there is no space left on the device, as long as there is space on other destinations.
By the way, is it a live or test database?
Regards,
Badri.

 

by: macareliPosted on 2006-11-28 at 06:41:32ID: 18028166

badri,
this is not yet in production but needed for testing, I can affor no archive for a day or so.
the thing is my configuration reflects your suggestion, one mandatory, one optional location, log_archive_min_suceed_dest =1
I'm sure it is something very simple we are missing I will post an update as I figure this out.

 

by: btuttPosted on 2006-11-28 at 06:42:49ID: 18028175

That is fine that you are starting the database from the console as you say, but when you indicate the instance the default pfile is at $ORACLE_HOME/dbs/init$ORACLE_SID.ora.

Is this the file you are wanting to start your instance with. I would examine this file to ensure this is the one you are using!

 

by: btuttPosted on 2006-11-28 at 06:43:56ID: 18028186

Additionally did you follow the metalink note I had provided you??

 

by: macareliPosted on 2006-11-28 at 06:57:01ID: 18028300

ok thanks
i did follow the metalink instructions and posted the results.
an arhive log all command still returned a ORA-16020 error.

 

by: gvsbnarayanaPosted on 2006-11-28 at 06:58:09ID: 18028315

Sorry... I mean   ... I would suggest NOT marking one of the archive log destinations to mandatory.
You can leave all of them in optional mode and log_archive_min_suceed_dest =1 .
Then, you can have your db running atleast one of them are available.
HTH
Regards,
Badri.

 

by: btuttPosted on 2006-11-28 at 07:10:43ID: 18028427

I would tend to agree (regarding the mandatory switch), I still, however, would like to see the contents of your pfile.

 

by: btuttPosted on 2006-11-28 at 07:16:24ID: 18028477

Additionally, you can change your log source to a completely different location and then issue "alter system archive log all". Have you tried to change this log source destination on your session just so  you can flush the archive log buffer to disk?

 

by: macareliPosted on 2006-11-28 at 10:34:12ID: 18030153

what would be the command for changing the archive log from mandatory to optional?

spfile contents:
scdev.__java_pool_size=4194304
scdev.__large_pool_size=4194304
scdev.__shared_pool_size=121634816
scdev.__streams_pool_size=0
*.aq_tm_processes=1
*.audit_trail='db'
*.BACKGROUND_DUMP_DEST='C:\oracle\admin\dev\bdump'
*.compatible='10.2.0.1.0'
*.control_file_record_keep_time=90
*.CONTROL_FILES='c:\oracle\oradata\dev\control1.ctl','c:\Oracle\oradata\dev\control2.ctl'
*.CORE_DUMP_DEST='C:\oracle\admin\dev\cdump'
*.db_block_size=8192
*.db_file_multiblock_read_count=16
*.db_files=200
*.DB_NAME='DEV'
*.db_recovery_file_dest='E:\flashrecov'
*.db_recovery_file_dest_size=5
*.fast_start_mttr_target=30
*.job_queue_processes=10
*.log_archive_dest=''
*.log_archive_dest_1='LOCATION=E:\archive1 MANDATORY REOPEN=300 QUOTA_SIZE=512'
*.log_archive_dest_2='LOCATION=E:\archive2 OPTIONAL REOPEN=300 QUOTA_SIZE=512'
*.log_archive_format='%d%t%s%r.arc'
*.log_archive_min_succeed_dest=1
*.log_buffer=3145728
*.open_cursors=500
*.processes=300
*.remote_login_passwordfile='exclusive'
*.REMOTE_OS_AUTHENT=FALSE
*.SGA_MAX_SIZE=600M
*.SGA_TARGET=300M
*.trace_enabled=false
*.undo_management='AUTO'
*.undo_tablespace='UNDO'
*.USER_DUMP_DEST='C:\oracle\admin\dev\udump'

 

by: btuttPosted on 2006-11-28 at 11:10:38ID: 18030492

alter system set log_archive_dest_1='LOCATION=E:\archive1 OPTIONAL REOPEN=300 QUOTA_SIZE=512'

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...