ORA-20505: Error DML

I have a form that is based on a view joining three tables and make changes/insertions/deletions via INSTEAD OF relaxation. Updates go well, but for inserts, I get the following error:

ORA-20505: DML error: p_rowid = 94703, p_alt_rowid = NUM_SEQ_LIN, p_rowid2 =, p_alt_rowid2 is. ORA-01403: no data found

Apparently, INSTEAD OF trigger does not fire (I have inserted into a special table of debug information never show). NUM_SEQ_LIN is initialized.

Does anyone know how to decipher this error message and find what went wrong?

Igor

Hello Igor.

If you insert the debug information in the INSTEAD OF trigger (and do not use an autonomous transaction) and the defective trigger, the iof insert debugging information will also be rollbacked.
Maybe you could post the code of your trigger to insert here.
Have you checked if the triggers on target tables can cause the problem - those will fire also.
Your page running in DEBUG mode can help you catch the problem.

Greetings,
Roel

http://roelhartman.blogspot.com/

Tags: Database

Similar Questions

  • Sudden error-> ORA-20505: error DML

    Hi all

    I noticed today that all pages of an application, that uses automatic row Fetch (DML), suddenly stopped working and displayed the following error:


    Update:

    ORA-20505: DML error: p_rowid = ModTest, p_alt_rowid is OPC_COD, p_rowid2 =, p_alt_rowid2 is. ORA-20503: current Version of the data in the database has changed since the user initiated the update process. current checksum = checksum of the '54CFD3E0DBD50510D86894EA9DB09357' = '0 '.

    Deletions:



    ORA-20510: current Version of the data in the database has changed since the user initiated the update process.



    There is no problem with the Insert, it works very well, which makes things more confusing. No matter what ideas on what could be causing this sudden failure?



    Cordially Pedro.

    Pedro,

    For some reason, your page templates had this:

    [an error occurred while processing the directive]
    

    .. .that #FORM_CLOSE # channel shouldn't be commented.

    Scott

  • ORA-20505: error in DML: p_rowid AAARr/AAOAAAAh9AAB =, p_alt_rowid = PK, p_row

    HI, Hi, I'm running Application Express 4.0.1.00.02 and Oracle 11 g I can't do updates. As a result of updates in the following: ORA-20505: error in DML: p_rowid = AAARr/AAOAAAAh9AAB, p_alt_rowid is PK, p_rowid2 =, p_alt_rowid2 is. ORA-01733: virtual column not allowed here. Insert or delete error is: ORA-01733: virtual column not allowed here. The pk in my opinion have a rowid column and do not have a sequence number. ManyThanks.

    ROWID is a virtual column in view of Oracle. You must identify a column or set of columns in the table for Oracle to TRY and maintain order in the data...

    Thank you

    Tony Miller
    Webster, TX

    Never argue with a fool. They do you drag down to their level, then beat you with experience.

  • ORA-20505: error in DML - data in db Version has changed

    Hello
    Request Express 3.1.0.00.32
    I created a report and master detail in the sample Application on oracle.application.com. I get an error on my Master form when you click < Previous and Next >. I saw other problems of this kind in the forum, but it seems that everyone is a little different. Can someone help me with this error when you browse the next answer (s). Thanks in advance.

    ORA-20505: DML error: p_rowid = 6, p_alt_rowid CUSTOMER_ID =, p_rowid2 =, p_alt_rowid2 is. ORA-20503: current Version of the data in the database has changed since the user initiated the update process. current checksum = checksum of the "E9A08EDC02A82871E6865DB254B09ED2" = "39454529513F24BE60C167752BF71750."

    I created another page master detail and I don't have any errors when scrolling using the <>. This is a process that can be causing my error by using the page master original detail.
    DECLARE 
    CUSTOMER_ID VARCHAR(20);
    BEGIN
     SELECT CUSTOMER_ID INTO :P21_CUSTOMER_ID
     FROM DEMO_CUSTOMERS
     WHERE CUST_FIRST_NAME = :P21_CUST_FIRST_NAME;
    -- processing here
    EXCEPTION
      -- Catches all 'no data found' errors
       WHEN NO_DATA_FOUND THEN
         DBMS_OUTPUT.PUT_LINE
           ('No Data found for SEARCH on ' || CUSTOMER_ID);
    END;
    Published by: Charles was April 30, 2009 11:40

    Hi Charles,

    I had a look at your page 21.

    The problem was that the 'Values of Fetch 2' process was not conditioned and was running in the point of the process "on the load - before the Header." That meant he was running whenever the page is loaded. This process checks the value CUSTOMER_ID in P21_CUST_FIRST_NAME that, because the process of "search for the line...". "has not been performed at that time there (he turns"on the charge - after the Header"), will always return the same value CUSTOMER_ID from when the page was first loaded. The next/previous buttons, however, moved the front/rear P21_CUSTOMER_ID only one value (this became obvious when this field was changed from 'Hidden and protected' to 'Text'). Therefore, the data on the page was for "Albert" but was it to CUSTOMER_ID for any document was previous to the Albert one. Thus, moving next/previous always caused a mixture of real data.

    I changed the "Fetch values 2" process to depend on P21_CUSTOMER_ID is NULL. In this way, the CUSTOMER_ID value found ONLY by code when the page is loaded for the first time. Subsequently, it is controlled by the next/previous feature.

    Andy

  • ORA-20505: DML error: p_rowid = 22, p_alt_rowid = WRKORDR_ID, p_rowid2 =, p_a

    Hello, I have created a form and a report. I am able to add a new record, but when it comes to updating a record, I get an ORA-20505: error in DML: p_rowid = 22, p_alt_rowid = WRKORDR_ID, p_rowid2 =, p_alt_rowid2 is. ORA-01403: no found error.
    I have created a workspace with Oracle, exported my paintings, objects,... and he asks. Would it not be possible for someone to check it out and let me know what is wrong with it. It is a very simple page that I will develop more in a production project.

    Here is the link http://apex.oracle.com/pls/otn/f?p=37538:101:105615541964265:

    Thank you
    iahmadi

    Understand how the page makes the distinction between a 'create' and an 'update' and an operation of 'delete '. Generally, this indicator is either passed in the value of 'request' or is implied by the presence of a page element with a non-null primary key value. Then make the get_pk process are those input values.

    Scott

  • ORA-01502 error in the case of a unique index unusable and dml in bulk

    Hi all.

    The BP is 11.2.0.3 on a linux machine.

    I did a unique index unusable and issued a dml on the table.
    Howerver, oracle gave me the error ORA-01502.

    In order to avoid the ORA-01502 error, should I drop the unique index and bulk make dml and rebuild the index?

    Or is there another solution without recreating the unique index?
    create table hoho.abcde as
    select level col1 from dual connect by level <=1000 
    
    10:09:55 HOHO@PD1MGD>create unique index hoho.abcde_dx1 on hoho.abcde (col1);
    
    Index created.
    
    10:10:23 HOHO@PD1MGD>alter index hoho.abcde_dx1 unusable;
    
    Index altered.
    
    Elapsed: 00:00:00.03
    10:11:27 HOHO@PD1MGD>delete from hoho.abcde where rownum < 11;
    delete from hoho.abcde where rownum < 11
    *
    ERROR at line 1:
    ORA-01502: index 'HOHO.ABCDE_DX1' or partition of such index is in unusable state
    Thanks in advance.
    Best regards.
    Do I have to accept the unique index maintenance workload(undo generation/redo for undo generation)
    when doing bulk dml?
    

    I think so.

    The amount of data you load compared to existing data in the table?

    If say for example, you add 20%, and then to compare the retention of 20% adds data during the major part collect to create all of the index after insertion so
    you choose the drop/recreate the unique index

    Best regards

    Mohamed Houri
    www.hourim.WordPress.com

  • ORA-24381: error (s) table DML

    Hello

    I encountered error during the mya test. The script run through several cases, until it encounters this error ORA-24381: error (s) table DML.

    What could be the reason for this and if someone can give an idea to solve this problem.

    Collect in bulk has been used with a limit of 1000.
    I used dblink to the access database.

    Thanks in advance.

    Documentation says it it all: http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/tuning.htm#sthref2201

    Kind regards
    Rob.

  • setTriggerEvents &gt; ORA-20171: error WM: trigger &lt; NAME &gt; does not exist

    Hello

    Problem*: execution of DBMS_WM.setTriggerEvents results in a < trigger_name > error does not exist, even if the trigger actually exists.

    Environment*: Oracle 10 g R2 on Windows 2003. Internal programs of PL/SQL stored in packages in a schema; data tables compatible version in many other patterns. The DIRECT workspace is frozen, allowing that the operations of WM. Applications and users change data in the context of child workspaces.

    _ The goal: on a workspace of the merger in LIVE, fire a level trigger line AULIEUDE updates the data in another schema.table. For example, changes to data in Schema1 activate the trigger stored in Schema2, which in turn changes in schema3.

    It is believed that an AULIEUDE trigger is necessary due to complications OWM. Specifically, a trigger on the underlying table for the LT would fire outside the context of a review, which is problematic because triggered changes are made, even if the user ignores finally his work space. In addition, the operations are not easily discernible on the table LT for INSERTS, UPDATES and DELETES the extra lines result (i.e., INSERTS).

    Detail: *
    Organization: SchemaSW contains a trigger that calls a public procedure in a specific application package "Package1" The specific application package calls various public functions in another package in the same pattern. This last package encapsulates OWM sequences appeal and management to ensure that all internal applications regularly perform operations of OWM errors. The trigger is associated with SchemaV1.View. A MERGE_WORKSPACE_W/WO_REMOVE event, the trigger modifies data stored in SchemaV2.View.

    Permissions: the user SchemaSW has WM_ADMIN_ROLE, CONNECT, RESOURCE and DBA roles and privileges SELECT ANY TABLE system, update ANY TABLE and SYSDBA. The SchemaV1 user has EXECUTE on SchemaSW.

    Declaration of delinquency: EXECUTE DBMS_WM.setTriggerEvents ("< TRIG_NAME > ', dbms_wm.") WORKSPACE_MERGE_WO_REMOVE | «, » || dbms_wm. WORKSPACE_MERGE_W_REMOVE);

    Error:
    ERROR on line 1:
    ORA-20171: error WM: trigger ' < SchemaV1 >. < TRIG_NAME > ' does not exist
    ORA-06512: at "SYS." WM_ERROR', line 342
    ORA-06512: at "SYS." WM_ERROR', line 359
    ORA-06512: at "SYS.LT", line 13264
    ORA-06512: at line 1

    Documents*: Guide to the application developer - Workspace Manager (B14253-01, 10 g Release 2).

    [pg 4-133] «By default, user-defined triggers are executed for DML events both workspace, unless the default behavior is changed using the parameter system Workspace Manager FIRE_TRIGGERS_FOR_NONDML_EVENTS (described in Section 1.5).» You can use the SetTriggerEvents procedure to override the current setting of the FIRE_TRIGGERS_ FOR_NONDML_EVENTS of specific triggers; However, if you later change the value of the parameter system FIRE_TRIGGERS_FOR_NONDML_EVENTS, this new value replaces all specified parameter previously using the SetTriggerEvents procedure. If this procedure is successful, it validates the transaction open database calling fs. An exception is thrown if one or more of the following apply: hominess ' user is not the owner of the trigger, or does not have the role WM_ADMIN_ROLE. There is no such thing as ¡triggerName. Instead of more triggerEvents values are not valid. »

    [pg 1-23] "1.10 triggers on Version-Enabled tables compatible Version tables may have defined triggers; However, the following considerations and limitations apply: ¦ only by line triggers are supported. Statement triggers is not supported. ¦ Set single-line triggers are supported. Avant-mise day and update after the cessation of the triggers for specific columns are not supported. »

    Troubleshooting*: documentation requires the user trigger (otherwise the trigger owner) to have the WM_ADMIN_ROLE, which is satisfied in this case. I checked the existence of triggering via:

    SELECT the owner, table_owner, table_name, triggering_event, STATUS
    OF dba_triggers
    WHERE UPPER (TRIGGER_NAME) = UPPER ("< TRIG_NAME >" ");

    SchemaSW SchemaV1
    < VIEW >
    INSERT
    PEOPLE WITH DISABILITIES

    (Note that I have disabled the trigger for does not stop others from exercise data while I try to fix this).

    Any directive of the community is very much appreciated.

    Thanking you,
    Noel

    So you're creating instead of trigger directly on the view from above (the original name of the table)? Let me know if this isn't the case.

    OWM does not support INSTEAD of triggers. Instead of triggers need to be defined on a view and the only objects that can be activated version are tables. However, I see nothing in your description that says to an INSTEAD of triggers. What you try to do so should be able to finish the level triggers table row dml insert/update/delete. You would simple create triggers on the table before EnableVersioning or add them during a session of beginDDL/commitDDL, and they would be then implemented as PL/SQL procedures inside the inside instead of triggers that we create. They are not defined on the table _LT.

    After you create the trigger, you would be able to use dbms_wm.setTriggerEvents to specify the events you want relax to fire to.

    Kind regards
    Ben

  • ORA-00604: error occurred at recursive SQL level 1 ORA-01882: region time zone not found

    Dear all,

    IAM trying to connect to establish a connection to a database using JDBC thin oracle client. IAM getting the following error.

    Could someone help me with a solution please

    Operating system: Oracle linux

    Database Version: 12 c

    java.sql.SQLException: ORA-00604: error occurred at the SQL level 1 recursive

    ORA-01882: zone schedule region not found

    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:144)

    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:73)

    at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java:1243)

    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.getLocalConnect(SnpsDialogTestConnet.java:173)

    to com.sunopsis.graphical.dialog.SnpsDialogTestConnet.access$ 400 (SnpsDialogTestConnet.java:51)

    to com.sunopsis.graphical.dialog.SnpsDialogTestConnet$ 5.doInBackground(SnpsDialogTestConnet.java:629)

    to com.sunopsis.graphical.dialog.SnpsDialogTestConnet$ 5.doInBackground(SnpsDialogTestConnet.java:625)

    at oracle.odi.ui.framework.AbsUIRunnableTask.run(AbsUIRunnableTask.java:258)

    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:947)

    at java.lang.Thread.run(Thread.java:745)

    Caused by: java.sql.SQLException: ORA-00604: error occurred at the SQL level 1 recursive

    ORA-01882: zone schedule region not found

    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:144)

    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:73)

    at oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter.getConnection(OnConnectOnDisconnectDataSourceAdapter.java:87)

    to oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ ConnectionProcessor.run (LoginTimeoutDatasourceAdapter.java:228)

    to java.util.concurrent.Executors$ RunnableAdapter.call (Executors.java:471)

    at java.util.concurrent.FutureTask.run(FutureTask.java:262)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:615)

    ... 1 more

    Caused by: java.sql.SQLException: ORA-00604: error occurred at the SQL level 1 recursive

    ORA-01882: zone schedule region not found

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:466)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:391)

    at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:1126)

    at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:503)

    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:546)

    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:269)

    at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:436)

    at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:1021)

    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:682)

    at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:789)

    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)

    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)

    at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:412)

    at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:385)

    at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:352)

    at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:331)

    ... 6 more


    Best regards


    Hi CPR1,.

    I tried to connect to database using ODI.

    What I did at work is

    Double-click the database server--->, click Properties, and then you have the key and the value

    In the Insert key as oracle.jdbc.timezoneAsRegion, and its value is FALSE

    Thank you

    Best regards

  • connection mysql and oracle ORA-28545: error diagnosed by Net8 when connecting to an agent

    Hi all

    I have Oracle 10.2.0.5 server and MySQL 5.3 on windows environment. all are 64-bit.

    I want to connect to MySQL. I do the following

    Configure Listner.ora

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = PLSExtProc)

    (ORACLE_HOME = C:\oracle\product\10.2.0\db_2)

    (= Extproc PROGRAM)

    )

    (SID_DESC =

    (GLOBAL_DBNAME = ORCL)

    (ORACLE_HOME = C:\oracle\product\10.2.0\db_2)

    (SID_NAME = ORCL)

    )

    (SID_DESC =

    (SID_NAME = mysql)

    (ORACLE_HOME = C:\oracle\product\10.2.0\db_2)

    (PROGRAM = HSODBC)

    (ENVS = LD_LIBRARY_PATH = C:\oracle\product\10.2.0\db_2\LIB)

    )

    )

    LISTENER =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = oradev.hct.org) (PORT = 1521))

    )

    Tnsnames.ora configuration

    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oradev.hct.org) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    )
    )

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )
    MySQL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST= 10.153.103.5) (PORT = 1521))
    (CONNECT_DATA =
    (SID = mysql)
    )
    (HS = OK)
    )

    create file initodbc.ora in the folder hs

    HS_FDS_CONNECT_INFO = mysql

    HS_FDS_TRACE_LEVEL = OFF

    Restart the listner

    tnsping

    C:\users\administrator > tnsping mysql

    AMT Ping Utility for 64-bit Windows: Version 10.2.0.5.0 - Production 08-NOV-2
    015 13:02:52

    Copyright (c) 1997, 2010, Oracle.  All rights reserved.

    Use settings files:
    C:\oracle\product\10.2.0\db_2\network\admin\sqlnet.ora


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 10.153.103.5)
    (PORT = 1521)) (CONNECT_DATA = (SID = mysql)) (HS=OK))
    OK (0 msec)

    Create the connection odbc for Unicode

    the test is successful

    now, I create the dblink

    create public mysql database link to connect to cssDBTeam identified by oracle using "mysql";

    then try to select from a table inside the MySQL database

    SQL > select * from appeal@mysql;

    Select * from appeal@mysql

    *

    ERROR on line 1:

    ORA-28545: error diagnosed by Net8 when connecting to an agent

    Cannot retrieve the text of the message NETWORK/NCR 65535

    ORA-02063: preceding 2 lines of MYSQL

    How could I solve this problem?

    Thank you.

    Hello

    I realize that your problem is that 10.2 HSODBC was never focused on the Windows 64-bit platform and was only available on 32-bit Windows.  You can not install the 32-bit on WIndows 64-bit HSODBC.

    Your only option is to install 11.2 DG4ODBC on your platform Windows 64 - bit, or if you have a RDBMS 10.2 installed on another platform, then you could use HSODBC as part of this installation and connect from the RDBMS on Windows 64 - bit using the links in the database.  HSODBC 10.2 software could not be installed as a stand-alone product and was only available as part of an RDBMS install.

    Kind regards

    Mike

  • ORA-19625: error identification of file

    Hi all;

    SYS > select name, database_role, protection_mode from v$ database;

    NAME DATABASE_ROLE PROTECTION_MODE

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

    PERFORMANCE MAXIMUM STANDBY PHYSICS CRMS

    SYS > select max(sequence#) from v$ log_history;

    MAX(SEQUENCE#)

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

    14424

    SYS > list of archive logs;

    Database log mode Archive Mode

    Active AutoArchive

    Destination of archive USE_DB_RECOVERY_FILE_DEST

    Sequence of journal online oldest 14427

    Log sequence to archive 0

    Current log sequence 14428

    > > I got some error at the time of replication messages.  (errros are from alert.log to waiting for database)

    Physical Standby Database mounted.

    Lost write protect mode the "typical" value

    Errors in the /u02/app/oracle/diag/rdbms/stbycrms/stbycrms/trace/stbycrms_lgwr_5064.trc file:

    ORA-00313: open failed for members of the Journal 4 of the thread group 0

    ORA-00312: threads of journal online 4 0: ' / u03/app/oracle/oradata/REDOLOG/stbycrms/stby_redo4.log'

    ORA-27037: unable to get file status

    Linux error: 2: no such file or directory

    Additional information: 3

    Errors in the /u02/app/oracle/diag/rdbms/stbycrms/stbycrms/trace/stbycrms_lgwr_5064.trc file:

    ORA-00313: open failed for members of the Journal 4 of the thread group 0

    ORA-00312: threads of journal online 4 0: ' / u03/app/oracle/oradata/REDOLOG/stbycrms/stby_redo4.log'

    ORA-27037: unable to get file status

    Linux error: 2: no such file or directory

    Additional information: 3

    Errors in the /u02/app/oracle/diag/rdbms/stbycrms/stbycrms/trace/stbycrms_lgwr_5064.trc file:

    ORA-00313: open failed for the members of the newspaper group 5 of the thread 0

    ORA-00312: threads of journal online 5 0: ' / u03/app/oracle/oradata/REDOLOG/stbycrms/stby_redo5.log'

    ORA-27037: unable to get file status

    Linux error: 2: no such file or directory

    ..

    ...

    Completed: alter database mount standby

    Fri 30 Oct 23:08:35 2015

    RMAN DUPLICATE: Errors in krbm_getDupCopy

    Errors in the /u02/app/oracle/diag/rdbms/stbycrms/stbycrms/trace/stbycrms_ora_5140.trc file:

    ORA-19625: error identification of file /u02/app/oracle/oradata/stbycrms/system01.dbf

    ORA-27037: unable to get file status

    Linux error: 2: no such file or directory

    Additional information: 3

    RMAN DUPLICATE: Errors in krbm_getDupCopy

    Errors in the /u02/app/oracle/diag/rdbms/stbycrms/stbycrms/trace/stbycrms_ora_5140.trc file:

    ORA-19625: error identification of file /u02/app/oracle/oradata/stbycrms/sysaux01.dbf

    ORA-27037: unable to get file status

    Linux error: 2: no such file or directory

    Additional information: 3

    RMAN DUPLICATE: Errors in krbm_getDupCopy

    Errors in the /u02/app/oracle/diag/rdbms/stbycrms/stbycrms/trace/stbycrms_ora_5140.trc file:

    ORA-19625: error identification of file /u02/app/oracle/oradata/stbycrms/users01.dbf

    ORA-27037: unable to get file status

    Linux error: 2: no such file or directory

    11.2.0.1 on redhat

    It seems that two copies has been tried or done more than once and on the second time, he threw the "Krbm_getDupCopy" (which made me think see the stop).

    So if you ever have to re-create the day before do not delete files on the standby is the lesson.

    OR

    You have the error because RMAN checks the files on the two copies of 11.2 on.  (This is probably what happened)

    Thank you! I learned something new!

    See

    RMAN DUPLICATE: Errors in Krbm_getDupCopy found in the alert.log (Doc ID 1476641.1)

    Best regards

    mseberg

  • DB not starting not due ORA-00205: error in the identification of 11GRAC control file

    Hello

    I have it configured in the OEL5 11 g RAC (11.2.0.1.0). When I tried to start the database using the command srvctl or by manually I get the below error. \

    RPRC-1079: failed to start of ora.rac.db resources

    ORA-00205: error in the identification of control files, see log alerts for more information

    CRS-2674: beginning of 'ora.rac.db', 'ractwo' failed

    CRS-2632: there is no more servers to try to place the "ora.rac.db" resource on which will achieve its investment policy

    ORA-00205: error in the identification of control files, see log alerts for more information

    CRS-2674: beginning of 'ora.rac.db', 'racone' failed

    The content of the alert below log.

    ORA-00210: could not open the specified control file

    ORA-00202: control file: "+ RACDG/rac/controlfiles/control02.ctl".

    ORA-17503: ksfdopn:2 could not open the file +RACDG/rac/controlfiles/control02.ctl

    ORA-15001: diskgroup 'RACDG' does not exist or is not mounted

    ORA-15055: unable to connect to the ASM instance

    ORA-27140: attach to post/wait installation failed

    ORA-27300: OS dependent operating system: invalid_egid failed with status: 1

    ORA-27301: OS Error Message: operation not permitted

    ORA-27302: an error occurred at: skgpwinit6

    ORA-27303: additional information: current startup egid = 500 (oinstall), egid = 503 (asmadmin)

    ORA-00210: could not open the specified control file

    ORA-00202: control file: "+ RACDG/rac/controlfiles/control01.ctl".

    ORA-17503: ksfdopn:2 could not open the file +RACDG/rac/controlfiles/control01.ctl

    ORA-15001: diskgroup 'RACDG' does not exist or is not mounted

    ORA-15055: unable to connect to the ASM instance

    ORA-27140: attach to post/wait installation failed

    ORA-27300: OS dependent operating system: invalid_egid failed with status: 1

    ORA-27301: OS Error Message: operation not permitted

    ORA-27302: an error occurred at: skgpwinit6

    ORA-27303: additional information: current startup egid = 500 (oinstall), egid = 503 (asmadmin)

    But my ASM instance is running and I am able to see the controlfiles.

    State Type sector Rebal to Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files name of the block

    EXTERN MOUNTED N 512 4096 1048576 20472 13772 0 13772 0 N RACDG.

    I don't know is there any problem of perission. Oracle cluster and DB is running as user 'oracle '.

    Nobody does face this problem before? Let me know where to check this error.

    Kind regards

    007

    Hello

    Check "the correct permission must be" - rwsr - s - x '.»»»

    Stop the CRS.
    Change the permissions of the file to GI_HOME/bin/oracle for "- rwsr - s - x":

    $su - grid
    $cd GI_HOME/bin
    $chmod 6751 oracle
    Oracle-l $ls

    Start the /CRS.

    Start your database.

    Thank you

    Sundar

  • Get ORA-00942 error with the clause, but not when the user sys.

    Hello

    About 3 weeks ago we increased our memary to PGA_aggregate_target = 60 GB, SGA_target = 58 GB Oracle instance. About 1 week ago our cognos user started having errors ORA-00942 for these queries generated with clause, with the same authorization. i.e.

    with 'aBmtQuerySubject4' as
    (select "BANK_NOTE_ADI_INFO_T". ' ' PRINT_BATCH_ID ' 'PRINT_BATCH_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_RUN_DT ' 'PROCESS_RUN_DT '.
    'BANK_NOTE_ADI_INFO_T '. ' ' RDP_ID ' 'RDP_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' FI_ID ' 'FI_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' DEPOSIT_NB ' 'DEPOSIT_NB '.
    'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_MACHINE_ID ' 'PROCESS_MACHINE_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' OUTPUT_STACKER_TYPE_CE ' 'OUTPUT_STACKER_TYPE_CE '.
    'BANK_NOTE_ADI_INFO_T '. ' ' PARTITION_KEY ' 'PARTITION_KEY '.
    'BANK_NOTE_ADI_INFO_T '. ' ' LOAD_ID ' 'LOAD_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' SERIAL_NUMBER_ID ' 'SERIAL_NUMBER_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' SHIFT_NB ' 'SHIFT_NB '.
    'BANK_NOTE_ADI_INFO_T '. ' ' BANK_NOTE_COUNT_NB ' 'BANK_NOTE_COUNT_NB '.
    of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
    )
    'CountResultQuery5' as
    (select count ("aBmtQuerySubject4". "BANK_NOTE_COUNT_NB") 'C_1' "
    , count (1) 'C_2' of 'aBmtQuerySubject4 '.
    After having count (*) > 0)
    Select 'CountResultQuery5 '. "' C_2 ' 'Count1.
    of 'CountResultQuery5 '.
    ;


    with 'aBmtQuerySubject4' as
    (select "BANK_NOTE_ADI_INFO_T". ' ' LOAD_ID ' 'LOAD_ID '.
    of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
    )
    'CountResultQuery5' as
    (select count ("aBmtQuerySubject4". "LOAD_ID") 'C_1' "
    , count (1) 'C_2 '.
    of 'aBmtQuerySubject4' having count (*) > 0
    )
    Select 'CountResultQuery5 '. "' C_2 ' 'Count1' of 'CountResultQuery5 '.
    ;

    -output like:

    'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_RUN_DT ' 'PROCESS_RUN_DT '.
    *
    ERROR at line 3:
    ORA-00942: table or view does not exist


    of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
    *
    ERROR at line 3:
    ORA-00942: table or view does not exist

    Since 2 days ago, we get ORA-0403.

    One thing I noticed that the coguser can run above queries correctly after they are run by a user sys...

    Could you please help me on how I can resolve ORA-00942 error?

    Thank you very much, much in advance for all your help and your advice! :-)

    Jihong.

    "One thing I've noticed the coguser can run over queries correctly after they are run by a user sys... »

    Jihong,

    Do you mean that queries can be run successfully as a sys user, or as long as once a sys cognos user user has run the query at least once?

    Gerard

  • ORA-17628: error Oracle 19505 returned by remote Oracle - Dup Active Server

    Hi all

    I'm doing a duplicate RMAN of a 11.2.0.4 database to another host on a different IP address.

    Goal

    SQL> select * from v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    

    Auxiliary (nomount)

    SQL> select * from v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    
    

    I've added an entry static listener to the file on the server to THE listener and start the instance in nomount.

    (SID_LIST =
       (SID_DESC =
          (GLOBAL_DBNAME = IST_11G)
          (ORACLE_HOME = /devdb3/u01b/app/oracle/product/11.2.0.4)
          (SID_NAME = IST_11G)
        )
    

    TNSNAMES on the server to THE:

    points to the TARGET server:

    IST_11G_192 = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.48)(PORT = 1521))(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = IST_11G)(UR=A)))
    

    the server pointing to THE

    IST_11G = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.21.64.72)(PORT = 1521))(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = IST_11G)(UR=A)))
    

    TNSNAMES on the TARGET server:

    IST_11G_NEW = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.21.64.72)(PORT = 1521))(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = IST_11G)(UR=A)))
    

    instance pFile to THE:

    Using parameters in Server pfile /devdb3/u01b/app/oracle/product/11.2.0.4/dbs/initIST_11G.ora-side

    Parameters of the system with default values:

    db_name = "IST_11G".

    I have sftp file password above and named correctly.

    Check the connections

    --from target
    $ sqlplus sys/xxx@IST_11G_NEW as sysdba
    
    SQL*Plus: Release 11.2.0.4.0 Production on Tue Jun 30 08:32:10 2015
    
    Copyright (c) 1982, 2013, Oracle.  All rights reserved.
    
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL>
    

    Since in THE

    $ sqlplus sys/xxx@IST_11G_192 as sysdba

    SQL * more: Release 11.2.0.4.0 Production on Mar 30 08:32:32 June 2015

    Copyright (c) 1982, 2013, Oracle.  All rights reserved.

    Connected to:

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

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL >

    So I checked that I have two means of connection, my at THE start and I can connect.

    Here's my RMAN command (Note: the TARGET servers and have the same host name, don't ask...) "This is why we use the IP address in the TNSNAMES):

    connection:

    rman target sys/xxx@IST_11G_192 auxiliary sys/xxx@IST_11G | tee /home/oracle/IST_11G_duplicate.log
    

    run
    {
      duplicate target database to IST_11G from active database
      NOFILENAMECHECK
      spfile
      set DB_FILE_NAME_CONVERT = '/devdb3/u01/oradata/IST_11G','/devdb3/u02d/oradata/IST_11G','/devdb3/u02/oradata/IST_11G','/devdb3/u02d/oradata/IST_11G'
      set LOG_FILE_NAME_CONVERT = '/devdb3/u01/oradata/IST_11G/','/devdb3/u03r/IST_11G_DEVDB3/'
      set control_files = '/devdb3/u03r/IST_11G_DEVDB3/controlfile/IST_11G_ctl1.ctl', '/devdb3/u04r/IST_11G_DEVDB3/controlfile/IST_11G_ctl2.ctl'
      set audit_file_dest = '/devdb3/u01b/app/oracle/product/11.2.0.4/rdbms/audit/'
      set diagnostic_dest = '/devdb3/u01b/app/oracle/'
      set log_archive_dest =  '/devdb3/u05f/fast_recovery/IST_11G/archivelogs/'
      set MEMORY_MAX_TARGET='1G'
      set MEMORY_TARGET='1G';
    }
    

    $ rman target sys/xxx@IST_11G_192 auxiliary sys/xxx@IST_11G | tee /home/oracle/IST_11G_duplicate.log
    
    Recovery Manager: Release 11.2.0.4.0 - Production on Tue Jun 30 08:37:02 2015
    
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    
    connected to target database: IST_11G (DBID=525645852)
    connected to auxiliary database: IST_11G (not mounted)
    
    RMAN> run
    2> {
    3>   duplicate target database to IST_11G from active database
      NOFILENAMECHECK
      spfile
    4> 5> 6>   set DB_FILE_NAME_CONVERT = '/devdb3/u01/oradata/IST_11G','/devdb3/u02d/oradata/IST_11G','/devdb3/u02/oradata/IST_11G','/devdb3/u02d/oradata/IST_11G'
      set LOG_FILE_NAME_CONVERT = '/devdb3/u01/oradata/IST_11G/','/devdb3/u03r/IST_11G_DEVDB3/'
      set control_files = '/devdb3/u03r/IST_11G_DEVDB3/controlfile/IST_11G_ctl1.ctl', '/devdb3/u04r/IST_11G_DEVDB3/controlfile/IST_11G_ctl2.ctl'
    7>   set audit_file_dest = '/devdb3/u01b/app/oracle/product/11.2.0.4/rdbms/audit/'
    8>   set diagnostic_dest = '/devdb3/u01b/app/oracle/'
      set log_archive_dest =  '/devdb3/u05f/fast_recovery/IST_11G/archivelogs/'
    9>   set MEMORY_MAX_TARGET='1G'
      set MEMORY_TARGET='1G';
    10> }
    11>
    12>
    
    Starting Duplicate Db at Jun 30 2015 08:37:10
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=216 device type=DISK
    
    contents of Memory Script:
    {
       backup as copy reuse
       targetfile  '/devdb3/oracle/app/oracle/product/11.2.0.4/dbs/spfileIST_11G.ora' auxiliary format
    '/devdb3/u01b/app/oracle/product/11.2.0.4/dbs/spfileIST_11G.ora'   ;
       sql clone "alter system set spfile= ''/devdb3/u01b/app/oracle/product/11.2.0.4/dbs/spfileIST_11G.ora''";
    }
    executing Memory Script
    
    Starting backup at Jun 30 2015 08:37:11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=365 device type=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 06/30/2015 08:37:12
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/30/2015 08:37:12
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    
    RMAN>
    
    
    
    
    
    
    
    
    
    

    I can't understand why I'm getting ORA-17628: error Oracle 19505 returned by remote Oracle server.

    So, I try one of the commands connecting memory se scripts to check if was not a problem with my execution block.

    backup copy reuse targetfile ' / devdb3/oracle/app/oracle/product/11.2.0.4/dbs/spfileIST_11G.ora' auxiliary format ' / devdb3/u01b/app/oracle/product/11.2.0.4/dbs/spfileIST_11G.ora';

    $ rman target sys/sys_IST_11G@IST_11G_192 auxiliary sys/sys_IST_11G@IST_11G | tee /home/oracle/IST_11G_duplicate.log
    
    Recovery Manager: Release 11.2.0.4.0 - Production on Tue Jun 30 08:41:00 2015
    
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    
    connected to target database: IST_11G (DBID=525645852)
    connected to auxiliary database: IST_11G (not mounted)
    
    RMAN> backup as copy reuse targetfile  '/devdb3/oracle/app/oracle/product/11.2.0.4/dbs/spfileIST_11G.ora' auxiliary format '/devdb3/u01b/app/oracle/product/11.2.0.4/dbs/spfileIST_11G.ora';
    
    Starting backup at Jun 30 2015 08:41:15
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=365 device type=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/30/2015 08:41:17
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    
    RMAN>
    
    
    
    
    
    
    
    

    Same mistake.  Nothing is written for the journal of alerts.  IM starting to pull the hair is left on my head out and people start screaming for this database.  I could go back to datapump but I want to understand this.  Any help would be very much appreciated.

    Thank you.

    Yes, although this:

    connected to target database: IST_11G (DBID = 525645852)

    connected to the auxiliary database: IST_11G (unassembled)

    can say you that RMAN you connected the two separate databases, the process, instances should do research each other using tnsnames file entries.  Thus, incorrect tnsnames entries can have one instance pointing to itself.

    Hemant K Collette

  • ORA-29285: error writing file

    Hi, I'm trying to clear a table in a flat file, & provided the stored procedure using my Tom Kyte @ https://asktom.oracle.com/pls/asktom/f?p=100:11:0:NO:P11_QUESTION_ID:88212348059.

    It worked well at first, but now I always get the following error message:

    ERROR on line 1:

    ORA-29285: error writing file

    ORA-06512: at "OFSA_ATOMIC. DUMP_TAB_TO_CSV", line 45

    ORA-06512: at line 1

    The search for this error ORA out Virgin on MOS.

    Any ideas how to solve this problem?

    I already checked for space on the file system and there is lots of space available.

    Also, the file is created with a size of 0 bytes before the procedure was abandoned.

    Thank you

    -CV

    Hello

    trying to figure out what has changed since it worked. Length of the line would be greater than 1024 default that uses Tom proc?

    http://docs.Oracle.com/CD/E11882_01/AppDev.112/e40758/u_file.htm#ARPLS70900

    The FOPEN max_linesize parameter must be a number in the range 1 to 32 767. If not specified, Oracle provides a default value of 1024.

Maybe you are looking for