ORA-00255: error archiving log

When i changing noarchivelog mode on archivelog and online logs must archiveing
I send this message from trace file.
*** SESSION ID:(3.1) 2005.02.15.12.09.15.000
ARCH: Archival stopped, error occurred. Will continue retrying
ARCH:
ORA-00255: error archiving log 1 of thread 1, sequence # 51
ORA-00312: online log 1 thread 1: 'WORK:ORANW803\DATABASE\TEST\LOG1TEST.ORA'
ORA-00312: online log 1 thread 1: 'WORK:ORANW803\DATABASE\TEST\LOG2TEST.ORA'
ORA-00334: archived log: 'WORK:ORANW803\DATABASE\TEST\ARCHIVE\TESTT001S00051.ARC'
ORA-00270: error creating archive log WORK:ORANW803\DATABASE\TEST\ARCHIVE\TESTT001S00051.ARC
ORA-19504: failed to create file "WORK:ORANW803\DATABASE\TEST\ARCHIVE\TESTT001S00051.ARC"
ORA-09200: sfccf: error creating file
OSD-02070: unable to create file (OS 1)
Tue Feb 15 12:10:02 2005 -

well, your question was not clear, though, what I understand is, you want to move your DB from archivelog mode to NOARCHIVELOG mode, right?
First of all, check whether do you have sufficient space to archiving on your hard-disk.
Secondly, try the following, alter system archive log all;
also, give the steps that you are implementing or implemented to switch from ARCHIVELOG TO NOARCHIVELOG.
SJH
OCP DBA

Similar Messages

  • ORA-12154 error when logging into SQL*Plus

    I installed Oracle 10g (10.2.0.3.0) server on a Hyper-V virtual machine running Windows Server 2008 Enterprise as a standalone server. I did a software only install and then ran the Database Configuration Assistant to create a database. I also ran the Oracle Net Configuration Assistant to configure the Listener, Naming Methods, and Local Net Service Name. I ran the test in the Net Configuration Assistant and it was successful after I changed the login credentials to use the SYSTEM account and password. TNSPING of the net service name is successful. I can also successfully connect to the database via Enterprise Manager using the SYSTEM account and password. What I can NOT do is connect locally to the database via SQL*Plus (either through the gui or command line). I get the following error:
    ERROR:
    ORA-12154: TNS: Could not resolve the connect identifier specified
    I've checked and double-checked the LISTENER.ORA, SQLNET.ORA, and TNSNAMES.ORA files. They all seem correct to me, especially since I used the configuration assistants to create them.
    Anyone have an idea what might be wrong or what I can check next? Any help would be appreciated!
    Thanks!

    They all seem correct to me, especially since I used the configuration assistants to create them. Garbage In, Garbage Out.
    Since Oracle throws an error, I strongly suspect you are mistaken.
    Simply put, you are using something like "@REMOTE" someplace & somehow and the error indicates SQL*Net does not know to what @REMOTE refers.
    How many systems are involved, names, OS version, etc?
    post connection string & post contents of tnsnames.ora file.

  • ORA-00255

    Greeting,
    I want to process using cursor.
    DECLARE
         CURSOR c_order IS SELECT * FROM ORDER_H;
         rw_order order_h%rowtype;
    BEGIN
         OPEN c_order;
         LOOP
              FETCH c_order into rw_order;
              EXIT WHEN c_order%NOTFOUND;
         END LOOP;
    END;
    when prosess that I got error ;
    ORA-00255
    Please help and guide me.
    Thank you

    I assume they have google where you come from and you're not actually asking what the message means but just in case, and for the benefit of the forum...
    ORA-00255:     error archiving log string of thread string, sequence # string
    Cause:     An error occurred during archiving.
    Action:     Check the accompanying message stack for more detailed information. If the online log is corrupted, then the log can be cleared using the UNARCHIVED option. This will make any existing backups useless for recovery to any time after the log was created, but will allow the database to generate redo.
    As for a solution, you'll have more luck if you post in the database-general or maybe the pl/sql forum. Are you sure you got the right error number? There doesn't seem to be anything in that code that would require an archive log to be written, not that I know anything about archiving however.

  • Error when I backup with rman plus archive log

    Hi All,
    I tried below command
    run {
    SQL 'ALTER SYSTEM ARCHIVE LOG CURRENT';
    BACKUP DATABASE INCLUDE CURRENT CONTROLFILE PLUS ARCHIVELOG DELETE ALL INPUT;
    and that show below error
    archived log file name=+DATA/pimprd/archivelog/pimarch_2_95_698703544.arc RECID=128 STAMP=706186164
    archived log file name=+DATA/pimprd/archivelog/pimarch_2_96_698703544.arc RECID=130 STAMP=706186173
    Finished backup at 21-DEC-09
    ORACLE error from target database:
    ORA-03114: not connected to ORACLE
    Starting backup at 21-DEC-09
    current log archived
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=259 instance=pimdb1 device type=DISK
    channel ORA_DISK_1: starting archived log backup set
    channel ORA_DISK_1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=153 RECID=113 STAMP=705896703
    input archived log thread=1 sequence=154 RECID=116 STAMP=705983105
    input archived log thread=1 sequence=155 RECID=119 STAMP=706069504
    archived log file name=+DATA/pimprd/archivelog/pimarch_2_95_698703544.arc RECID=128 STAMP=706186164
    archived log file name=+DATA/pimprd/archivelog/pimarch_2_96_698703544.arc RECID=130 STAMP=706186173
    Finished backup at 21-DEC-09
    ORACLE error from target database:
    ORA-03114: not connected to ORACLE
    Starting backup at 21-DEC-09
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    ORA-03114: not connected to ORACLE
    RMAN-03002: failure of backup plus archivelog command at 12/21/2009 11:00:18
    ORA-03114: not connected to ORACLE
    There are RAC 11.1.0.6.0 on AIX 5.3 with ASM.
    Please advise,
    Thank you,
    Hiko

    ็Hi All,
    I tried backup archivelog again and show same error,
    Line: -----
    rman target /
    Recovery Manager: Release 11.1.0.6.0 - Production on Mon Dec 21 14:48:29 2009
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: PIMDB (DBID=3834713912)
    RMAN> run
    2> {
    3> backup archivelog all;
    4> }
    Starting backup at 21-DEC-09
    current log archived
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=275 instance=pimdb1 device type=DISK
    channel ORA_DISK_1: starting archived log backup set
    channel ORA_DISK_1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=161 RECID=131 STAMP=706190624
    input archived log thread=1 sequence=162 RECID=133 STAMP=706200525
    input archived log thread=2 sequence=97 RECID=132 STAMP=706190625
    input archived log thread=2 sequence=98 RECID=134 STAMP=706200526
    channel ORA_DISK_1: starting piece 1 at 21-DEC-09
    channel ORA_DISK_1: finished piece 1 at 21-DEC-09
    piece handle=/oradata/backup/pimdb/rman/pimdb_Fulldata_20091221_97_1.bck tag=TAG20091221T144854 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    Finished backup at 21-DEC-09
    Starting Control File and SPFILE Autobackup at 21-DEC-09
    piece handle=/oradata/backup/pimdb/rman/pimdb_Controlfile_c-3834713912-20091221-02 comment=NONE
    Finished Control File and SPFILE Autobackup at 21-DEC-09
    ORACLE error from target database:
    ORA-03114: not connected to ORACLE
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    ORA-03114: not connected to ORACLE
    RMAN-03009: failure of REFAF command on default channel at 12/21/2009 14:59:33
    ORA-03114: not connected to ORACLE
    RMAN> exit
    Recovery Manager complete.
    Line: -----
    And I check in alert log file that show below error
    Line: -----
    Mon Dec 21 14:48:44 2009
    Thread 1 advanced to log sequence 163
    Current log# 1 seq# 163 mem# 0: +DATA/pimdb/onlinelog/group_1.282.698703549
    Mon Dec 21 14:49:17 2009
    Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x3E00000000] [PC:0x10180AA48, kxfpg1srv()+04e8]
    Errors in file /oracle/diag/rdbms/pimdb/pimdb1/trace/pimdb1_ora_5095646.trc (incident=64044):
    ORA-07445: exception encountered: core dump [kxfpg1srv()+04e8] [SIGSEGV] [ADDR:0x3E00000000] [PC:0x10180AA48] [Address not mapped to object] []
    Incident details in: /oracle/diag/rdbms/pimdb/pimdb1/incident/incdir_64044/pimdb1_ora_5095646_i64044.trc
    Mon Dec 21 14:49:31 2009
    Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x3E00000000] [PC:0x10180AA48, kxfpg1srv()+04e8]
    Errors in file /oracle/diag/rdbms/pimdb/pimdb1/trace/pimdb1_m000_1831050.trc (incident=64163):
    ORA-07445: exception encountered: core dump [kxfpg1srv()+04e8] [SIGSEGV] [ADDR:0x3E00000000] [PC:0x10180AA48] [Address not mapped to object] []
    Incident details in: /oracle/diag/rdbms/pimdb/pimdb1/incident/incdir_64163/pimdb1_m000_1831050_i64163.trc
    Mon Dec 21 14:49:33 2009
    Trace dumping is performing id=[cdmp_20091221144933]
    Mon Dec 21 14:49:34 2009
    Sweep Incident[64163]: completed
    Mon Dec 21 14:59:33 2009
    Process 0x70000020477df88 appears to be hung while dumping
    Current time = 1584185732, process death time = 1584124482 interval = 60000
    Attempting to kill process 0x70000020477df88 with OS pid = 5095646
    OSD kill succeeded for process 70000020477df88
    Line: -----
    Please advice,
    Thank you
    Hiko

  • Error in second destincation of Archive log

    i have both path for archive log in place one is flash recovery area where archive log are to be written and another path which in my other server.
    I have created a folder in my test database and map this folder in Production database but i am doing alter system switch logfile, it only create archive on the first destination and not creating any file on second destination and giving error
    ORA-19504: failed to create file ""

    Actually i mount the folder of test server in my database, so that one archive copy will be saved in different storage for any disaster recovery
    SQL> archive log list
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence 197
    Next log sequence to archive 201
    Current log sequence 201
    SQL> show parameter db_recovery_file_dest;
    NAME TYPE VALUE
    db_recovery_file_dest string /home/u01/app/oracle/product/1
    0.2.0/db_1/flash_recovery_area
    db_recovery_file_dest_size big integer 15G
    Following is the content of trace file mentioned
    /home/u01/app/oracle/product/10.2.0/db_1/admin/db0/bdump/demeter_arc0_27244.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /home/u01/app/oracle/product/10.2.0/db_1
    System name: Linux
    Node name: db0
    Release: 2.6.18-5-amd64
    Version: #1 SMP Sat Dec 22 20:43:59 UTC 2007
    Machine: x86_64
    Instance name: db0
    Redo thread mounted by this instance: 1
    Oracle process number: 17
    Unix process pid: 27244, image: oracle@db0 (ARC0)
    *** 2008-04-23 11:19:13.799
    *** SERVICE NAME:(SYS$BACKGROUND) 2008-04-23 11:19:13.799
    *** SESSION ID:(210.1) 2008-04-23 11:19:13.799
    Failed to create file '/home/archive-logs/1_198_645895824.dbf' (file not accessible?)
    ORA-19504: Message 19504 not found; No message file for product=RDBMS, facility=ORA; arguments: [home/archive-logs/1_198_645895824.dbf]
    ORA-27086: Message 27086 not found; No message file for product=RDBMS, facility=ORA
    Linux-x86_64 Error: 5: Input/output error
    Additional information: 9
    Additional information: 5
    *** 2008-04-23 11:19:13.799 61287 kcrr.c
    ARC0: Error 19504 Creating archive log file to '/home/archive-logs/1_198_645895824.dbf'
    *** 2008-04-23 11:19:13.799 59530 kcrr.c
    kcrrfail: dest:2 err:19504 force:0 blast:1
    *** 2008-04-23 11:35:42.553
    Failed to create file '/home/archive-logs/1_200_645895824.dbf' (file not accessible?)
    ORA-19504: Message 19504 not found; No message file for product=RDBMS, facility=ORA; arguments: [home/archive-logs/1_200_645895824.dbf]
    ORA-27086: Message 27086 not found; No message file for product=RDBMS, facility=ORA
    Linux-x86_64 Error: 5: Input/output error
    Additional information: 9
    Additional information: 5
    *** 2008-04-23 11:35:42.553 61287 kcrr.c
    ARC0: Error 19504 Creating archive log file to '/home/archive-logs/1_200_645895824.dbf'
    *** 2008-04-23 11:35:42.553 59530 kcrr.c
    kcrrfail: dest:2 err:19504 force:0 blast:1

  • ORA-16009 Error in Alert Log

    Hi DBAs,
    I saw the error ORA-16009 in alert log file. The database version is 10.2.0.3 configured with Physical standby on AIX 6.1 . The error is coming in alert log for a long time , I beleive after a swithover to Standby and switch back to Primary.
    But I see the log from Primary to Standby are being applied and MRP is working fine on Standby Site.
    I am posting the error message from alert log and trace file.
    -------- Message in alert.log --------------
    --Connected User is Valid
    RFS[61129]: Assigned to RFS process 1511478
    RFS[61129]: Database mount ID mismatch [0x8afdb574:0x8afd830b]
    RFS[61129]: Client instance is standby database instead of primary
    RFS[61129]: Not using real application clusters
    Fri May 8 22:32:57 2009
    Errors in file /oracle/admin/DBSID/udump/DBSID_rfs_1511478.trc:
    ORA-16009: remote archive log destination must be a STANDBY database/oracle/admin/DBSID/bdump
    HOST [DBSID]-> May 8 22:33:52 hostname daemon:err|error ltid[933986]: Remote scan failed on host HOST, drive IBMULTRIUM-TD25, Host is not the scan host for this shared drive (304)
    ----------------- Trace File with complete detail of the Error -----------------------------------
    /oracle/admin/DBSID/udump/DBSID_rfs_1511478.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning and Data Mining options
    ORACLE_HOME = /oracle/product/10.2.0/db_1
    System name: AIX
    Node name: hostname
    Release: 3
    Version: 5
    Machine: XXXXXXX
    Instance name: DBSID
    Redo thread mounted by this instance: 1
    Oracle process number: 19
    Unix process pid: 1491066, image: oracleDBSID@hostname*** SERVICE NAME:(DBSID.DOMAIN.COM) 2009-05-08 22:31:57.314
    *** SESSION ID:(1094.21412) 2009-05-08 22:31:57.314
    Detected dead process 1491030; subsuming V$MANAGED_STANDBY slot
    *** 2009-05-08 22:31:57.318 61287 kcrr.c
    RFS[61128]: Database mount ID mismatch [0x8afdb574:0x8afd830b]
    *** 2009-05-08 22:31:57.318 61287 kcrr.c
    RFS[61128]: Client instance is standby database instead of primary
    *** 2009-05-08 22:31:57.318 61287 kcrr.c
    RFS[61128]: Not using real application clusters
    ORA-16009: remote archive log destination must be a STANDBY database
    Please advise and suggest,
    Thanks
    -Samar-

    I have the follow setting for log_archive_dest_2 on Primary and standby which seems to be OK but above mention note which is for Oracle 9i server suggesting to disable the remote archiving on the standby database. Also I am using ASYNC option for log transport.
    At Primary:
    SQL> show parameter log_archive_dest_2
    NAME TYPE VALUE
    log_archive_dest_2 string SERVICE=STDBY LGWR ASYNC REOPEN=60 DB_UNIQUE_NAME=STDBY
    At standby:
    SQL> show parameter log_archive_dest_2
    NAME TYPE VALUE
    log_archive_dest_2 string SERVICE=PRI LGWR ASYNC REOPEN=60 DB_UNIQUE_NAME=PRI
    Thanks
    -Samar-

  • Unable to find archived log

    Hi
    I am restoring a hot backup taken through RMAN using following commands:
    configure controlfile autobackup on;
    BACKUP DATABASE ;
    BACKUP ARCHIVELOG ALL DELETE INPUT;
    Now I am going to restore that using following commands:
    restore spfile from autobackup;
    restore controlfile from autobackup;
    shutdown immediate;
    startup mount;
    restore database;
    RECOVER DATABASE;
    ALTER DATABASE OPEN RESETLOGS;
    But it goes fine till restore database. At recover database I get following errors:
    archived log for thread 1 with sequence 2461 is already on disk as file /u01/app/oracle/fast_recovery_area/XE/onlinelog/o1_mf_1_8fbs9bvt_.log
    archived log for thread 1 with sequence 2462 is already on disk as file /u01/app/oracle/fast_recovery_area/XE/onlinelog/o1_mf_2_8fbs9chb_.log
    unable to find archived log
    archived log thread=1 sequence=545
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 09/11/2013 20:41:43
    RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 545 and starting SCN of 25891726
    I have checked the backup folder and there are only empty date wise folders under archivedlog folders.
    If I write RMAN> ALTER DATABASE OPEN RESETLOGS; I get:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 09/11/2013 20:43:01
    ORA-01190: control file or data file 1 is from before the last RESETLOGS
    ORA-01110: data file 1: '/u01/app/oracle/oradata/XE/system.dbf'
    If I write RMAN> recover database until sequence 545; I get
    Starting recover at 11-SEP-13
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=695 device type=DISK
    starting media recovery
    unable to find archived log
    archived log thread=1 sequence=545
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 09/11/2013 21:09:34
    RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 545 and starting SCN of 25891726
    I don't mind if some data is lost. Will be really thankful if someone can help me get my database open;
    Habib

    They way you are trying to recover will try to recover up to the last know SCN. Try to do a point in time recover up to a few minutes before the database was shutdown or crashed.
    Try something like this
    run{
    set until time "to_date('2013-09-11:00:00:00', 'yyyy-mm-dd:hh24:mi:ss')";
    restore spfile from autobackup;
    restore controlfile from autobackup;
    shutdown immediate;
    startup mount;
    restore database;
    RECOVER DATABASE;
    ALTER DATABASE 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

  • Change Archive Log Mode, Restart instance, show ORA-12505 error!!!

    We are still use Oracle 9i.
    Now we want to use Symantec Backupexec 12 to backup oracle 9i.
    In accordance with Backupexec's requirements. must change recovery mode to Archive Log Mode.
    I use the Enterprise manager console to change it. and select restart immediately.
    a error message be display in the step 2 (starting up the database). see below
    ORA-12505: TNS:listener could not resolve SID given in connect descriptor
    I'm a new oracle user. Hope you give me some suggestion.
    THK.

    If database is down, then start it up directly login to server and
    sqlplus "/ as sysdba"
    startup;
    Read this thread for first:
    Re: ORA-12505, TNS:listener does not currently know of SID given in connect
    The main problem is Your listner doesn't know the sid in connect descriptor.
    Check
    lsnrctl services
    and look in tnsnames.ora file - is there such sercive defined in Your connection description.
    issue tnsping in order to check is it able to read and connect correctly tnsnames.ora entry.

  • Error ora-00255

    Greeting,
    I want to process using cursor.
    DECLARE
    CURSOR c_order IS SELECT * FROM ORDER_H;
    rw_order order_h%rowtype;
    BEGIN
    OPEN c_order;
    LOOP
    FETCH c_order into rw_order;
    EXIT WHEN c_order%NOTFOUND;
    END LOOP;
    END;
    when prosess that I got error ;
    ORA-00255
    Please help and guide me.
    Thank you

    Check your alert.log to see exactly what is going on. It could be that the disk is full on which you are archiving or a corrupt archive log. You will have to investigate (or your DBA) to see what is wrong.

  • ORA-00339: archived log does not contain any redo

    Hi All,
    recently we faced 'ORA-00339: archived log does not contain any redo' issue at standby side,
    after searching on Google and from Metalink (note 30866.1 and 7197445.8 ) I find out that this is the known issue for 10g and below versions, our's is 11.2.0.3,
    Error in Alert Log :
    Errors in file /oracle/ora_home/diag/diag/rdbms/dwprd/DWPRD/trace/DWPRD_pr0a_48412.trc:
    ORA-00339: archived log does not contain any redo
    ORA-00334: archived log: '/redolog2/redo/redolog3a.log'
    Errors in file /oracle/ora_home/diag/diag/rdbms/dwprd/DWPRD/trace/DWPRD_pr0a_48412.trc (incident=190009):
    ORA-00600: internal error code, arguments: [kdBlkCheckError], [1], [56702], [6114], [], [], [], [], [], [], [], []
    Incident details in: /oracle/ora_home/diag/diag/rdbms/dwprd/DWPRD/incident/incdir_190009/DWPRD_pr0a_48412_i190009.trc
    Use ADRCI or Support Workbench to package the incident.
    See Note 411.1 at My Oracle Support for error and packaging details.
    Slave exiting with ORA-10562 exception
    Errors in file /oracle/ora_home/diag/diag/rdbms/dwprd/DWPRD/trace/DWPRD_pr0a_48412.trc:
    ORA-10562: Error occurred while applying redo to data block (file# 1, block# 56702)
    ORA-10564: tablespace SYSTEM
    ORA-01110: data file 1: '/oradata1/database/DATAFILES/system01.dbf'
    ORA-10561: block type 'TRANSACTION MANAGED DATA BLOCK', data object# 2
    ORA-00600: internal error code, arguments: [kdBlkCheckError], [1], [56702], [6114], [], [], [], [], [], [], [], []
    Mon Apr 15 11:34:12 2013
    Dumping diagnostic data in directory=[cdmp_20130415113412], requested by (instance=1, osid=48412 (PR0A)), summary=[incident=190009].
    Thanks

    Hi,
    "The archived log is not the correct log.
    It is a copy of a log file that has never been used for redo generation, or was an online log being prepared to be the current log."
    "Restore the correct log file."
    Can you say, what is last changes on your database, On log files?
    Did you copies your '/redolog2/redo/redolog3a.log' log file from other ?
    Regards
    Mahir M. Quluzade

  • ORA-01033 Error cannot be traced in the alert log or v$views

    Hello There,
    I'm hoping you can shed some light on what seems a rather odd occurrence on our Production Oracle Instance.
    Before i elaborate on the nature of the problem, I must confess that i am not an Oracle DBA and have been compelled to post this query since i have no joy from the in house DBA community on the origins of this error.
    We've had an ORA-01033 error being issued by our ETL installation (deployed on a Linux machine) a couple of days ago whence trying to extract some data from the Oracle instance (during overnight DataWarehouse loads) which has consequently aborted the loads necessitating a cleanup.
    This event has already occurred twice before, the first time being a month ago when the event was captured in the v$instance (using the Startup time column where the timestamp corroborates to the first time we experienced this issue and also ackowledged by the DBA team) and also in the V$Dataguard_status.
    Since then, This error has been generated twice although there seems to be no evidence of this in either the Oracle alert log(as confirmed by DBA team) or in any of the v$views (as pointed out by Tom in an earlier post) such as DBA_LOGSTDBY_HISTORY, v$logstdby_state, $logstdby_stats, dba_logstdby_log, dba_logstdby_events,v$dataguard_status, v$dataguard_stats, v$dataguard_config,v$database,v$database_incarnation, v$managed_standby, v$standby_log, v$instance. I searched these views since i suspected a latency issue during a failover which could be the reason for the
    ORA-01033 but found nothing.
    The DBA team have pretty much disowned this issue since they claim to not have any actual evidence of this from the logs and this is the crux of the matter here.
    The Problem i have as the downstream "recepient" of this error is to prove to the DBA team that this is indeed a genuine issue with the Oracle instance affecting it's availability and concomittantly affecting the DW loads.
    FYI, The Oracle instance is in Failover mode, so it's swiftly back online after bombing out for a few seconds.
    Also, I don't have access to the Alert log as it's a Production environment and employs restricted access policy to the server.
    Having said that, Is there anything else besides the obvious ORA errors that should be looked for in the Alert log?
    Where else can ORA-01033 errors be traced/traced in the Dictionary besides the Alert Log?
    Thoughts??
    Regards

    Thank You John for that query, but i'm on V10.2 and this view is relevant for 11g and beyond i believe.
    Perhaps there is an equivalent for V10g?
    I am also a bit bemused by the comment earlier about no trace being left behind if the DBA's performed a manual restart, surely it doesn't matter how the DB is restarted, the event is captured in the dictionary?
    In the meantime, I've got a copy of the Alert log and have found redo log issues (DBWR/LGWR) very close to the time (a min after ORA-01033) of the shutdown event.
    ALTER SYSTEM ARCHIVE LOG
    Thread 1 cannot allocate new log, sequence 117732
    Checkpoint not complete
    I've looked into this a fair bit and this error apparently causes Oracle to suspend all processing on the database until the log switch is made.
    Is this the causal link for my issue?
    Does " suspend all processing on the database " actually translate into an actual ORA-01033 error (or some form of) when the ETL application is trying to connect to and extract data from the Oracle database at that time?
    Edited by: shareeman on 16-Oct-2012 03:50

  • ORA-00258: manual archiving in NOARCHIVELOG mode must identify log

    Hi I am new to oracle streams. I am trying to setup a one way replication from one database to another using Oracle 10g (10.2.0.1.0) on Windows XP SP3 (32 bit).
    I ran the following proc as the streams admin schema:
    begin
    dbms_streams_adm.maintain_schemas(
    schema_names => 'XXCOW',
    source_directory_object => 'repl_exp_dir',
    destination_directory_object => 'repl_imp_dir',
    source_database => 'PWBSD',
    destination_database => 'PDVSD',
    perform_actions => true,
    dump_file_name => 'exp_app23.dmp',
    capture_queue_table => 'rep_capt_table',
    capture_queue_name => 'rep_capt_queue',
    capture_queue_user => NULL,
    apply_queue_table => 'rep_dest_table',
    apply_queue_name => 'rep_dest_queue',
    apply_queue_user => NULL,
    capture_name => 'capture_pubs',
    propagation_name => 'prop_pubs',
    apply_name => 'apply_pubs',
    log_file => 'exp_app23.log',
    bi_directional => false,
    include_ddl => true,
    instantiation => dbms_streams_adm.instantiation_schema);
    end;
    The script failed the first time because i forgot to configure the source database in archive log mode.
    The steps i followed to change to archivelog mode:
    SQL> select name from v$database;
    NAME
    PWBSD
    SQL> alter system set LOG_ARCHIVE_DEST = 'D:\data\oracle\oradata\PWBSD\archive' scope=both;
    System altered.
    SQL> conn sys/sys@pwbsd as sysdba
    Connected.
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 612368384 bytes
    Fixed Size 1250428 bytes
    Variable Size 197135236 bytes
    Database Buffers 406847488 bytes
    Redo Buffers 7135232 bytes
    Database mounted.
    SQL> alter database archivelog;
    Database altered.
    SQL> alter database open;
    Database altered.
    SQL>
    I configured it in archive log mode and ran the proc above again.
    I got the following output this time:
    job finished
    begin
    ERROR at line 1:
    ORA-23616: Failure in executing block 90 for script
    959ECF1D1159402A8C16687AE5E3B5CD
    ORA-06512: at "SYS.DBMS_RECOVERABLE_SCRIPT", line 457
    ORA-06512: at "SYS.DBMS_STREAMS_MT", line 2201
    ORA-06512: at "SYS.DBMS_STREAMS_MT", line 7486
    ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 2624
    ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 2685
    ORA-06512: at line 2
    I ran the following to check the error:
    select * from dba_recoverable_script_errors;
    The output is:
    SCRIPT ID: 959ECF1D1159402A8C16687AE5E3B5CD
    BLOCK NUM: 90
    ERROR_NUMBER: -258
    ERROR_MESSAGE: ORA-00258: manual archiving in NOARCHIVELOG mode must identify log
    ORA-06512: at "SYS.DBMS_RECO_SCRIPT_INVOK", line 129
    ORA-06512: at "SYS.DBMS_STREAMS_RPC", line 358
    It seemed like it was still complaining about archive log mode,
    I verified that the PWBSD db is in archivelog mode by running the following:
    select name, log_mode from v$database;
    NAME: PWBSD
    LOG_MODE: ARCHIVELOG
    What could be the problem and how do i proceed to fix it?

    Hi Parthiv,
    The steps given by you is not clear.
    please try to fallow the steps given in the below link. It may be helpful to you to setup schema level streams:
    http://gssdba.wordpress.com/2011/04/20/steps-to-implement-schema-level-oracle-streams/
    Thanks and Regards,
    Satish.G.S
    gssdba.wordpress.com

  • ORA-19571: archived-log recid 118360 stamp not found in control file - help

    Hi
    Every backup I do I am getting an error like below at the bottom :, every backup I do, it's complaaining about DIFFERENT archive log.
    ORA-19571: archived-log recid 118360 stamp 705446770 not found in control file.
    I have set keep control file info to 14 days, my retention is 7 days in RMAN, so I don't know why it's complaining, below is the full log.
    It seeems to be having problems with archive logs that have just been generated while it's doing the backup I think??
    channel d3: specifying archive log(s) in backup set
    input archive log thread=1 sequence=705 recid=124248 stamp=707103829
    input archive log thread=1 sequence=706 recid=124249 stamp=707103830
    input archive log thread=1 sequence=707 recid=124250 stamp=707103831
    input archive log thread=1 sequence=708 recid=124251 stamp=707103831
    input archive log thread=1 sequence=709 recid=124252 stamp=707103832
    input archive log thread=1 sequence=710 recid=124253 stamp=707103832
    input archive log thread=1 sequence=711 recid=124254 stamp=707103833
    input archive log thread=1 sequence=712 recid=124255 stamp=707103833
    input archive log thread=1 sequence=713 recid=124256 stamp=707103834
    input archive log thread=1 sequence=714 recid=124257 stamp=707103835
    input archive log thread=1 sequence=715 recid=124258 stamp=707103835
    input archive log thread=1 sequence=716 recid=124259 stamp=707103836
    input archive log thread=1 sequence=717 recid=124260 stamp=707103836
    input archive log thread=1 sequence=718 recid=124261 stamp=707103837
    input archive log thread=1 sequence=719 recid=124262 stamp=707103837
    input archive log thread=1 sequence=720 recid=124263 stamp=707103838
    input archive log thread=1 sequence=721 recid=124264 stamp=707103838
    input archive log thread=1 sequence=722 recid=124265 stamp=707103839
    input archive log thread=1 sequence=723 recid=124266 stamp=707103840
    input archive log thread=1 sequence=724 recid=124267 stamp=707103840
    input archive log thread=1 sequence=725 recid=124268 stamp=707103841
    input archive log thread=1 sequence=726 recid=124269 stamp=707103841
    RMAN-03009: failure of backup command on d3 channel at 01/01/2010 02:11:33
    ORA-19571: archived-log recid 118360 stamp 705446770 not found in control file
    continuing other job steps, job failed will not be re-run
    channel d6: starting compressed archive log backupset
    channel d6: specifying archive log(s) in backup set
    input archive log thread=1 sequence=641 recid=124034 stamp=707077994
    input archive log thread=1 sequence=642 recid=124035 stamp=707077994
    ...

    It's a rac, so shall I restart one instance at a time?? Or the whole thing? I am using an recovery catalog, so should I be connected to the recovery catalog Or control file to do a cross check backup, also when it's doing the backup do u recon it can't fing archivelog in controlfile file as it's not done a resync, should I force it to do a resync after a backup then backup the archive logs??? I really don't want to bounce the db as it's 24/7

  • Archive log error

    Newbie DBA
    DB: Oracle 10 g OS: windows
    I have 2 databases A(production) and B(Standby- DR) . I am manually copying the archive log files from A to B and applying it .
    SQL> recover standby database;
    ORA-00279: change 23515270208 generated at 10/13/2010 10:59:39 needed for
    thread 1
    ORA-00289: suggestion :
    H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74498_0665930822_001.ARC
    ORA-00280: change 23515270208 for thread 1 is in sequence #74498
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    auto
    ORA-00279: change 23515555165 generated at 10/13/2010 11:43:46 needed for
    thread 1
    ORA-00289: suggestion :
    H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74499_0665930822_001.ARC
    ORA-00280: change 23515555165 for thread 1 is in sequence #74499
    ORA-00278: log file 'H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74498_0665930822_001.ARC'
    no longer needed for this recovery
    ORA-00279: change 23515638382 generated at 10/13/2010 12:18:50 needed for
    thread 1
    ORA-00289: suggestion :
    H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74500_0665930822_001.ARC
    ORA-00280: change 23515638382 for thread 1 is in sequence #74500
    ORA-00278: log file 'H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74499_0665930822_001.ARC'
    no longer needed for this recovery
    ORA-00279: change 23515659690 generated at 10/13/2010 12:18:55 needed for
    thread 1
    ORA-00289: suggestion :
    H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74501_0665930822_001.ARC
    ORA-00280: change 23515659690 for thread 1 is in sequence #74501
    ORA-00278: log file 'H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74500_0665930822_001.ARC'
    no longer needed for this recovery
    ORA-00279: change 23516026341 generated at 10/13/2010 12:19:25 needed for
    thread 1
    ORA-00289: suggestion :
    H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74502_0665930822_001.ARC
    ORA-00280: change 23516026341 for thread 1 is in sequence #74502
    ORA-00278: log file 'H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74501_0665930822_001.ARC'
    no longer needed for this recovery
    ORA-00279: change 23516535747 generated at 10/13/2010 12:20:02 needed for
    thread 1
    ORA-00289: suggestion :
    H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74503_0665930822_001.ARC
    ORA-00280: change 23516535747 for thread 1 is in sequence #74503
    ORA-00278: log file 'H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74502_0665930822_001.ARC'
    no longer needed for this recovery
    ORA-00279: change 23516855012 generated at 10/13/2010 12:20:30 needed for
    thread 1
    ORA-00289: suggestion :
    H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74504_0665930822_001.ARC
    ORA-00280: change 23516855012 for thread 1 is in sequence #74504
    ORA-00278: log file 'H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74503_0665930822_001.ARC'
    no longer needed for this recovery
    ORA-00279: change 23516876618 generated at 10/13/2010 12:20:42 needed for
    thread 1
    ORA-00289: suggestion :
    H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74505_0665930822_001.ARC
    ORA-00280: change 23516876618 for thread 1 is in sequence #74505
    ORA-00278: log file 'H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74504_0665930822_001.ARC'
    no longer needed for this recovery
    ORA-00308: cannot open archived log
    'H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74505_0665930822_001.ARC'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    SQL>Please tell me if there is anything wrong ?
    Edited by: Renjith Madhavan on Oct 13, 2010 3:00 PM

    Renjith Madhavan wrote:
    I was just curious if
    ORA-00278: log file 'H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74499_0665930822_001.ARC'
    no longer needed for this recoveryis an error or not . Doest it mean that all ORA - messages are not errors ? I was told that the archived logs are applied successfully and no need to worry .Have a look into the error message documentation :
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/e0.htm#sthref202
    "+*ORA-00278: log file "string" no longer needed for this recovery *+
    +*Cause*: The specified redo log file is no longer needed for the current recovery.+
    +*Action*: No action required. The archived redo log file may be removed from its current location to conserve disk space, if needed. However, the redo log file may still be required for another recovery session in the future.+"
    Nicolas.

Maybe you are looking for

  • I am looking functioanl specification

    Hi Guru's I am looking functioanl specification on following 1) For creating new report 2) For any screen field change at the movement i am looking this, by any change if i get all functional specifications i will be happy. the main reasin that i am

  • Best way to handle news system?

    Hi, I am new to Oracle Portal and not yet fully aware of what it can and cannot do natively. I have to design a system to display news with the following requirements: - different categories of news displayed on different pages (some on more than one

  • Opinions on IBM DB2 Intelligent Miner for Data...

    I'm going to be getting into Oracle data mining or the IBM DB2 Intelligent Miner for Data. The info given out by IBM (online at http://www-3.ibm.com/software/data/iminer/fordata) indicates that it ought to be okay if I've got an Oracle database. I've

  • Error -18001 - Where can i find the KB-articel?

    Hello, i get the error: Reserve loaded vi for executio = false error -18001 an error occured accessing reserved loaded vis fore exec in lv adapter fo teststand adapter 4.0 unable to launch the labview.application. activeX automation server While sear

  • Triple screen film in FC studio

    I have created a three-screen installation, and want to create a taster of it for potential venues to view. Is there any way of creating a three-way split screen in FC Studio, so that all three films start playing simultaneously? Or alternative ways