ORA-00312 cannot be archived redo the expedition Archives

Dear fans of Oracle,

Weve got a site that seems to give us the following error sporadically, is there someone with the same experience or know how what to do or maybe all tracks at the location of the research would be very welcome.

Thanks in advance!


It should not be related to privileges or space as shown below:

sppaxdb02 # df h

Size of filesystem used avail capacity mounted on

/ G G 187 32, 156 G 17%.

/ dev 32 187 G 156 G 17% / dev

/Flashback 295G 138 G 155 G 48% /flashback

/ zdbase/data1 266G 112 G 151 G 43% / zdbase/data1

/ zdbase/index1 172 50 G 121 G 30% / zdbase/index1

/ zdbase / 49G 30 G 18G 63% / zdbase/system

proc 0K 0K 0K 0% / proc

CTFs 0K 0K 0K 0% / system/contract

mnttab 0K 0K 0K 0% / etc/mnttab

objfs 0K 0K 0K 0% / system/object

Exchange 58G 368K 58G 1% / etc/svc/volatile

/Platform/sun4v/lib/libc_psr/libc_psr_hwcap2.so.1

187 G 32G 156G 17% /platform/sun4v/lib/libc_psr.so.1

/Platform/sun4v/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1

187 G 32G 156G 17% /platform/sun4v/lib/sparcv9/libc_psr.so.1

FD 0K 0K 0K 0% / dev/fd

Exchange 58G 64 K 58 G 1% / tmp

Exchange 58G 48K 58G 1% / var/run

sppaxdb02 #.

sppaxdb02 # ls - lhart

Total 43734

drwxr-xr-x 4 root root 512 15 October 2013...

drwxr-xr-x 5 dba oracle 512 16 October 2013 MVF2

-rw - r - 1 oracle dba M 21 Apr 29 07:36 bkupcontrolfile.ctl

DBA oracle drwxr-xr-x 3 512 Apr 29 07:36.

-rw - r - 1 oracle dba 96K Apr 29 07:36 bkupspfile.ora

sppaxdb02 #.

Alert and tracefile example below:

Journal entry archived 71728 extra for each sequence 1 52098 ID 0x7e57cb8 dest 10 thread:

Mar 29 08:48 Apr 2014

Errors in the /var/oracle/data/logs/impax/diag/diag/rdbms/mvf2/MVF/trace/MVF_arc1_2071.trc file:

ORA-00314: connect 13 of thread 1, sequence expected # 52100 does not match 52098

ORA-00312: wire 13 1 online journal: ' / usr/mvf/data/dbase/redo/redo_stdby13.log'

Mar 29 08:48 Apr 2014

RFS [11]: Journal selected 13 for thread 1 sequence 52100 dbid-91217615 branch of the 787868464

Mar 29 08:48:01 Apr 2014

' / var/oracle/data/logs/impax/diag/diag/rdbms/mvf2/MVF/trace/MVF_arc1_2071.trc ' 63 lines, 2458 characters

Trace file /var/Oracle/data/logs/IMPAX/diag/diag/RDBMS/mvf2/MVF/trace/MVF_arc1_2071.TRC

Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production

With the partitioning, Data Mining and Real Application Testing options

ORACLE_HOME = / opt/oracle/current

Name of the system: SunOS

Name of the node: sppaxdb02

Version: 5.10

Version: Generic_147147-26

Machine: sun4v

Instance name: MVF

Redo thread mounted by this instance: 1

Oracle process number: 31

The Unix process PID: 2071, image: oracle@sppaxdb02 (ARC1)

2013-10-15 13:27:44.362

SESSION ID: (311.1) 2013-10-15 13:27:44.362

CUSTOMER ID :() 2013-10-15 13:27:44.362

NAME OF THE SERVICE :() 2013-10-15 13:27:44.362

MODULE NAME :() 2013-10-15 13:27:44.362

ACTION NAME :() 2013-10-15 13:27:44.362

Repeat customer shipping performing a pending connection

OCISessionBegin failed. Error - 1

.. Detailed error OIC val 1031 and error message is "ORA-01031: insufficient privileges"

'

OCISessionBegin failed. Error - 1

.. Detailed error OIC val 1031 and error message is "ORA-01031: insufficient privileges"

'

krsu.c 13:27:44.706 4595 2013-10-15

Connected mode standby successfully

Customer logon and security successful trading!

DDE rules only the execution of: ORA 312

2014-01-23 10:15:48.476

-LAUNCH event-driven Actions Dump-

-END event driven Actions Dump-

-LAUNCH DDE shares Dump.

Execution of the actions of SYNCHRONIZATION

-START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async)-

Sent successfully

-END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (CSEC 0, SUCCESS).

Execution of ASYNC actions

-DDE shares Dump END (total 0 CSEC).

ORA-00322: Journal 13 thread 1 is not current copy

ORA-00312: wire 13 1 online journal: ' / usr/mvf/data/dbase/redo/redo_stdby13.log'

DDE rules only the execution of: ORA 312

2014-04-29 08:48:00.534

-LAUNCH event-driven Actions Dump-

-END event driven Actions Dump-

-LAUNCH DDE shares Dump.

Execution of the actions of SYNCHRONIZATION

-START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async)-

Sent successfully

-END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (CSEC 0, SUCCESS).

Execution of ASYNC actions

-DDE shares Dump END (total 0 CSEC).

ORA-00314: connect 13 of thread 1, sequence expected # 52100 does not match 52098

ORA-00312: wire 13 1 online journal: ' / usr/mvf/data/dbase/redo/redo_stdby13.log'

2014-04-29 08:48:01.444

krsk_srl_purge_abandoned: no more purgable SRL to connect B-787868464 13. T-1. S-52100

ORA-16038: log sequence 9 # 20395 can be archived

ORA-19502: error on the write file ' ', block number (block size =)

ORA-00312: wire 9 1 online journal: ' / usr/mvf/data/dbase/redo/redo09.log'

1

ORA-16038: log sequence 9 # 20467 can be archived

ORA-19502: error on the write file ' ', block number (block size =)

ORA-00312: wire 9 1 online journal: ' / usr/mvf/data/dbase/redo/redo09.log'

1

MESSAGE_TEXT

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

CNT

----------

ORA-16038: log sequence 9 # 20530 can be archived

ORA-19502: error on the write file ' ', block number (block size =)

ORA-00312: wire 9 1 online journal: ' / usr/mvf/data/dbase/redo/redo09.log'

1

ORA-16038: log sequence 9 # 20665 can be archived

ORA-19502: error on the write file ' ', block number (block size =)

ORA-00312: wire 9 1 online journal: ' / usr/mvf/data/dbase/redo/redo09.log'

MESSAGE_TEXT

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

CNT

----------

1

172 selected lines.

You have two different sets of errors.  ORA-314/312 and ORA-16038/19502.

Events of waiting will not help you.

For the 312-314, look back through your journal DBA actions and see if the startup log file has been overrwritten by the DBA.

For the 16038/19052, check if your archivelog destination is full. Check your FastRecoveryArea.  Check the ownership and permissions.

OR just connect an SR and let the Oracle Support to worry about what you should be concerned.

Hemant K Collette

Tags: Database

Similar Questions

  • ORA-16038, ORA-00354, ORA-00312 block header corrupt redo log

    Hi all

    I'm Ann. I'm not an Oracle DBA. Please bear with me. However, I have to accelerate to become a DBA during the time that the dedicated DBA is on maternity leave.
    As usual, we have the online site and test site.
    She gave me some notes about how to take care of the database of active and application (Oracle 10 g).
    But so far, I can't do a lot of command calls the site online because we have plenty of space for the server, also the biggest part of the task has been scripted. So, it can work automatically.

    However, the test database is not like that. There is not automatically restart scripts as in the live system.
    Recently I canont access to the test database. So I connect to the test server, find the folder that contains the Archive Log files is nearly 98%.
    So I remove some of the old dbf files (I did based on the Advisor to the Chief of this last time, it happened a long time ago)

    After clear some old files, make a df h the rate at 58%.
    However, the database is still not available (can't open I think)
    I connect to the database, making an immediate halt, but Hung Server.
    So, I ask a network engineer to restart the database server.
    Of course, the machine is stop so the database must be completed.
    After the machine restarts, I connect as sysdba but still cannot open the database.
    The error is as below



    Mounted database
    ORA-16038: log 1 sequence # 1013 cannot be archived
    ORA-00354: corrupted redo log block header
    ORA-00312: thread 1 1 online journal:
    *'/Data/oradata/barn/onlinelog/o1_mf_1_2658nhd4_.log'*
    ORA-00312: thread 1 1 online journal:
    *'/arclogs/oradata/BARNTEST/onlinelog/o1_mf_1_2658nhd4_.log'*

    I search and I get these
    ORA-16038, ORA-00354, ORA-00312 block header corrupt redo log

    + (http://arjudba.blogspot.co.nz/2008/05/ora-16038ora-00354ora-00312-corrupt.html) +.
    Error description:
    ------------------------
    Normal users could not connect to the database. He messaged ORA-00257: internal connection only up to this just released. When you try to archive the redo log, it returns the message.

    ORA-16038: log %s sequence # %s cannot be archived
    ORA-00354: corrupted redo log block header
    ORA-00312: ' %s % s: "%s '" thread online journal


    Explanation of the problem:
    -------------------------------
    Whenever the normal user tried to connect to the database returns the error as it is designed in

    ORA-00257. But you've noticed that there is enough space in the V$ RECOVERY_FILE_DEST. Whenever you look at alerts log, you will see the ORA-16038, ORA-00354, error ORA-00312 serial. Produced error as because it doesn't have archives online redolog due to an alteration in the online redo file.

    Solution of the problem:
    --------------------------------
    Step 1) while making your database running clearly non archived redo log.
    SQL > alter the clear database untarred logfile "logilename";

    What makes corruption disappear which causes the contents of the redo online deleted file.
    Step 2) make a full backup of the database

    Is my question here safe to apply the following steps:
    We have 2 logs online that cause the error, until I need to erase the 2 files.

    For step 2, how to make a backup with RMAN.
    Can you suggest a command line safe for me to use. (The EM console surrently do not work on the test database server)

    I really need that test database managed as my apps APEX run on this need to be exported to the live system.

    Really appreciate any help here, once again, it's an Oracle 10 g release 1.

    Kind regards

    Published by: Ann586341 on April 30, 2012 15:40

    Published by: Ann586341 on April 30, 2012 15:40

    Your problem is with redolog 1

    SQL > select * v log$;

    check the status of the Group 1 regardless of whether ACTIVE or INACTIVE.

    If it is INACTIVE, then run the command below

    SQL > ALTER DATABASE CLEAR NO ARCHIVED LOGFILE GROUP 1;

    then

    SQL > alter database open

    Published by: Vishwanath on April 30, 2012 10:11

  • ORA-04089: cannot create triggers on the objects belonged to SYS

    I did a google on this error and it say that I should never get to anything to do with the system and also to make another account when executing my script, I did this, but I still get the error code and the error is less than

    REM **********************************************************************

    CREATE TABLE gam_attribute_bin (/ * gam_ab * /)

    attribute_owner_type char (1) NOT NULL, / * player Att, Att User Instance Att Att class.

    Class criteria, client static/Gulp * /.

    ATTRIBUTE_NAME VARCHAR2 (20) NOT NULL,

    owner_id NUMBER (10) NOT NULL, / * specific check-in attribute_owner * /.

    LONG RAW NULL binary_value

    ) TABLESPACE gam_lgtab STORAGE (INITIAL 256 K NEXT 256 K MAXEXTENTS PCTINCREASE 0 unlimited)

    /

    ALTER TABLE gam_attribute_bin ADD)

    CONSTRAINT gam_attribute_bin_pk

    UNIQUE (attribute_owner_type, owner_id, attribute_name)

    USING INDEX

    TABLESPACE gam_ind

    STORAGE (INITIAL 256 K NEXT 256 K MAXEXTENTS PCTINCREASE 0 unlimited)

    )

    /

    Suppression of REM binary attribute when necessary

    CREATE TRIGGER gam_att_delete

    AFTER YOU REMOVE gam_attribute

    FOR EACH LINE

    BEGIN

    IF (: old.attribute_data_type = 'B')

    THEN

    DELETE FROM gam_attribute_bin

    WHERE attribute_owner_type =: old.attribute_owner_type

    AND attribute_name =: old.attribute_name

    AND owner_id =: old.owner_id;

    END IF;

    END;

    /

    ERROR on line 1:

    ORA-04089: cannot create triggers on the objects belonged to SYS

    hope someone can help me clear this up thanks

    Hello

    You code works very well for me.  I had to change to run on my system tablespaces, but otherwise, what you posted worked for me when I tried (in a different schema than SYS, of course).

  • ORA-02327: cannot create indexes on the LOB data type expression

    DB 10.2.0.4
    DB 5.2

    I am not able to move lobindex and lobsegment. While try occurs below error

    SQL > ALTER INDEX dev. "" SYS_IL0000718396C00002$ $"REBUILD THE TABLESPACE DATA_TEMP;
    ALTER INDEX dev. "" SYS_IL0000718396C00002$ $"REBUILD TABLESPACE DATA_TEMP
    *
    ERROR on line 1:
    ORA-02327: cannot create indexes on the LOB data type expression

    Thank you

    Published by: user13382934 on October 16, 2012 14:05

    correct syntax is
    ALTER TABLE.

    MOVE the LOB ()
    STORE AS (tablespace );

    Where is a name of the / columns LOB, not the name of the segment. Moving type LOB data will move its indexes as well.

  • ORA-39080: cannot create queues during the backup from the rman catalog

    Hello
    I am trying to upgrade my database 10 g and 11 g and I'm trying to back up my rman catalog. However, I get an error. Can someone help me please-

    That's what I give-
    nohup expdp DIRECTORY = EXPORT_DIR userid=rman/adc1243@rmandb full = y job_name = full_rmandb_upg_exp DUMPFILE=EXPORT_DIR:rmandb_upg_exp%U_20100618.dmp LOGFILE = PARALLEL EXPORT_DIR:rmandb_upg_exp_20100618 = 3 &

    and I get this-

    Oracle @ < progd1 >: / home/oracle $tail f nohup.out
    ORA-31626: there is no job
    ORA-31637: could not create user RMAN FULL_RMANDB_UPG_EXP work
    ORA-06512: at "SYS." DBMS_SYS_ERROR', line 95
    ORA-06512: at "SYS." "KUPV$ FT_INT", line 600
    ORA-39080: cannot create queues ' KUPC$ C_1_20100618202950 ' and ' KUPC$ S_1_20100618202950 ' to Data Pump task
    ORA-06512: at "SYS." DBMS_SYS_ERROR', line 95
    ORA-06512: at "SYS." ' KUPC$ QUE_INT ', line 1606
    ORA-04031: unable to allocate 56 bytes of shared memory ('pool feed', 'unknown object', 'pool feed', 'set the allocation callback')

    ORA-04031: unable to allocate 56 bytes of shared memory ('pool feed', 'unknown object', 'pool feed', 'set the allocation callback')

    04031, 00000, "unable to allocate %s bytes of shared memory (\"%s\",\"%s\",\"%s\",\"%s\")"
    // *Cause:  More shared memory is needed than was allocated in the shared
    //          pool.
    // *Action: If the shared pool is out of memory, either use the
    //          DBMS_SHARED_POOL package to pin large packages,
    //          reduce your use of shared memory, or increase the amount of
    //          available shared memory by increasing the value of the
    //          initialization parameters SHARED_POOL_RESERVED_SIZE and
    //          SHARED_POOL_SIZE.
    //          If the large pool is out of memory, increase the initialization
    //          parameter LARGE_POOL_SIZE.  
    

    Stream uses system global area (SGA) memory to store the information required to capture and apply. To allocate memory from the SGA for use by water courses, establish a flow pool in the SGA by specifying the STREAMS_POOL_SIZE parameter. The default value for this setting is 0, which means that the stream instead uses the shared pool memory. If you leave the STREAMS_POOL_SIZE to its default value (0), water courses will be considering using up to 10 percent of the SHARED_POOL_SIZE, then Oracle recommends at least 200 MB for the STREAMS_POOL_SIZE parameter. The source and destination databases must take account of this memory in the SGA.

    Published by: sb92075 on June 18, 2010 19:17

  • ORA-16086: Redo data cannot be written in the expectation of recovery log redo

    Hello

    I have enough disk space: 85% full on both servers, v$ flash_recovery_area_usage shows 56% of the area of dest used recovery.

    So after checking that I have matching sizes for standby records and logs and check that there is enough space allocated to the domain recovery and disk space on the server, I don't know what else could cause a problem to archive log shipping.

    Any ideas?

    My old journals and newspapers of recovery were the same size:

    SQL > select group #, the bytes of the log v$.

    GROUP # BYTES

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

    1 52428800

    2 52428800

    3 52428800

    SQL > select group #, bytes from v$ standby_log;

    GROUP # BYTES

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

    4 52428800

    5 52428800

    6 52428800

    7 52428800

    standby time:

    SQL > select group #, the bytes of the log v$.

    GROUP # BYTES

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

    1 52428800

    3 52428800

    2 52428800

    SQL > select group #, bytes from v$ standby_log;

    GROUP # BYTES

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

    4 52428800

    5 52428800

    6 52428800

    7 52428800

    However, on the autonomy in standby:

    SQL > select group #, status from v$ standby_log;

    GROUP # STATUS

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

    4. UNORDERED

    5 UNASSIGNED

    6 NOT ASSIGNED

    7. UNASSIGNED

    Finally, on the primary:

    SQL > select status, error from v$ archive_dest where dest_id = 2;

    STATE ERROR

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

    ERROR ORA-16086: Redo data cannot be written in the expectation of recovery log redo

    Hello

    As you can see, your flash_recovery_Area is 99% used.  57% consumed by the archivelogs and 42% consumed by the flashback logs

    ARCHIVED JOURNAL 57.19 0

    439

    FLASHBACK TO CONNECT 42,44 0

    178

    you have 3 options

    1. increase the flash_recovery_Area if you have space left in recovery_file_Dest

    2. check the retention of archives and remove the old

    3. do you really use flashback function? If this isn't the case, you can disable it. If you need to check if there is no restore point (sometimes if you have and not intended them to use it will cause flashback logs to be kept longer than they should

    Select * from v$ restore_point;

    also check the retention of flashback in operation below

    show the flashback of parameter

  • ORA-16038: sequence of log 2 422 cannot be archived

    Hello

    I have a problem, when I try to start a database:

    SQL > the judgment;

    ORACLE instance stops.

    SQL > startup open;

    ORACLE instance started.

    Total System Global Area 1577058304 bytes

    Bytes of size 1305760 fixed

    964690784 variable size bytes

    603979776 of database buffers bytes

    Redo buffers 7081984 bytes

    Mounted database.

    ORA-16038: sequence of log 2 422 cannot be archived

    ORA-19504: cannot create the file «»

    ORA-00312: wire 2 1 online journal:

    "+ DATAGROUP/frge/onlinelog/group_2.354.833381221".

    ORA-00312: wire 2 1 online journal:

    "+ DATAGROUP/frge/onlinelog/group_2.355.833381221".

    Thank you

    Hello

    Please check your alert log content, that the location of the log file of the alerts can be found throughout this sql:

    SQL > select * from v$ diag_info;

    also, check out this site refrence: http://itbloggertips.com/2013/05/oracle-not-started-database-startup-fail-with-ora-16038-ora-19809-ora-00312-error/

    Kind regards

  • ORA-16038: log 1 # 1292 sequence cannot be archived ORA-19809: limit exceede

    I get this error at the start of the 10 g database

    ORA-16038: log 1 sequence # 1292 can be checked
    ORA-19809: limit exceeded for file recovery
    ORA-00312: thread 1 1 online journal:
    ' / usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/onlinelog/o1_mf_1_45ngtrx0_.log'



    Can anyone help me, it's very urgent.

    Lavenu

    Hello
    It seems that your flash recovery area is full.

    To check this, run the following query. It will show the size of the recovery area and how complete it is:
    fixed lines 100
    Col name format a60
    Select name
    floor (space_limit/1024/1024) "size MB"
    ceil (space_used/1024/1024) "used MB"
    v $ recovery_file_dest
    by name
    /
    To resolve this problem, you must expand the flash recovery area or delete some files from it.

    If you have the available disk space, expand the recovery area:

    ALTER system set db_recovery_file_dest_size = scope = both
    /
    To delete the files, you must use RMAN. Manually move or delete files has no effect because oracle will know. Is the obvious choice for backup and remove some log files archive. However, if you usually write your RMAN backups on disk, this could prove difficult. RMAN will attempt to write the backup of the recovery flash... area that is full. You can try to send the backup also using a command like this:

    RMAN target / catalog user/pass@rmancat

    Run {}
    allocate channel t1 type disk;
    backup ARCHIVELOG all delete them input format ' //arch_%d_%u_ %s;
    output channel t1;
    }
    This backup all archive logs files in a directory of your choice and then remove them.

    Kind regards
    Navneet

  • ORA-19846: cannot read the header of the data file of the remote site 21

    Hello

    I have a situation or I can say a scenario. It is purely for testing base. Database is on 12.1.0.1 on a Linux box using ASM (OMF).

    Standby is created on another machine with the same platform and who also uses ASM (OMF) and is in phase with the primary. Now, suppose I have create a PDB file on the primary of the SEED and it is created successfully.

    After that is a couple of log, do it again passes to the waiting, but MRP fails because of naming conventions. Agree with that! Now, on the primary, I remove the newly created PDB (coward the PDB newly created). Once again a couple of switches of newspapers which is passed on to the wait. Of course, the wait is always out of sync.

    Now, how to get back my watch in sync with the primary? I can't roll method until the required data (new PDB) file does not exist on the main site as well. I get the following error:

    RMAN > recover database service prim noredo using backupset compressed;

    To go back to November 8, 15

    using the control file of the target instead of recovery catalog database

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 70 = device = DISK stby type instance

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the command recover at the 18:55:32 08/11/2015

    ORA-19846: cannot read the header of the data file of the remote site 21

    The clues on how to I go ahead? Of course, recreating the eve is an option as its only based on test, but I don't want recreation.

    Thank you.

    I tried like below:

    1 a incremental backup of the primary of the CNS where off the eve also taken primary backup controlfile as Eve format.

    2 copy the backup of the watch parts, catalogged them on the day before.

    3 recovered Eve with noredo option - it fails here with the same error pointing to the 21 data file.

    OK, understood. Try not to get back the day before first, rather than restore the controlfile and then perform the restoration.

    Make it like:

    1. take incremental backup of primary SNA, also ensures the backup controlfile format.

    2. copy pending, get the location of the data file (names) by querying v$ datafile on the eve. Restore the controlfile ensures from the backup controlfile you took on primary and mount.

    3. Since you are using OMF, the path of primary and standby data file will be different. (/). If you require catalog data from the database files pending.

    (Reason: you restore controlfile from elementary to step 2, which takes place from the main access road). Use the details that you obtained in step 2 and catalog them.

    4. turn the database copy by RMAN. (RMAN > switch database to copy ;))

    5 Catalog backup items that you copied in step 2.

    6. recover the standby database using 'noredo' option.

    7. finally start the MRP. This should solve your problem.

    The reason I say this works is because here, you restore the controlfile to primary first, which will not have details 21, datafile, and then you are recovering. So it must succeed.

    In the previous method, you tried to first collect all the day before, and then restore the controlfile. While remedial classes, always watch seeks datafile 21 as he controlfile is not yet updated.

    HTH

    -Jonathan Rolland

  • Query cannot be parsed in the generator. If you believe that your query is syntactically correct, check the generic "columns" box below the source of the region without analysis. ORA-00905: lack of keyword

    Hi all

    I have create report sql in version 4.2, and now we have apex version 5.0 upgrade.

    I encountered error when I change the State of sql

    The error massage:

    Query cannot be parsed in the generator. If you believe that your query is syntactically correct, check the generic "columns" box below the source of the region without analysis. ORA-00905: lack of keyword

    My SQL

    SELECT VW.*

    , CASE WHEN (VW.file_code is null

    OR VW.cancel_flg = 'Y'

    OR (TOUR_DEP_DATE + GET_FILE_LOCKING_DAYS (VW. (SBU_CODE) < = trunc (sysdate))

    ) THEN

    ' < font color = "Red" > < b > other < /b > < / police > '

    ON THE OTHER

    "< a href =" f? p = & APP_ID.:51: & SESSION. : O PR: & DEBUG. : 51:P51_FILE_CODE, P51_COSTING_CODE, P51_TOUR_REG_NO, P51_VERSION_NO, P51_REQUEST, P51_AGENT_NAME, P51_ADULTS, P51_CHILDS, P51_MKT_CODE, P51_QUOT_CURR:'

    || FILE_CODE | «, » || COSTING_CODE | «, » || TOUR_REG_NO | «, » || VERSION_NO | «, » ||' OPR' | «, » || AGENT_CODE | «, » || VW. FROM_PAX | «, » || 0||','|| VW.mkt_code | ',' | VW. QUOT_CURR |': ' > < font color = blue > < b > other < /b > < / police > '. "

    END as "other Actions".

    , CASE WHEN ((VW.file_code is not null AND TOUR_DEP_DATE + GET_FILE_LOCKING_DAYS (VW. (SBU_CODE) < = TRUNC (SYSDATE))

    OR cancel_flg = 'Y '.

    OR (VW. REF_COSTING_CODE = VW. ADDL_FIELD2 AND VW. ADDL_FIELD1 LIKE '% COPIED FROM % OF APPROVAL'

    AND BOOKING_NAME LIKE "%-Backup")

    ) THEN

    ' < font color = "Red" > < b > edit < /b > < / police > '

    ON THE OTHER

    "< a href =" f? p = & APP_ID.:149: & SESSION. : & DEBUG. : 149:P149_COSTING_CODE:'

    || COSTING_CODE |': ' > < font color = blue > < b > edit < /b > < / police > '. "

    END AS 'Edit '.

    , CASE WHEN (Nvl (cancel_flg, 'n') = 'Y')

    )

    THEN

    ' < font color = "Red" > < b > add < /b > < / police > '

    ON THE OTHER

    "< a href =" f? p = & APP_ID.:33: & SESSION. : & DEBUG. : 33:P33_COSTING_CODE, P33_FILE_CODE, P33_MKT_CODE, P33_QUOT_CURR, P33_NO_OF_ADULT, P33_NO_OF_CHILD:'

    || COSTING_CODE | «, » || file_code | «, » || VW.mkt_code | ',' | VW. QUOT_CURR | «, » || VW. FROM_PAX | «, » || 0 | ': "> < font color = blue > < b > add < /b > < / police > '

    END as 'Services '.

    OF TOUR_MAS_VW VW

    How to solve it.

    Thank you

    Dear friends

    Thanks for your helping hands.

    I found the solution for this. We can solve this problem by using these solutions

    • A region of HTML:

      click me
      
    • Using PL/SQL:
      htf.anchor('f?p=100:5:'||V('APP_SESSION'),'click me');
      
    • Using a SQL query: SELECT htf.anchor('f?p=100:5:'||:APP_SESSION,'clickme') FROM DUAL;

    We can write the query in the form

    SELECT ' f? p = 100: 1 :'|| : APP_SESSION |': ' | : APP_UNIQUE_PAGE_ID |

    ': P1_EMPNO :'|| employe_id,

    first name,

    job_id

    Employees

    Thank you & best regards

    CORINE

  • ORA-14080 partition cannot be divided along the upper limit

    Hello

    Oracle 11.2.0.3

    After a table

    We want to split the partition PART_201610 on for each month

    Issuing command

    ALTER table RETAILER_TRANSACTION

    Split partition PART_201610

    to (to_date('01-MAY-2016','DD-MON-YYYY'))

    into (partition RTRN_PART_201604, partition PART_201610 tablespace PART_201604)

    Ora-14080 getting partition cannot be split along the specified upper limit.

    Anyone know why this is?

    Thank you

    partitions on the table below.

    partition values PART_201603 less (TO_DATE (' 2016-04-01 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN '))

    tablespace RTRN_PART_201603

    PCTFREE 0

    INITRANS 1

    maxtrans 255

    (

    SUBPARTITION SYS_SUBP65343 tablespace RTRN_PART_201603,

    SUBPARTITION SYS_SUBP65344 tablespace RTRN_PART_201603,

    SUBPARTITION SYS_SUBP65345 tablespace RTRN_PART_201603,

    SUBPARTITION SYS_SUBP65346 tablespace RTRN_PART_201603

    ),

    partition values PART_201610 less (TO_DATE (' 2016-11-01 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN '))

    tablespace RTRN_PART_201610

    PCTFREE 0

    INITRANS 1

    maxtrans 255

    (

    SUBPARTITION SYS_SUBP65333 tablespace RTRN_PART_201610,

    SUBPARTITION SYS_SUBP65334 tablespace RTRN_PART_201610,

    SUBPARTITION SYS_SUBP65335 tablespace RTRN_PART_201610,

    SUBPARTITION SYS_SUBP65336 tablespace RTRN_PART_201610

    ),

    partition values PART_400012 less (TO_DATE (' 4001-01-01 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN '))

    tablespace RTRN_PART_400012

    PCTFREE 0

    INITRANS 1

    maxtrans 255

    (

    SUBPARTITION SYS_SUBP12390 tablespace RTRN_PART_400012,

    SUBPARTITION SYS_SUBP12391 tablespace RTRN_PART_400012,

    SUBPARTITION SYS_SUBP12392 tablespace RTRN_PART_400012,

    SUBPARTITION SYS_SUBP12393 tablespace RTRN_PART_400012

    )

    Please mark this thread ANSWERED so that others know that we.

  • ORA-29975: cannot save a query in the middle of a transaction active Castle ADF

    Hello

    I use JDeveloper 12.1.3. 64 bit.

    I have a unique feature on FirstEO EO object validator is based:

    public boolean validateSomeThingCheckRule() {}

    Boolean flag = false;

    Set of rows from the rowset = this.getMyVO1 (); / * an accessor to ViewObject MyVO * /.

    rowSet.setRangeSize(-1);

    rowSet.executeQuery (); /

    Line myRow = rowSet.first ();

    If (myRow! = null) {}

    .. .do something

    if(Something>0) {}

    flag = true;

    }

    else {}

    flag = false;

    }

    }

    return of flag;

    }

    The validator works well.

    I also Module of Application with java AMImpl class, where I replace before the commit operation:

    @Override

    {} public void beforeCommit (TransactionEvent transactionEvent)

    MyViewObjectImpl firstViewObjectImpl = getFirstVO1 (); / * Raturns FirstVO based on FirstEO * /.

    MyViewRowImpl firstViewRowImpl = (MyViewRowImpl) firstViewObjectImpl.getCurrentRow ();

    Set of rows myRowSet = (all lines) firstViewRowImpl.getAttribute ("MyVO1"); / * an accessor to ViewObject MyVO, as in the EO validator, they have both access same view MyVO object * /.

    MyRow = myRowSet.getRowSet () such () line; / * Here I have: ORA-29975: cannot save a query in the middle of an active transaction Castle * /.

    / * do something...*/

    super.beforeCommit (transactionEvent);

    }

    Can someone explain to me why and help me with the solution. Thx a lot.

    This is probably related to database change notifications.

    Maybe you have enabled auto-refresh on this VO?

    In addition, postings in beforeCommit() method of coding is not very good practice: this is the 'overall' method so it is called for each commit on each page, and in some cases, this method can be called by framework: http://andrejusb.blogspot.ba/2013/03/coding-validation-in-adf-bc-view-object.html

    Dario

  • ORA-19838: cannot use this control file to open the database

    Dear all,

    While making RMAN cloning, we are facing problem,

    SQL > alter database open resetlogs;

    ALTER database open resetlogs

    *

    ERROR on line 1:

    ORA-19838: cannot use this control file to open the database

    Concerning

    Villi Kumar

    Dear all,

    While checking the database,

    Control the name of the database file is PROD

    In the instance, database name is TEST.

    So we took the PROD and edited control file trace file based on the TEST environment.

    Then run the script published in the TEST database trace file.

    Now we can open the database by using below command

    ALTER database open resetlogs;

    Concerning

    Villi Kumar

  • Why I don't have the error: ORA-14551: cannot perform a DML operation inside a query

    Hello

    create table table_1 (phone number)

    create or replace function function_a return number
      is
        l_rv number;
      begin
        l_rv := dbms_random.value();
        insert into table_1 values(l_rv);
        return l_rv;
      end;
    
    

    Select double function_a

    Now, I get the error:

    ORA-14551: cannot perform a DML operation inside a query

    ORA-06512: at "FUNCTION_A", line 6

    create the table table_2 (phone number)

    insert into table_2 select function_a from dual
    
    

    Now, I make the same mistake. It is to insert records into table_2

    Can someone please clarify this?

    Database Oracle 12 c Enterprise Edition Release 12.1.0.1.0 - 64 bit Production

    Post edited by: O - O added: (select double function_a)

    O - O wrote:

    To be called from instructions SQL, stored function must obey "purity" following rules, which are intended to control the side effects:

    • rule1) When it is called from a SELECT statement or a parallelized INSERT , UPDATE , or DELETE statement, the function cannot change database tables.
    • rule2) When it is called from a INSERT , UPDATE , or DELETE statement, the function cannot query or modify database tables modified by that statement.

    Can you please explain this? I think that these statements are contradicted with

    insert into select double function_a table_2

    Now, I make the same mistake. It is to insert records into table_2

    When your function is called by a select statement, an error is triggered because of rule1).

    When your function is called in an insert statement, no error is raised. The insert does not work in parallel (this is an insert row after all). So rule1) is also not infringed. The insert is on the table2, change table1. Because it does not modify the same table rule2) is not violated. So no reason to trigger an error.

  • ORA-29868: cannot issue the DOF on a field marked as LOAD index

    When I try to delete a text index I get the message: ORA-29868: cannot issue the DOF on a field marked as LOAD index

    Here are all of the command I use to drop it:

    Start

    ctx_ddl.drop_preference ('"IDX_SO_DST" ');

    end;

    /

    Start

    ctx_ddl.drop_preference ('"IDX_SO_FIL" ');

    end;

    /

    Start

    ctx_ddl.drop_section_group ('"IDX_SO_SGP" ');

    end;

    /

    Start

    ctx_ddl.drop_preference ('"IDX_SO_LEX" ');

    end;

    /

    Start

    -ctx_ddl.unsetset_attribute ('"IDX_SO_WDL" ', 'STEMMER');

    -ctx_ddl.unset_attribute ('"IDX_SO_WDL" ', 'FUZZY_MATCH');

    ctx_ddl.drop_preference ('"IDX_SO_WDL" ');

    end;

    /

    Start

    ctx_ddl.drop_stoplist ('"IDX_SO_SPL" ');

    end;

    /

    Start

    ctx_ddl.unset_attribute ('"IDX_SO_STO" ', 'R_TABLE_CLAUSE');

    ctx_ddl.unset_attribute ('"IDX_SO_STO" ', 'I_INDEX_CLAUSE');

    ctx_ddl.drop_preference ('"IDX_SO_STO" ');

    end;

    /

    Drop index "ACQUISITIONS." "" IDX_SO ".

    When I try to get command of the force

    ALTER INDEX "ACQUISITIONS." "' IDX_SO ' DROP FORCE

    I get the message:

    ORA-14004: lack of keyword SCORE

    I don't know how to get this table partitions

    Can you advise how to find partitions?

    or how to remove the particular index successful? This is a test environment.

    I run 11.2 under windows.

    Thank you

    It looks that it is locally partitioned index, so "alter index" will not work without a partition name. But you can try simply

    DROP INDEX FORCE;

    If this does not work, try to restart the database and repeat the index fall. Do not use FORCE unless you have to.

    If it still does not work, you will need to login as SYS and run

    ctxsys.ctx_adm.mark_failed ("", "")

    that resets any clue to 'FAIL' status and allow to delete the index (even once, do not use FORCE unless you have to).

Maybe you are looking for

  • M7-K111DX: need Windows 7 64 bit drivers for laptop HP-M7-K11DX

    I had to reinstall Windows 7 Pro complete with a valid product key. However, Windows 10 was loaded before, so the drivers are not compatible. HP does not provide drivers for this model for W7, only 8.1 and 10.  I miss several pilots and have found no

  • HP printers: Solution: can't print Microsoft Office documents, or print documents disappear in Windows 7

    Dear all, If you come across printing number where you will be not able to print only Microsoft Office documents or print documents disappear in Windows 7. It is caused by changes to security settings on the user's profile. You can either create a ne

  • How can I recover my backups?

    I made backups of my computer using Live One Care?  I have them all on CD but can't open and retrieve files. I lost a lot of my files and most of my photos because of a computer crash, but they have on the backup CD. I can't open. They are on files u

  • Download WinHlp32.exe for Vista

    Hello.  I am trying to download WinHlp32.exe from this page:http://www.microsoft.com/downloads/en/details.aspx?FamilyId=6EBCFAD9-D3F5-4365-8070-334CD175D4BB&displaylang=en, but there is no download button.  He asks me to go through the Validation, bu

  • Dell dock language issue__ file reference

    language files Dell dock problem, I looked in programs but dell dock went can sum1 help me explore the internet icon and all dell docking station disappeared I had to restore to an earlier date to see if it was there no -This is a public forum so nev