Archive log shows 95% full even its empty

Hi All,
My archive directory is mounted on the following file system.
/dev/vg00/lvol13   6291456 5947689  322348   95% /oracle/DEV/oraarch
even though this oraarch is empty its sowing 95% full and its getting filled for every 5min.
Regards
Rahul.

Hi,
Do the following:
cd /oracle/DEV/oraarch
Check what files are there:
ls -lart
cd ...
Check the disk usage with:
du -xg
Then check whether there are any open files:
fuser /oracle/DEV/oraarch
You will get the PID from here
now do a lsof -p <PID>
Check what it is doing, kill it if it is useless:
kill <PID>
or if the above doesn't work kill -9 <PID>
- Regards, Dibya

Similar Messages

  • My battery died then it still shows radio off even its full charged , pls help!

    My battery died then i charged it and still the phone is radio off and the battery  is full, and just shows the home page and i cant go to the menu or do anything ??!!
    cant even connect to the pc 
    thanks in advance, 

    Then you've got a bricked dead device.
    You can try again to try to wipe and reload the operating system if you want. You will need to use BBSAK or JL_Cmder to wipe the device and subsequently load the OS to the device. Follow the instructions here:
    http://www.blackberryfaq.com/index.php/How_do_I_wipe_the_BlackBerry_using_Jl_Cmder%3F
    And if any of that doesn't work, I'd return to say it's a moisture problem. I've seen it all too often. IF it is moisture and you continue to use the device, you're just damaging it further.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • CD/DVD drive clicks even its empty

    since i got my lap and that's less than 2 weeks ,and i heart a sound of the DVD even thought it's empty ....
    i heart it alot from time to another " about every 15 mins or 30 "
    it's weird ! and is this a problem ,so i can get back to the warranty ?

    I think you mean the CD/DVD drive it clicks from time to timeright?
    I read about this strange symptom its looks it caused by Toshiba PC Health Monitor
    Disable the Toshiba PC Health Monitor in msconfig startup tab and reboot the unit.
    Please also read this thread:
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=67011

  • HT4847 iCloud Storage still full even have emptied the Mail trash

    Hi all.. I have problem with my iCloud Storage. I've deleted all the messages in Mail Application on iCloud.com and empty the trash also. But my iCloud storage still full, and the information from "Manage Storage", there are 4.2 GB data still on my Mail..
    What should I do? please help..

    Probably not. I have exactly the same problem. Had 2.1GB of Mail in storage. Deleted all mail from my Mail account.
    Emptied trash.
    No effect. still 2.1GB of Mail, which, together with 2.7 GB of other backups etc, means my iCloud storage is full.

  • New Battery only shows 97% full even when plugged in

    Any ideas as to why? My original battery would always show it was 100% once it hit full charge plugged in.
    Any help is appreciated.
    Thanks,
    Aaron

    You probably need to calibrate it a few times to teach it where 100% is.
    http://docs.info.apple.com/article.html?artnum=86284
    Joe

  • Brand New Ipod Shuffle says its full when its empty!!

    Hiya Guys,
    i hope you can help me.
    On Saturday I bought 2 shuffles as presents for s friends twins. The first unit works fine that we loaded, but the second unit picked up everything on the computer as a natural sync motion. I tried to delete these tunes from the unit, which says I have done it, but the capacity indicator says the shuffle is full, and the music is still on it. I have tried toi restore the Factory settings but nothing happens, infact is just suspends the whole computer!!
    So firstly, why when I have deleted everything, it still says its full?
    How do I actually get the music off?
    Or should I just take it back to the shop and exchange it for a new one?
    Looking forward to all of your help
    Donna

    Hiya Guys,
    i hope you can help me.
    On Saturday I bought 2 shuffles as presents for s
    friends twins. The first unit works fine that we
    loaded, but the second unit picked up everything on
    the computer as a natural sync motion. I tried to
    delete these tunes from the unit, which says I have
    done it, but the capacity indicator says the shuffle
    is full, and the music is still on it. I have tried
    toi restore the Factory settings but nothing happens,
    infact is just suspends the whole computer!!
    So firstly, why when I have deleted everything, it
    still says its full?
    How do I actually get the music off?
    DID you do the following: Click on the Shuffle icon in Devices on the left side of the iTunes window, then select the tracks you want to delete in he Contents window and hit teh "delete" key on your keyboard?

  • Incomplete Recovery Fails using Full hot backup & Archive logs !!

    Hello DBA's !!
    I am doing on Recovery scenario where I have taken One full hot backup of my Portal Database (EPR) and Restored it on New Test Server. Also I restored Archive logs from last full hot backup for next 6 days. Also I restored the latest Control file (binary) to their original locations. Now, I started the recovery scenario as follows....
    1) Installed Oracle 10.2.0.2 compatible with restored version of oracle.
    2) Configured tnsnames.ora, listener.ora, sqlnet.ora with hostname of Test server.
    3) Restored all Hot backup files from Tape to Test Server.
    4) Restored all archive logs from tape to Test server.
    5) Restored Latest Binary Control file from Tape to Test Server.
    6) Now, Started recovery using following command from SQL prompt.
    SQL> recover database until cancel using backup controlfile;
    7) Open database after Recovery Completion using RESETLOGS option.
    Now in Above scenario I completed steps upto 5) successfully. But when I execute the step 6) the recovery completes with Warning : Recovery completed but OPEN RESETLOGS may throw error " system file needs more recovery to be consistent " . Please find the following snapshot ....
    ORA-00279: change 7001816252 generated at 01/13/2008 12:53:05 needed for thread
    1
    ORA-00289: suggestion : /oracle/EPR/oraarch/1_9624_601570270.dbf
    ORA-00280: change 7001816252 for thread 1 is in sequence #9624
    ORA-00278: log file '/oracle/EPR/oraarch/1_9623_601570270.dbf' no longer needed
    for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00308: cannot open archived log '/oracle/EPR/oraarch/1_9624_601570270.dbf'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/oracle/EPR/sapdata1/system_1/system.data1'
    SQL> SQL> SQL> SQL> SQL> SQL> SQL>
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/oracle/EPR/sapdata1/system_1/system.data1'
    Let me know What should be the reason behind recovery failure !
    Note : I tried to Open the database using Last Full Hot Backup only & not applying any archives. Then Database Opens successfully. It means my Database Installation & Configuration is OK !
    Please Let me know why my Incomplete Recovery using Archive logs Goes Fail ?
    Atul Patil.

    oh you made up a new thread so here again:
    there is nothing wrong.
    You restored your backup, archives etc.
    you started your recovery and oracle applyed all archives but the archive
    '/oracle/EPR/oraarch/1_9624_601570270.dbf'
    does not exist because it represents your current online redo log file and that is not present.
    the recovery process cancels by itself.
    the solution is:
    restart your recovery process with:
    recover database until cancel using backup controlfile
    and when oracle suggests you '/oracle/EPR/oraarch/1_9624_601570270.dbf'
    type cancel!
    now you should be able to open your database with open resetlogs.

  • Why archive log is full so fast?

    Hi All,
    I have installed 10g RAC on RHEL4 using MSA1000 as a shared storage. and using ASM for database files and archive log files (external reduandancy) with RAID5. I have allocated 100GB for archive log files. database also created successfully with archive log enabled. After that i import 3 schemas in the RAC db each of 2GB size. The import was successful and when i try to connect the schema using Sqlplus it will "archive error". archive log space was full. i checked in asmcmd also, the 100GB fully occupied. My doubt is..How come the 100GB space is filled so fast?
    Can anybody help me?
    Thanks,
    Praveen.

    Hi Don,
    No error, just code from an older release! Right ?
    Not found any reference of the TIME column from V$LOG_HISTORY into the 8i and 9i doc. Maybe from Oracle 7 ?
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.7.4.1 - Production
    With the Partitioning option
    JServer Release 8.1.7.4.1 - Production
    SQL> select substr(time,1,5) day,
      2  to_char(sum(decode(substr(time,10,2),'00',1,0)),'99') "00",
      3  to_char(sum(decode(substr(time,10,2),'01',1,0)),'99') "01",
      4  to_char(sum(decode(substr(time,10,2),'02',1,0)),'99') "02",
      5  to_char(sum(decode(substr(time,10,2),'03',1,0)),'99') "03",
      6  to_char(sum(decode(substr(time,10,2),'04',1,0)),'99') "04",
      7  to_char(sum(decode(substr(time,10,2),'05',1,0)),'99') "05",
      8  to_char(sum(decode(substr(time,10,2),'06',1,0)),'99') "06",
      9  to_char(sum(decode(substr(time,10,2),'07',1,0)),'99') "07",
    10  to_char(sum(decode(substr(time,10,2),'08',1,0)),'99') "08",
    11  to_char(sum(decode(substr(time,10,2),'09',1,0)),'99') "09",
    12  to_char(sum(decode(substr(time,10,2),'10',1,0)),'99') "10",
    13  to_char(sum(decode(substr(time,10,2),'11',1,0)),'99') "11",
    14  to_char(sum(decode(substr(time,10,2),'12',1,0)),'99') "12",
    15  to_char(sum(decode(substr(time,10,2),'13',1,0)),'99') "13",
    16  to_char(sum(decode(substr(time,10,2),'14',1,0)),'99') "14",
    17  to_char(sum(decode(substr(time,10,2),'15',1,0)),'99') "15",
    18  to_char(sum(decode(substr(time,10,2),'16',1,0)),'99') "16",
    19  to_char(sum(decode(substr(time,10,2),'17',1,0)),'99') "17",
    20  to_char(sum(decode(substr(time,10,2),'18',1,0)),'99') "18",
    21  to_char(sum(decode(substr(time,10,2),'19',1,0)),'99') "19",
    22  to_char(sum(decode(substr(time,10,2),'20',1,0)),'99') "20",
    23  to_char(sum(decode(substr(time,10,2),'21',1,0)),'99') "21",
    24  to_char(sum(decode(substr(time,10,2),'22',1,0)),'99') "22",
    25  to_char(sum(decode(substr(time,10,2),'23',1,0)),'99') "23"
    26  from v$log_history
    27  group by substr(time,1,5);
    group by substr(time,1,5)
    ERROR at line 27:
    ORA-00904: invalid column name
    SQL> desc v$log_history
    Name                                      Null?    Type
    RECID                                              NUMBER
    STAMP                                              NUMBER
    THREAD#                                            NUMBER
    SEQUENCE#                                          NUMBER
    FIRST_CHANGE#                                      NUMBER
    FIRST_TIME                                         DATE
    NEXT_CHANGE#                                       NUMBER
    SQL>
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    SQL> select substr(time,1,5) day,
      2  to_char(sum(decode(substr(time,10,2),'00',1,0)),'99') "00",
      3  to_char(sum(decode(substr(time,10,2),'01',1,0)),'99') "01",
      4  to_char(sum(decode(substr(time,10,2),'02',1,0)),'99') "02",
      5  to_char(sum(decode(substr(time,10,2),'03',1,0)),'99') "03",
      6  to_char(sum(decode(substr(time,10,2),'04',1,0)),'99') "04",
      7  to_char(sum(decode(substr(time,10,2),'05',1,0)),'99') "05",
      8  to_char(sum(decode(substr(time,10,2),'06',1,0)),'99') "06",
      9  to_char(sum(decode(substr(time,10,2),'07',1,0)),'99') "07",
    10  to_char(sum(decode(substr(time,10,2),'08',1,0)),'99') "08",
    11  to_char(sum(decode(substr(time,10,2),'09',1,0)),'99') "09",
    12  to_char(sum(decode(substr(time,10,2),'10',1,0)),'99') "10",
    13  to_char(sum(decode(substr(time,10,2),'11',1,0)),'99') "11",
    14  to_char(sum(decode(substr(time,10,2),'12',1,0)),'99') "12",
    15  to_char(sum(decode(substr(time,10,2),'13',1,0)),'99') "13",
    16  to_char(sum(decode(substr(time,10,2),'14',1,0)),'99') "14",
    17  to_char(sum(decode(substr(time,10,2),'15',1,0)),'99') "15",
    18  to_char(sum(decode(substr(time,10,2),'16',1,0)),'99') "16",
    19  to_char(sum(decode(substr(time,10,2),'17',1,0)),'99') "17",
    20  to_char(sum(decode(substr(time,10,2),'18',1,0)),'99') "18",
    21  to_char(sum(decode(substr(time,10,2),'19',1,0)),'99') "19",
    22  to_char(sum(decode(substr(time,10,2),'20',1,0)),'99') "20",
    23  to_char(sum(decode(substr(time,10,2),'21',1,0)),'99') "21",
    24  to_char(sum(decode(substr(time,10,2),'22',1,0)),'99') "22",
    25  to_char(sum(decode(substr(time,10,2),'23',1,0)),'99') "23"
    26  from v$log_history
    27  group by substr(time,1,5);
    group by substr(time,1,5)
    ERROR at line 27:
    ORA-00904: "TIME": invalid identifier
    SQL> desc v$log_history
    Name                                      Null?    Type
    RECID                                              NUMBER
    STAMP                                              NUMBER
    THREAD#                                            NUMBER
    SEQUENCE#                                          NUMBER
    FIRST_CHANGE#                                      NUMBER
    FIRST_TIME                                         DATE
    NEXT_CHANGE#                                       NUMBER
    SQL> Well, Gints has already check the doc.
    To be fair, I would agree that could be a nightmare to maintain a bunch of scripts through different release, but at least see the evidence, on that case, on the age of the scritp if it was tested a day.
    Nicolas.
    Message was edited by:
    N. Gasparotto

  • Notification on Archive log full

    Dear All,
    I want an mail notification to be sent to my mail id, when my archive log destination is full.
    Please help me on this regard.
    Thanks in Advance...
    Regds
    Kiran

    Use the Below script in CRONTAB for every 10 minuts
    1. file /tmp/tmp.txt for the body of mail
    #!/bin/bash
    #Location Of archive destination
    export ARCH_DEST=/opt/arch
    # Max Size of Destination in KB
    export ARCH_MAX_SIZE=1000
    i=`du -s $ARCH_DEST|awk '{print $1}'`
    if [ $i -gt $ARCH_MAX_SIZE ]
    then
    mail -s "SUBJECT" [email protected] < /tmp/tmp.txt
    fi
    Edited by: Baipaneni on Mar 2, 2009 2:31 AM

  • Corruption of archived logs after redo resizing - URGENT

    Hello all,
    We have a RAC 9i 2-node DB, running on RHEL 3 machines.
    We resized our redo logs from 100M to 1G to avoid "Can not allocate log, archival required" messages.
    The operation was successful, but now we are facing problems with the ext3 filesystem holding the archived logs.
    Each node has its own arc location, mounted only once.
    When we run "ls" in the arc destination, we get "ls: Input/output error" messages.
    RMAN complains also about corrupted arcvhived logs.
    The day before Yesterday we reformatted one arc destination, and today the messages appeared in the other one.
    Do you have any suggestion?
    Jonathan

    Did the problem occur right after increasing the log size? Then the first thing to do would be to decrease the log size, but add more log groups to fix the "Can not allocate..." problem.
    If "ls" doesn't work, your file system is stuffed.Reformat the archive dest and do simple file copies to verify the integrity, before putting the archive logs back on.
    That's just for starters...

  • Unable to delete archive log.

    Hi,
    Our database server's archive log destination is full,but after running
    backup archivelog all delete input;
    it's taking archive log backup,but not deleting archivelogs.
    Could you suggest me what is the reason.

    RMAN> backup archivelog all delete input;
    Starting backup at 17-DEC-10
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=155 recid=422 stamp=737092752
    input archive log thread=1 sequence=156 recid=425 stamp=737156432
    input archive log thread=1 sequence=157 recid=428 stamp=737257293
    input archive log thread=1 sequence=158 recid=431 stamp=737322402
    input archive log thread=1 sequence=159 recid=434 stamp=737389991
    input archive log thread=1 sequence=160 recid=437 stamp=737408597
    input archive log thread=1 sequence=161 recid=440 stamp=737476660
    input archive log thread=1 sequence=162 recid=443 stamp=737542384
    input archive log thread=1 sequence=163 recid=446 stamp=737634615
    input archive log thread=1 sequence=164 recid=449 stamp=737658567
    input archive log thread=1 sequence=165 recid=452 stamp=737726432
    input archive log thread=1 sequence=166 recid=455 stamp=737827094
    input archive log thread=1 sequence=167 recid=456 stamp=737860748
    input archive log thread=1 sequence=168 recid=464 stamp=737980097
    input archive log thread=1 sequence=169 recid=461 stamp=737980094
    input archive log thread=1 sequence=170 recid=467 stamp=737980099
    input archive log thread=1 sequence=171 recid=470 stamp=737980425
    input archive log thread=1 sequence=172 recid=472 stamp=737981508
    input archive log thread=1 sequence=173 recid=474 stamp=737985385
    channel ORA_DISK_1: starting piece 1 at 17-DEC-10
    channel ORA_DISK_1: finished piece 1 at 17-DEC-10
    piece handle=D:\RMAN\BACKUP\0MLVPGRB_1_1 comment=NONE
    channel ORA_DISK_1: starting piece 2 at 17-DEC-10
    channel ORA_DISK_1: finished piece 2 at 17-DEC-10
    piece handle=D:\RMAN\BACKUP\0MLVPGRB_2_1 comment=NONE
    channel ORA_DISK_1: starting piece 3 at 17-DEC-10
    channel ORA_DISK_1: finished piece 3 at 17-DEC-10
    piece handle=D:\RMAN\BACKUP\0MLVPGRB_3_1 comment=NONE
    channel ORA_DISK_1: starting piece 4 at 17-DEC-10
    channel ORA_DISK_1: finished piece 4 at 17-DEC-10
    piece handle=D:\RMAN\BACKUP\0MLVPGRB_4_1 comment=NONE
    channel ORA_DISK_1: starting piece 5 at 17-DEC-10
    channel ORA_DISK_1: finished piece 5 at 17-DEC-10
    piece handle=D:\RMAN\BACKUP\0MLVPGRB_5_1 comment=NONE
    channel ORA_DISK_1: starting piece 6 at 17-DEC-10
    channel ORA_DISK_1: finished piece 6 at 17-DEC-10
    piece handle=D:\RMAN\BACKUP\0MLVPGRB_6_1 comment=NONE
    channel ORA_DISK_1: starting piece 7 at 17-DEC-10
    channel ORA_DISK_1: finished piece 7 at 17-DEC-10
    piece handle=D:\RMAN\BACKUP\0MLVPGRB_7_1 comment=NONE
    channel ORA_DISK_1: starting piece 8 at 17-DEC-10
    channel ORA_DISK_1: finished piece 8 at 17-DEC-10
    piece handle=D:\RMAN\BACKUP\0MLVPGRB_8_1 comment=NONE
    channel ORA_DISK_1: starting piece 9 at 17-DEC-10
    channel ORA_DISK_1: finished piece 9 at 17-DEC-10
    piece handle=D:\RMAN\BACKUP\0MLVPGRB_9_1 comment=NONE
    channel ORA_DISK_1: starting piece 10 at 17-DEC-10
    channel ORA_DISK_1: finished piece 10 at 17-DEC-10
    piece handle=D:\RMAN\BACKUP\0MLVPGRB_10_1 comment=NONE
    channel ORA_DISK_1: starting piece 11 at 17-DEC-10
    channel ORA_DISK_1: finished piece 11 at 17-DEC-10
    piece handle=D:\RMAN\BACKUP\0MLVPGRB_11_1 comment=NONE
    channel ORA_DISK_1: starting piece 12 at 17-DEC-10
    channel ORA_DISK_1: finished piece 12 at 17-DEC-10
    piece handle=D:\RMAN\BACKUP\0MLVPGRB_12_1 comment=NONE
    channel ORA_DISK_1: starting piece 13 at 17-DEC-10
    channel ORA_DISK_1: finished piece 13 at 17-DEC-10
    piece handle=D:\RMAN\BACKUP\0MLVPGRB_13_1 comment=NONE
    channel ORA_DISK_1: starting piece 14 at 17-DEC-10
    channel ORA_DISK_1: finished piece 14 at 17-DEC-10
    piece handle=D:\RMAN\BACKUP\0MLVPGRB_14_1 comment=NONE
    channel ORA_DISK_1: starting piece 15 at 17-DEC-10
    channel ORA_DISK_1: finished piece 15 at 17-DEC-10
    piece handle=D:\RMAN\BACKUP\0MLVPGRB_15_1 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:03:41
    channel ORA_DISK_1: deleting archive log(s)
    archive log filename=D:\ORANT\ARCLOG3\REDO03.LOGARC00155.001 recid=422 stamp=737
    092752
    archive log filename=D:\ORANT\ARCLOG3\REDO03.LOGARC00156.001 recid=425 stamp=737
    156432
    archive log filename=D:\ORANT\ARCLOG3\REDO03.LOGARC00157.001 recid=428 stamp=737
    257293
    archive log filename=D:\ORANT\ARCLOG3\REDO03.LOGARC00158.001 recid=431 stamp=737
    322402
    archive log filename=D:\ORANT\ARCLOG3\REDO03.LOGARC00159.001 recid=434 stamp=737
    389991
    archive log filename=D:\ORANT\ARCLOG3\REDO03.LOGARC00160.001 recid=437 stamp=737
    408597
    archive log filename=D:\ORANT\ARCLOG3\REDO03.LOGARC00161.001 recid=440 stamp=737
    476660
    archive log filename=D:\ORANT\ARCLOG3\REDO03.LOGARC00162.001 recid=443 stamp=737
    542384
    archive log filename=D:\ORANT\ARCLOG3\REDO03.LOGARC00163.001 recid=446 stamp=737
    634615
    archive log filename=D:\ORANT\ARCLOG3\REDO03.LOGARC00164.001 recid=449 stamp=737
    658567
    archive log filename=D:\ORANT\ARCLOG3\REDO03.LOGARC00165.001 recid=452 stamp=737
    726432
    archive log filename=D:\ORANT\ARCLOG3\REDO03.LOGARC00166.001 recid=455 stamp=737
    827094
    archive log filename=D:\ORANT\ARCLOG1\REDO01.LOGARC00167.001 recid=456 stamp=737
    860748
    archive log filename=D:\ORANT\ARCLOG3\REDO03.LOGARC00168.001 recid=464 stamp=737
    980097
    archive log filename=D:\ORANT\ARCLOG3\REDO03.LOGARC00169.001 recid=461 stamp=737
    980094
    archive log filename=D:\ORANT\ARCLOG3\REDO03.LOGARC00170.001 recid=467 stamp=737
    980099
    archive log filename=D:\ORANT\ARCLOG3\REDO03.LOGARC00171.001 recid=470 stamp=737
    980425
    archive log filename=D:\ORANT\ARCLOG2\REDO02.LOGARC00172.001 recid=472 stamp=737
    981508
    archive log filename=D:\ORANT\ARCLOG1\REDO01.LOGARC00173.001 recid=474 stamp=737
    985385
    Finished backup at 17-DEC-10
    Starting Control File and SPFILE Autobackup at 17-DEC-10
    piece handle=D:\RMAN\BACKUP\C-1738882432-20101217-02 comment=NONE
    Finished Control File and SPFILE Autobackup at 17-DEC-10

  • Full Backups, Level 0 Backups, and Archived Logs

    We have an active Oracle server and a standby Oracle server. We keep the standby database up to date with a cron script. The script tells the active database to do 'alter system switch logfile;'. We then rsync the archived logs to our standby server and have rman apply them.
    This works everyday except Monday (of course!) and it only recently started failing on Mondays. The only change was that our Sunday backups used to be 'Full' backups but are now 'level 0' backups. Ever since that change, the first attempt to apply the archived logs to the standby server after the level 0 is taken on the active server gives us something like this:
    ORA-00308: cannot open archived log
    '/opt/oracle/flash_recovery_area/ORCL/archivelog/2012_04_16/o1_mf_1_60519_%u_.arc'
    ORA-27037: unable to obtain file status
    Of course, the file is not there and doesn't exist on the active server either. And of course, the nightly level1 backups fo not give us problems applying archived logs to the standby database the rest of the week.
    The only way I know to recover from this is to apply the level 0 backup or take a new level 0 and apply it. After that, all subsequent archive logs just work. Any idea why changing from Full to Level 0 would break this? The Oracle docs insist that a Level 0 is identical to a Full except that level 1s can reference them as parents. This simply cannot be true based on what I'm seeing! I really want to keep the level 0 backups in play if possible. Level 1 cumulatives wont be useful without them.

    Here are the RMAN settings:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/102/dbs/snapcf_ORCL.f'; # default
    I'm not sure how changing ARCHIVELOG BACKUP COPIES would help. Can you give me a little more information about how that setting comes into play in this situation?
    I actually don't want an archive deletion policy here. We have this done in script three days after the needed archive logs have been applied. Is it possible that the we're deleting archivelogs too soon? Would we ever need to reach back in time to previously applied archive logs to apply new ones?
    The %u does resolve, but this message isn't showing it. Here is that same log entry plus a few previous entries that show it does resolve.
    ORA-00279: change 1284618956 generated at 04/13/2012 15:30:05 needed for thread
    1
    ORA-00289: suggestion :
    /opt/oracle/flash_recovery_area/ORCL/archivelog/2012_04_16/o1_mf_1_60518_%u_.arc
    ORA-00280: change 1284618956 for thread 1 is in sequence #60518
    ORA-00278: log file
    '/opt/oracle/flash_recovery_area/ORCL/archivelog/2012_04_13/o1_mf_1_60517_7rjzox
    0l_.arc' no longer needed for this recovery
    ORA-00279: change 1284618958 generated at 04/13/2012 15:30:05 needed for thread
    1
    ORA-00289: suggestion :
    /opt/oracle/flash_recovery_area/ORCL/archivelog/2012_04_16/o1_mf_1_60519_%u_.arc
    ORA-00280: change 1284618958 for thread 1 is in sequence #60519
    ORA-00278: log file
    '/opt/oracle/flash_recovery_area/ORCL/archivelog/2012_04_13/o1_mf_1_60518_7rjzox
    0x_.arc' no longer needed for this recovery
    ORA-00308: cannot open archived log
    '/opt/oracle/flash_recovery_area/ORCL/archivelog/2012_04_16/o1_mf_1_60519_%u_.ar
    c'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3

  • Full backup and backup archive logs

    Hello,
    today in the early morning i did backup of my db with :
    RMAN> backup as COMPRESSED BACKUPSET DATABASE format '/backup/%d_t%t_s%s_p%p';This command created two files :
    [oracle@p1 backup]$ ls -l
    total 1132680
    -rw-r-----  1 oracle oinstall 1155940352 Sep 14 00:44 TEST_t697508918_s5_p1
    -rw-r-----  1 oracle oinstall    2785280 Sep 14 00:44 TEST_t697509873_s6_p1Did i backed up archive logs also with this command ?
    If I did not, do i have to i n order to have everything to do complete resterer and recovery ?
    Is now to late to backup them?

    Can you confirm that this backup will be placed in the FRA, it will backup all datafile, control files, spfile and control files all arhchivle logs and when backup finshes then will delete all archive logs ?+
    after running that command yo can confirm it by yourself at RMAN prompt.
    RMAN> list backup;
    List of Backup Sets
    ===================
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    200     Full    509.78M    DISK        00:01:03     15-FEB-07
            BP Key: 202   Status: AVAILABLE  Compressed: NO  Tag: TAG20070215T171219
            Piece Name: /disk2/PROD/backupset/2007_02_15/o1_mf_nnndf_TAG20070215T171219_2xb17nbb_.bkp
      List of Datafiles in backup set 200
      File LV Type Ckp SCN    Ckp Time  Name
      1       Full 421946     15-FEB-07 /disk1/oradata/prod/system01.dbf
      2       Full 421946     15-FEB-07 /disk1/oradata/prod/sysaux01.dbf
      3       Full 421946     15-FEB-07 /disk1/oradata/prod/undotbs01.dbf
      4       Full 421946     15-FEB-07 /disk1/oradata/prod/cwmlite01.dbf
      5       Full 421946     15-FEB-07 /disk1/oradata/prod/drsys01.dbf
      6       Full 421946     15-FEB-07 /disk1/oradata/prod/example01.dbf
      7       Full 421946     15-FEB-07 /disk1/oradata/prod/indx01.dbf
      8       Full 421946     15-FEB-07 /disk1/oradata/prod/tools01.dbf
      9       Full 421946     15-FEB-07 /disk1/oradata/prod/users01.dbf
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    201     Full    7.98M      DISK        00:00:03     15-FEB-07
            BP Key: 203   Status: AVAILABLE  Compressed: NO  Tag: TAG20070215T171219
            Piece Name: /disk2/PROD/backupset/2007_02_15/o1_mf_ncsnf_TAG20070215T171219_2xb19prg_.bkp
      SPFILE Included: Modification time: 15-FEB-07
      SPFILE db_unique_name: PROD
      Control File Included: Ckp SCN: 421968       Ckp time: 15-FEB-07
    BS Key  Size       Device Type Elapsed Time Completion Time
    227     30.50M     SBT_TAPE    00:00:11     15-FEB-07
            BP Key: 230   Status: AVAILABLE  Compressed: NO  Tag: TAG20070215T171334
            Handle: 0bia4rtv_1_1   Media:
      List of Archived Logs in backup set 227
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      1    5       389156     15-FEB-07 411006     15-FEB-07
      1    6       411006     15-FEB-07 412972     15-FEB-07
      1    7       412972     15-FEB-07 417086     15-FEB-07
      1    8       417086     15-FEB-07 417114     15-FEB-07
      1    9       417114     15-FEB-07 417853     15-FEB-07
      1    10      417853     15-FEB-07 421698     15-FEB-07
      1    11      421698     15-FEB-07 421988     15-FEB-07list backup will show you everything.
    Would then this be incremental level 0 backup ?
    yes by default i think so.
    so with this i must be able to flasback my database at least 3 day in the past if i understood correctly.
    But i am little puzled about purging those flasback data ...
    Can you point me please to some link or tell how can i purge logs that are not need for that flashback period... ?
    please read this link
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/rpfbdb003.htm#sthref513
    Khurram

  • Archive Log vs Full Backup Concept

    Hi,
    I just need some clarification on how backups and archive logs work. Lets say starting at 1PM I have archive logs 1,2,3,4,5 and then I perform a full backup at 6PM.
    Then I resume generating archive logs at 6PM to get logs 6,7,8,9,10. I then stop at 11PM.
    If my understanding is correct, the archive logs should allow me to restore oracle to a point in time anywhere between 1PM and 11PM. But if I only have the full backup then I can only restore to a single point, which is 6PM. Is my understanding correct?
    Do the archive logs only get applied to the datafiles when the backup occurs or only when a restore occurs? It doesn't seem like the archive logs get applied on the fly.
    Thanks in advance.

    thelok wrote:
    Thanks for the great explanation! So I can do a point in time restore from any time since the datafiles have last been written (or from when I have the last set of backed up datafiles plus the archive logs). From what you are saying, I can force the datafiles to be written from the redo logs (by doing a checkpoint with "alter set archive log current" or "backup database plus archivelog"), and then I can delete all the archive logs that have a SCN less than the checkpoint SCN on the datafiles. Is this true? This would be for the purposes of preserving disk space.Hi,
    See this example. I hope this explain your doubt.
    # My current date is 06-11-2011 17:15
    # I not have backup of this database
    # My retention policy is to have 1 backup
    # I start listing  archive logs.
    RMAN> list archivelog all;
    using target database control file instead of recovery catalog
    List of Archived Log Copies
    Key     Thrd Seq     S Low Time            Name
    29      1    8       A 29-10-2011 12:01:58 +HR/dbhr/archivelog/2011_10_31/thread_1_seq_8.399.766018837
    30      1    9       A 31-10-2011 23:00:30 +HR/dbhr/archivelog/2011_11_03/thread_1_seq_9.409.766278025
    31      1    10      A 03-11-2011 23:00:23 +HR/dbhr/archivelog/2011_11_04/thread_1_seq_10.391.766366105
    32      1    11      A 04-11-2011 23:28:23 +HR/dbhr/archivelog/2011_11_06/thread_1_seq_11.411.766516065
    33      1    12      A 05-11-2011 23:28:49 +HR/dbhr/archivelog/2011_11_06/thread_1_seq_12.413.766516349
    ## See I have archive logs from time "29-10-2011 12:01:58" until "05-11-2011 23:28:49" but I dont have any backup of database.
    # So I perfom backup of database including archive logs.
    RMAN> backup database plus archivelog delete input;
    Starting backup at 06-11-2011 17:15:21
    ## Note above RMAN forcing archive current log, this archivelog generated will be usable only for previous backup.
    ## Is not my case... I don't have backup of database.
    current log archived
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=159 devtype=DISK
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=8 recid=29 stamp=766018840
    input archive log thread=1 sequence=9 recid=30 stamp=766278027
    input archive log thread=1 sequence=10 recid=31 stamp=766366111
    input archive log thread=1 sequence=11 recid=32 stamp=766516067
    input archive log thread=1 sequence=12 recid=33 stamp=766516350
    input archive log thread=1 sequence=13 recid=34 stamp=766516521
    channel ORA_DISK_1: starting piece 1 at 06-11-2011 17:15:23
    channel ORA_DISK_1: finished piece 1 at 06-11-2011 17:15:38
    piece handle=+FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171521_0.268.766516525 tag=TAG20111106T171521 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:16
    channel ORA_DISK_1: deleting archive log(s)
    archive log filename=+HR/dbhr/archivelog/2011_10_31/thread_1_seq_8.399.766018837 recid=29 stamp=766018840
    archive log filename=+HR/dbhr/archivelog/2011_11_03/thread_1_seq_9.409.766278025 recid=30 stamp=766278027
    archive log filename=+HR/dbhr/archivelog/2011_11_04/thread_1_seq_10.391.766366105 recid=31 stamp=766366111
    archive log filename=+HR/dbhr/archivelog/2011_11_06/thread_1_seq_11.411.766516065 recid=32 stamp=766516067
    archive log filename=+HR/dbhr/archivelog/2011_11_06/thread_1_seq_12.413.766516349 recid=33 stamp=766516350
    archive log filename=+HR/dbhr/archivelog/2011_11_06/thread_1_seq_13.414.766516521 recid=34 stamp=766516521
    Finished backup at 06-11-2011 17:15:38
    ## RMAN finish backup of Archivelog and Start Backup of Database
    ## My backup start at "06-11-2011 17:15:38"
    Starting backup at 06-11-2011 17:15:38
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=+HR/dbhr/datafile/system.386.765556627
    input datafile fno=00003 name=+HR/dbhr/datafile/sysaux.396.765556627
    input datafile fno=00002 name=+HR/dbhr/datafile/undotbs1.393.765556627
    input datafile fno=00004 name=+HR/dbhr/datafile/users.397.765557979
    input datafile fno=00005 name=+BFILES/dbhr/datafile/bfiles.257.765542997
    channel ORA_DISK_1: starting piece 1 at 06-11-2011 17:15:39
    channel ORA_DISK_1: finished piece 1 at 06-11-2011 17:16:03
    piece handle=+FRA/dbhr/backupset/2011_11_06/nnndf0_tag20111106t171539_0.269.766516539 tag=TAG20111106T171539 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:24
    Finished backup at 06-11-2011 17:16:03
    ## And finish at "06-11-2011 17:16:03", so I can recovery my database from this time.
    ## I will need archivelogs (transactions) which was generated during backup of database.
    ## Note during backup some blocks are copied others not. The SCN is inconsistent state.
    ## To make it consistent I need apply archivelog which have all transactions recorded.
    ## Starting another backup of archived log generated during backup.
    Starting backup at 06-11-2011 17:16:04
    ## So automatically RMAN force another "checkpoint" after backup finished,
    ## forcing archive current log, because this archivelog have all transactions to bring database in a consistent state.
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=14 recid=35 stamp=766516564
    channel ORA_DISK_1: starting piece 1 at 06-11-2011 17:16:05
    channel ORA_DISK_1: finished piece 1 at 06-11-2011 17:16:06
    piece handle=+FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171604_0.272.766516565 tag=TAG20111106T171604 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    channel ORA_DISK_1: deleting archive log(s)
    archive log filename=+HR/dbhr/archivelog/2011_11_06/thread_1_seq_14.414.766516565 recid=35 stamp=766516564
    Finished backup at 06-11-2011 17:16:06
    ## Note: I can recover my database from time "06-11-2011 17:16:03" (finished backup full)
    ##  until "06-11-2011 17:16:04" (last archivelog generated) that is my recover window in this scenary.
    ## Listing Backup I have:
    ## Archive Logs in backupset before backup full start - *BP Key: 40*
    ## Backup Full database in backupset - *BP Key: 41*
    ##  Archive Logs in backupset after backup full stop - *BP Key: 42*
    RMAN> list backup;
    List of Backup Sets
    ===================
    BS Key  Size       Device Type Elapsed Time Completion Time
    40      196.73M    DISK        00:00:15     06-11-2011 17:15:37
            *BP Key: 40*   Status: AVAILABLE  Compressed: NO  Tag: TAG20111106T171521
            Piece Name: +FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171521_0.268.766516525
      List of Archived Logs in backup set 40
      Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
      1    8       766216     29-10-2011 12:01:58 855033     31-10-2011 23:00:30
      1    9       855033     31-10-2011 23:00:30 896458     03-11-2011 23:00:23
      1    10      896458     03-11-2011 23:00:23 937172     04-11-2011 23:28:23
      1    11      937172     04-11-2011 23:28:23 976938     05-11-2011 23:28:49
      1    12      976938     05-11-2011 23:28:49 1023057    06-11-2011 17:12:28
      1    13      1023057    06-11-2011 17:12:28 1023411    06-11-2011 17:15:21
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    41      Full    565.66M    DISK        00:00:18     06-11-2011 17:15:57
            *BP Key: 41*   Status: AVAILABLE  Compressed: NO  Tag: TAG20111106T171539
            Piece Name: +FRA/dbhr/backupset/2011_11_06/nnndf0_tag20111106t171539_0.269.766516539
      List of Datafiles in backup set 41
      File LV Type Ckp SCN    Ckp Time            Name
      1       Full 1023422    06-11-2011 17:15:39 +HR/dbhr/datafile/system.386.765556627
      2       Full 1023422    06-11-2011 17:15:39 +HR/dbhr/datafile/undotbs1.393.765556627
      3       Full 1023422    06-11-2011 17:15:39 +HR/dbhr/datafile/sysaux.396.765556627
      4       Full 1023422    06-11-2011 17:15:39 +HR/dbhr/datafile/users.397.765557979
      5       Full 1023422    06-11-2011 17:15:39 +BFILES/dbhr/datafile/bfiles.257.765542997
    BS Key  Size       Device Type Elapsed Time Completion Time
    42      3.00K      DISK        00:00:02     06-11-2011 17:16:06
            *BP Key: 42*   Status: AVAILABLE  Compressed: NO  Tag: TAG20111106T171604
            Piece Name: +FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171604_0.272.766516565
      List of Archived Logs in backup set 42
      Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
      1    14      1023411    06-11-2011 17:15:21 1023433    06-11-2011 17:16:04
    ## Here make sense what I trying explain
    ## As I don't have backup of database before of my Last backup, all archivelogs generated before of my backup full is useless.
    ## Deleting what are obsolete in my env, RMAN choose backupset 40 (i.e all archived logs generated before my backup full)
    RMAN> delete obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 1
    using channel ORA_DISK_1
    Deleting the following obsolete backups and copies:
    Type                 Key    Completion Time    Filename/Handle
    *Backup Set           40*     06-11-2011 17:15:37
      Backup Piece       40     06-11-2011 17:15:37 +FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171521_0.268.766516525
    Do you really want to delete the above objects (enter YES or NO)? yes
    deleted backup piece
    backup piece handle=+FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171521_0.268.766516525 recid=40 stamp=766516523
    Deleted 1 objectsIn the above example, I could before starting the backup run "delete archivelog all" because they would not be needed, but to show the example I follow this unnecessary way. (backup archivelog and delete after)
    Regards,
    Levi Pereira
    Edited by: Levi Pereira on Nov 7, 2011 1:02 AM

  • Staging server archive log full

    Hi ,
    i have encountered my staging server having archive log full which i do not understand.
    i hope anyone can help clarify my doubts
    Production server : oracle 10G , RedHat
    Staging Server : oracle 10G , runnings on windows
    source server : DB2
    the staging server is simply a link between the Production server & db2
    i am running my procedures on the production server which is getting db2's data via the staging server thru dblink
    i have encountered the error : ORA-00257 : archiver error : connect internal only, until freed when i ran some recovery which involved some 20M to 40M records being loaded at the same time
    what i do not understand is why would the Oracle running on windows have its archive log full when it's just a link betw the production and db2
    pls advise
    tks & rgds

    Just go to the archivl log destination and delete some/all of the archive logs then I think the problem will be resolved.
    OR
    connect to RMAN then run
    run {
    allocate channel ch1 device type disk;
    backup format '/u04/rman_backup/RMAN_ARCH_<%s:%t:%p>.bkp' archivelog all delete input;
    It will take the backup of your all archivelog and then delete the archive logs from your current archive log directory.
    Regards
    Asif Kabir

Maybe you are looking for

  • ARD works from inside network, but not from outside.

    I can connect me MB to my G5 no problem when on the network inside my home. But if I'm on another network (and supply the correct IP address) I get an "ARD Not Active" error. All seem to be well, both machine are up to date and this works locally. Wh

  • Mid 2010 macbook pro with 10.8. It crashes every now and then

    Ive copied the crash report below I've beent to the Genius bar and they have asked me to reinstall the OS which i have done but still having the issue. Anyone else having similar issues or anyone out there who knows how to fix it? Thanks! Interval Si

  • Recommended way to implement external resources

    Hi , We have some static data that we need to update once a day. The data is coming from another Oracle DB. I understand there are two options to implement this: 1) To define this when defining a data object. Oracle BAM is responsible for keeping thi

  • Optimizer choosing hash joins even when slower

    We have several queries where joins are being evaluated by full scans / hash joins even when forcing index use results in an execution time about a quarter the duration of the hash join plan. It still happens if I run DMS_STATS.GATHER_TABLE_STATS wit

  • C2-03 update

    are the updates completely changes the previous software installed or they are just  like the apps installed.