expdp fails with ORA-31693 and ORA-01555

Hello

I use Oracle Database 10 g Enterprise Edition Release 10.2.0.4.0 - 64bi under hp - ux

I export the DB as follows:

password/expdp system.
Full = y.
dumpfile = backup_dir:expdp_$ ORACLE_SID.dmp.
logfile = backup_dir:expdp_$ ORACLE_SID.log.
exclude = statistics-
estimate statistics =.
flashback_time =-"TO_TIMESTAMP\ (\ ' $DATE_EXP\ ', \'YYYY-MM-DD HH24:MI:SS\'\) \" "

It has always worked well, but this morning I received an error message:

ORA-31693: Data Table object "DFE". "' TGV_CONTROLE ' failed to load/unload and being ignored because of the error:
ORA-02354: Error exporting/importing data
ORA-01555: snapshot too old: rollback segment number 1 with the name ' _SYSSMU1$ ' too small
ORA-00604: an error has occurred at the SQL level recursive 3
ORA-08180: no snapshot found on the basis of time specified
ORA-06512: at "SYS." TIMESTAMP_TO_SCN', line 1
ORA-00604: an error has occurred at the SQL level recursive 3
ORA-08180: no snapshot found on the basis of time specified


no idea what that sometimes causes this error?

Thank you

The time that you specified is mapped to an invalid SCN, a SCN beyond the current retention policy used.
You can try more big parameter UNDO_RETENTION or flashback for the more recent time and start again.

Tags: Database

Similar Questions

  • EXPDP fails with ORA-39125: worker unexpected fatal error in MAIN $

    Hi friends,

    Oracle 10.2.0.4.0 on Sun OS

    Im trying to metadata_only using EXPDP export

    Faced with the below error

    ORA-39125: worker unexpected fatal worker error of $ MAIN. UNLOAD_METADATA when calling DBMS_METADATA. [FETCH_XML_CLOB]

    ORA-31642: failure of the following SQL statement:

    BEGIN "SYS." "DBMS_RULE_EXP_RULES." SCHEMA_CALLOUT (1,1,1, 10.02.00.04.00 "") END;

    ORA-06512: at "SYS." DBMS_SYS_ERROR', line 86

    ORA-06512: at "SYS." Dbms_metadata", line 907

    ORA-00942: table or view does not exist

    ORA-06512: at "SYS." DBMS_SYS_ERROR', line 95

    ORA-06512: at "SYS." "MAIN $ WORKER", line 6307




    --------------------------------------------------------------------------------
    PL / SQL Call Stack
    --------------------------------------------------------------------------------

    the line object

    serial number of handle

    51bf5dc20 15032 SYS package body. MAIN $ WORKER

    51bf5dc20 6372 SYS package body. MAIN $ WORKER

    51bf5dc20 2396 SYS package body. MAIN $ WORKER

    package body SYS 6944 51bf5dc20. MAIN $ WORKER

    51bf5dc20 1314 SYS package body. MAIN $ WORKER

    51c7e8650 anonymous block 2

    ====================================

    Results:

    I check the status of DBMS_RULE_EXP_RULES

    STATUS OF OWNER OBJECT_TYPE OBJECT_NAME

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

    --------------------------------------------------------------------------------
    DBMS_RULE_EXP_RULES VALID PACKAGE BODY SYS
    SYS DBMS_RULE_EXP_RULES PACKAGE AVAILABLE
    DBMS_RULE_EXP_RULES PUBLIC SYNONYM VALID

    Dbms_metadata & DBMS_SYS_ERROR packages are valid.

    ======================================================

    Error in the alert:

    The value of MAXTRANS parameter ignored (30).
    kupprdp: master the DM00 process started with pid = 25, OS id = 6506
    to run - SYS. KUPM$ MCP. HAND ('SYS_EXPORT_SCHEMA_01', 'SYS', ' KUPC$ C_1_20120908075037', ' KUPC$ S_1_20120908075037', 0);
    kupprdp: work DW01 process began with worker id = 1, pid = 26, OS id = 6633
    to run - SYS. WORKER OF $ MAIN. HAND ('SYS_EXPORT_SCHEMA_01', 'SYS');

    When I check the trace file, find the error below

    ORA-04063: package Ann body. "" COLLECTION "features the errors

    But when I check the condition of the packaging, it is valid.

    Thanks for your help
    KSG

    Salvation;

    ORA-04063: package Ann body. "" COLLECTION "features the errors

    You can try to compile this object? If it gives the error which is error message?

    Respect of
    HELIOS

  • Automatic failover with Transport and apply Lag fails with ORA-16798

    Hello
    I configured a physical database maximum Performance, accelerated failover mode standby. I set FastStartFailoverLagLimit to 3 hours (10800 seconds).

    If I understand the Oracle documentation, Fast-Start failover should work with Max Performance, as long the Transport timeout is whithin the FastStartFailoverLagLimit.


    So I started a few scripts, generated some loading, so I have a Transport and apply the shift of 3-4 Minutes.
    Then I killed pmon to cause an automatic failover.

    Failover failed with ORA-16798.

    I know, there is Note 846087.1 , which describes the problem, but I thought that automatic failover should work in this configuration.
    Is this a bug or am I wrong?

    Thank you very much in advance.


    Configuration Data Guard standby:
    -----------------------------------------------

    Role: STANDBY PHYSICS
    State of destination: apply
    Transport delay: 3 minutes 3 seconds (calculated two seconds ago)
    Apply the Lag: 3 minutes 26 seconds (calculated 0 seconds ago)
    Apply the rate: 23,52 MB/s
    Real-time query: OFF
    Occurrence (s):
    ...

    Properties:
    ...
    LogXptMode = "async".
    DelayMins = '0'
    Binding = "optional."
    MaxFailure = '0'
    MaxConnections = '1'
    ReopenSecs = "300"
    NetTimeout = "15"
    RedoCompression = "DISABLE."
    ...

    State of the database:
    SUCCESS

    Fast failover configuration:
    -----------------------------------------------

    Fast-Start Failover: ENABLED

    Threshold: 180 seconds
    Target: < Targetname >
    Observer: < servername >
    Offset limit: 10800 seconds
    Primary closure: TRUE
    Auto-Rétablir: TRUE
    Reconnection of the observer: (none)
    Substitution of the observer: FALSE

    ...


    Messages of the DG - Log:
    -----------------------------------------------
    FAILOVER TO < DB >
    Starting failover to the < DB > database
    Notifying Oracle Clusterware to disassembly for the FAILOVER database
    02/02/2015-13:38:04
    Error running SQL = 604, sql = [ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FI
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-00283: cool cancelled due to errors
    ORA-16171: RECOVER... FINISHING not allowed away for thr 1, seq 34-37
    Failed to retrieve Terminal.
    Database error resource SetState (16798)
    02/02/2015-13:38:08
    Command FAILOVER < DB > completed with error ORA-16798


    The FastStartFailoverLagLimit property specifies the amount of data, in seconds, during which the standby database target can

    delay on the main database on the recovery plan applied. If again applied Eve point database notes that many

    seconds of the primary database redo point generation, accelerated tipping is allowed.

    Errors show a gap for sequences 34-37, which is not optimal for a fast failover.

    Even if FastStartFailoverLagLimit is set to 3 hours, there is too much data loss for the standby site because newspapers are not available on the backup server and the Broker cannot activate the Pb of the day before.

    I recommend to to lean on increase the bandwidth network.

    Concerning

  • Procedure failed with ORA-01403, associated with immediate execution, captured

    This procedure compiles without error. Its purpose is to copy the sequence of one schema to another object. After it failed with ORA-01403, I added exception code of capture (see the comments in the code).

    A few notes:

    1. I started the proceedings with exec copy_sequence ('ADDRESS_SEQ', 'SST', 'TEST1');

    2. the first sql string is built correctly since I can see in the console output:

    Select last_number in the all_sequences where sequence_owner = upper('TSS') and upper('ADDRESS_SEQ') = sequence_name

    I can run this SQL command, and returns a real value;

    Here is the procedure

    SET SERVEROUTPUT ON;

    create or replace procedure copy_sequence (seq VARCHAR2, prod_schema VARCHAR2, VARCHAR2 test_schema)

    as

    Val number (21);

    s_sql varchar2 (200);

    Start

    s_sql: = ' select last_number in the all_sequences where sequence_owner = upper('''|| prod_schema ||'') ') and sequence_name = upper('''||) Seq | " ')';

    -immediate' select last_number in the Vale of all_sequences where sequence_owner = upper('''|| prod_schema ||'') ') and sequence_name = upper('''||) Seq | " ')';

    Dbms_output.put_line ('sql 1 ' | s_sql);

    execute immediate s_sql in val;  ---!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! The code does not work here!

    Dbms_output.put_line ('val' |) Val);

    s_sql: = 'delete the sequence'. test_schema |'. ' || FF.;

    Dbms_output.put_line ('sql 2 ' | s_sql);

    -execution immediate s_sql;

    s_sql: = 'create the sequence'. test_schema |'. ' || Seq |' minvalue maxvalue 1 999999999999999999999 begin by ' | Val | 'increment of 1';

    Dbms_output.put_line ('sql 3 ' | s_sql);

    -execution immediate s_sql;

    -Add the following after procedure thown ORA-01403: no data found

    exception when TOO_MANY_ROWS then DBMS_OUTPUT.put_line ('TOO_MANY_ROWS error');

    When NO_DATA_FOUND then DBMS_OUTPUT.put_line ('error NO_DATA_FOUND');

    While some other then raise_application_error (-20011, "Unknown Exception in this procedure");

    end;

    /

    Hoek wrote:

    The user (no SYSTEM, SYS, and SYSTEM are special, you should not use them unless you have TO) execution of the procedure must have the necessary privileges granted directly, bypassing a role...

    ??? There is nothing special about SYS or SYSTEM in what concerns them stored procedures. SYS by default is granted directly SELECT ANY SEQUENCE, so it does not work for the owner of MS by SYS. SYSTEM is therefore not:

    Scott@pdborcl12 > create sequence s;

    Order of creation.

    Scott@pdborcl12 > create or replace
    2 procedure system.p1
    3 is
    number of v_last_value 4;
    5. start
    6. Select last_number
    7 in v_last_value
    8 of all_sequences
    9 where sequence_owner = 'SCOTT '.
    10 and s = sequence_name ';
    11 end;
    12.

    Created procedure.

    Scott@pdborcl12 > system.p1 exec.
    BEGIN system.p1; END;

    *
    ERROR on line 1:
    ORA-01403: no data found
    ORA-06512: at "SYSTEM. "P1", line 5
    ORA-06512: at line 1

    Scott@pdborcl12 > grant select on s to the system;

    Grant succeeded.

    Scott@pdborcl12 > system.p1 exec.

    PL/SQL procedure successfully completed.

    Scott@pdborcl12 >

    SY.

  • Select dbms_metadata.get_dependent_ddl fails with ORA-31604 still exist for the object

    Hello

    In the DEPENDENCIES of DBA, I can see that I have (seen here) according to some a table objects:

    -SQL > select type, name

    -2 from dba_dependencies where REFERENCED_OWNER = upper ('stuff')

    --3 and REFERENCED_name = upper ('st_tab') and type = "VIEW";

    -NAME OF THE OWNER TYPE

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

    -VIEW STUFF STTAB_4MV_VW

    -VIEW STUFF STTAB_VW

    But trying to recover these definitions 2 times I get an error:

    -SQL > select dbms_metadata.get_dependent_ddl ('VIEW', 'ST_TAB', 'STUFF') def double;

    -ERROR:

    -ORA-31604: NAME parameter invalid "BASE_OBJECT_NAME" for the type of VIEW object in the function SET_FILTER

    -ORA-06512: at "SYS." DBMS_SYS_ERROR', line 116

    -ORA-06512: at "SYS." DBMS_METADATA_INT', line 4705

    -ORA-06512: at "SYS." DBMS_METADATA_INT', line 8582

    -ORA-06512: at "SYS." Dbms_metadata", line 2882

    For some objects, it works (triggers, index), but for others (views, procedures, packages), it still fails with ORA 31604.

    If I make a direct call on dbms_metadata.get_ddl ('DISPLAY', 'STTAB_4MV_VW', 'STUFF'), it works fine.

    Everyone has seen this behavior before? (tried this code on 10g and 11g)

    Thank you very much.

    Kind regards

    SEB

    For some objects, it works (triggers, index), but for others (views, procedures, packages), it still fails with ORA 31604.

    Exactly! That's what he should do. Dependent on DOF is for objects that are actually part of the table.

    If I make a direct call on dbms_metadata.get_ddl ('DISPLAY', 'STTAB_4MV_VW', 'STUFF'), it works fine.

    Exactly! That's how you get the DDL for views and other types of distinct objects. Provide you with the type of object as the first parameter.

    Everyone has seen this behavior before? (tried this code on 10g and 11g)

    Sure! This is a normal behavior.

    See chapter doc DBMS_METADATA packages and Types

    http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28419/d_metada.htm#i1019414

    Notes on use

    • These functions allow you to extract metadata for objects with a single call. They encapsulate calls to OPEN , SET_FILTER , and so on. The function you use depends on the characteristics of the type of object and if you want the DDL or XML.
      • GET_xxxis used to fetch named objects, especially schema objects (tables, views).

      • GET_DEPENDENT_xxxis used to extract dependent objects (audits, grants of the object).
      • GET_GRANTED_xxxis used to retrieve issued objects (System of subsidies, scholarships of role).
    • For certain types of objects, you can use more than one function. For example, you can use GET_xxx to fetch a name index, or GET_DEPENDENT_xxx to fetch the same index by specifying the table on which it is defined.

    See also table 74-11 in this doc for a table showing the types of objects.

    http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28419/d_metada.htm#BGBIEDIA

  • OEM 12.1.0.3 Setup fails with ora-01017

    Greetings,

    I'm trying to upgrade my OEM 12.1.0.1 installation at 12.1.0.3. I'm following the instructions in the Oracle Enterprise Manager Cloud control Upgrade Guide and Support Oracle Note 1568143.1. I checked that all the prerequisites are met and have installed patch 11061801 in the repository. The repository and WHO are on different computers. The 12.1.0.1 installation is able to connect to the repository, it worked successfully for some time now. On the SGD server, quit the SGC and Agent and I invoke the 12.1.0.3 installation program. I followed the steps and when it gets to the login page, it fails with ORA-01017. Messages are displayed -

    1. check if the SYS password you have entered is valid.

    2. check if the REMOTE_LOGIN_PASSWORDFILE database initialization parameter is set to either shared or Exclusive.

    3. check whether a file with the file name orapw < SID > password exists in the < ORACLE_HOME > / dbs directory.

    All the conditions are met:

    -bash-3, $ 2 echo $ORACLE_SID

    oemrepos

    SQL > connect sys as sysdba

    Enter the password:

    Connected.

    SQL > connect sysman

    Enter the password:

    Connected.

    SQL > show parameter remote_login_passwordfile

    VALUE OF TYPE NAME

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

    Remote_login_passwordfile string EXCLUSIVE

    -bash-3, $ 2 ls-l $ORACLE_HOME/dbs/orapwoemrepos

    -rw - r - 1 oracle dba 1536 January 30, 2013 /usr/local/oracle/app/oracle/product/11.2.0/dbhome_1/dbs/orapwoemrepos

    I am able to connect remotely from another machine. sqlplus is not installed on the SGD server.

    I am completely confused and need help. Web search indicates only that I need to make sure that the conditions listed above must be met, they are. If anyone has any suggestions I would appreciate the help.

    Thank you.

    Bill Wagman

    The problem has been resolved by recreating the password file. I used the same password. I don't understand yet why however.

    Thank you

    Bill Wagman

  • Patch 3480000 fails with ORA-03114

    While applying the patch 3480000 for the improvement of 11.5.9 to 11.5.10.2 patch fails with
    ORA-03114: not connected to ORACLE


    occurred while executing the SQL statement:

    UPDATE fnd_install_processes
    SET skip_flag = "
    WHERE worker_id = 6

    Error stolen pending transactions and closing Pro * C connection.

    The error is:

    FND-UT-CMT: ORA-01041: internal error. hostdef extension doesn't exist

    Fate of AD worker suffering from failure.

    When compiling packages such as ahl/11.5.0/patch/115/sql/AHLPUFSS.pls.

    The database in 9.2.0.6 RAC.

    Hello

    Please see if these documents help.

    Note: 577534,1 - errors on FndXdfCmp.class: "ORA-03113: end of file on communication channel" and "FND-UT-CMT: ORA-01041: internal error." hostdef extension does not exist.
    Note: 340238.1 - Patch 4143498 receives errors Ora-01041, Ora-03114 on Iscrf70b.Pls Ora-01041

    Kind regards
    Hussein

  • Oracle RAC 12.1.0.2 (GI battery) deployment on OEL 7 (3.8.13 - 35.3.4.el7uek) fails with ORA-27102

    Hi guys,.

    I am currently trying to deploy a complete installation (GI battery) of Oracle RAC 12.1.0.2 cool on OEL 7 (3.8.13 - 35.3.4.el7uek) with 2 nodes for validation purposes. However the installation itself went well, but 'Creation repository for Oracle Grid Infrastructure Management container' step fails with "ORA-01034: ORACLE not available / ORA-27102: out of memory / Linux-x86_64 error: 12: cannot allocate memory". The steps of runInstaller validation completed successfully, but I never take this step of configuration without jumping.

    Here is my configuration which should normally avoid such errors ORA.

    Host

    -bash - $4.2 uname - a

    Linux OELRAC1 3.8.13 - 35.3.4.el7uek.x86_64 #2 SMP Tue Jul 29 23:24:14 CDT 2014 x86_64 x86_64 x86_64 GNU/Linux

    "Creation of repository database for Oracle Grid Infrastructure Management container" error in /oracle/base/cfgtoollogs/dbca/_mgmtdb/trace.log

    From restoration to August 9, 14

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 12 type of device = DISK

    channel ORA_DISK_1: from the restore backup set data file

    channel ORA_DISK_1: specifying datafile (s) to restore from backup set

    channel ORA_DISK_1: restore datafile 00003 to + GRID

    channel ORA_DISK_1: backup /oracle/grid/12102/assistants/dbca/templates/MGMTSeed_Database.dfb piece reading

    channel ORA_DISK_1: ORA-19870: error when restoring the backup /oracle/grid/12102/assistants/dbca/templates/MGMTSeed_Database.dfb piece

    ORA-19504: could not create the file "+ GRID.

    ORA-17502: ksfdcre:4 cannot create the file + GRID

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

    ORA-01034: ORACLE not available

    ORA-27102: out of memory

    Linux-x86_64 error: 12: cannot allocate memory

    Additional information: 2663

    Additional information: 1565392897

    Additional information: 161480704

    switch to the previous backup

    Number of folder of the data file = 3 name = + GRID

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

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

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

    RMAN-03002: failure of the restore command at 09/08/2014 19:41:47

    ORA-01119: error in creating file of database "+ GRID.

    ORA-17502: ksfdcre:4 cannot create the file + GRID

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

    ORA-01034: ORACLE not available

    ORA-27102: out of memory

    Linux-x86_64 error: 12: cannot allocate memory

    Additional information: 2663

    Additional information: 1565392897

    Additional information: 1614807040

    RMAN-06956: create the data file failed; try again after removing + OS GRID

    SHM / CPI (check the id of shm with previous information)

    -bash - $4.2 ipcs - a

    -Shared memory segments-

    key shmid owner perms bytes nattch status

    1565360128 0 x 00000000 grid 640 4096 0

    1565392897 0 x 00000000 grid 640 4096 0

    0xfba47600 1565425666 640 24576 29 grid

    Memory of the ASM instance setting

    SQL > see the memory settings

    VALUE OF TYPE NAME

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

    whole big memory_max_target 1076M

    whole large memory_target 1076M

    ASM disk groups

    SQL > select NAME, STATE, TOTAL_MB, USABLE_FILE_MB from v$ asm_diskgroup;

    NAME STATE TOTAL_MB USABLE_FILE_MB

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

    RACK MOUNTED 6144 4868

    / dev/shm to memory_target (more than enough free space)

    -bash - $4.2 df-h

    Size of filesystem used Avail use % mounted on

    tmpfs, 630M 2.4 G 3.0 G 21% / dev/shm

    Kernel for SHM limits set to unlimited parameter

    -bash - $4.2 sysctl - a | grep shm

    kernel.shmall = 1152921504606846720

    kernel.shmmax = 922337203685477580

    User limits on unlimited for memory

    -bash-4, $ 2 cat /etc/security/limits.conf

    # Oracle settings

    grid soft nproc 2047

    grid hard nproc 16384

    grid soft nofile 1024

    grid hard nofile 65536

    Oracle nproc 2047 soft

    Oracle nproc 16384 hard

    Oracle soft nofile 1024

    Oracle hard nofile 65536

    * hard memlock unlimited

    * soft memlock unlimited

    -bash - 4, $ 2 known - grid

    -bash - $4.2 ulimit - a

    the file size (blocks, - c) of base 0

    (kbytes, - d) data seg size unlimited

    scheduling priority (-e) 0

    size of the file (blocks, f) - unlimited

    pending signals (-i) 23953

    Max locked memory (kbytes, - l) unlimited

    size of the memory (k, m) max - unlimited

    open files (-n) 1024

    a size (512 bytes, - p) 8 hose

    (Bytes, - q) POSIX message queues 819200

    real-time priority (-r) 0

    size (Ko, - s) 8192 battery

    time processor (seconds,-t) unlimited

    Max user process (-u) 2047

    virtual memory (KB), - v) unlimited

    the locks on files (-x) unlimited

    So what the hell is wrong here? Why the instance ASM (+ ASM1) returns the error below, even if there is no memory limit / problem. The error with the disk group is also absolutely no sense.

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

    ORA-01119: error in creating file of database "+ GRID.

    ORA-17502: ksfdcre:4 cannot create the file + GRID

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

    ORA-01034: ORACLE not available

    ORA-27102: out of memory

    Linux-x86_64 error: 12: cannot allocate memory

    Additional information: 2663

    Additional information: 1565392897

    Additional information: 1614807040

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

    Someone at - he encounter the same problem with 12.1.0.2 by deploying the CDB for Grid Infrastructure Management repository? Is there something special with UEK3 (3.8.13 - 35.3.4.el7uek) on 7 OEL? Any necessary special kernel parameter (although the runInstaller controls do not mention)? I'm totally tapped by GI 12.1.0.2.

    Thank you.

    Best regards

    Stefan

    Hi guys,.

    I was finally able to solve this problem.

    She was related to a memory on the provisioning of problem in the virtual environment as both nodes are VMs. Unfortunately none of these errors of memory were populated / pushed somehow in the virtual machine.

    Best regards

    Stefan

  • This is how a SELECT query fails with ORA-1555 occur?

    11 GR 2/RHEL 6.2

    I would like to know exactly how a SQL fails with error ORA-1555.

    Please take a look at the following simple example.

    INVENTORY_DETAIL is a table that stores information about items in a store.

    For this DB UNDO_RETENTION is set to 3 600 (1 hour) and TUNED_UNDO_RETENTION Meanwhile 5400 (1.5 hours)

    At 15:00, there's 12 Logitek involved in inventory.

    ITEM_ID NOM_ELEMENT STOCK_LEFT

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

    8432 LOGITEK 12 SPEAKER

    At 15:00 Session1, starts a SELECT large with several tables joins query. Something like

    Select id.item_id, id.item_name, su.supplier_price, su.supplier_code

    Su.batch_code...

    of INVENTORY_DETAIL id join in-house suppliers knew on (id.supplier_id = su.supplier_id)

    ...

    ..

    03:02, Session1 reads the block that stores the line with item_id = 8432 and learns that he has 12 Logitek left speakers.

    15:10, Session2 delivers the next UPDATE and he agrees immediately.

    Update inventory_detail set stock_left = 7 where item_id = 8432;

    commit;

    The UNDO data for Session2 transaction are stored in the measure of cancellation remaining, and the UNDO data gets debusquees at 04:40 when the TUNED_UNDO_RETENTION of 1.5 hours is crossed at 16:40.

    Because of the bad of e/s, query SELECT of Session1 manages to retrieve all the records only from 17:00.

    But session1 notice this line with item_id = 8432 changed. Now, there's only 7 Logitek speakers which is inconsistent with what he learned at 15:02 (who was then at 12). Because of this incompatibility SO not able to recover data UNDO on this gap, ORA-1555 is thrown. My assumptions are good?

    3:10PM                             4:10PM                          4:40PM                       5:00PM

    |===================================|-------------------------------|-----------------------------|

    UNDO_RETENTION = 1 HR retention Undo Tuned = 1.5 h finishes of request for enforcement

    Martin, you asked, "are the correct on the circumstances that led to ORA-1555 my explanations?  The answer is no.  Oracle does not notice at the end of the query that changed a line he read.  Instead, each read line is at the same point in time.  When Oracle sees that a row has changed Oracle reads the UNDO segments to find the version of the data corresponding to the query start time.  If these data cannot be found the ORA-01555 error is raised.

    - -

    HTH - Mark D Powell.

  • Create_entailment fails with ORA-00933

    Hi all

    When I try to launch the creation of a new commitment,

    EXECUTE sem_apis.create_entailment('my_entailment', sem_models('my_model'), sem_rulebases('owlprime'));
    

    the procedure fails with the following error:

    ORA-00933: comando SQL terminato erroneamente
    ORA-06512: a "MDSYS.SDO_SEM_INF_INTERNAL", line 13518
    ORA-06512: a "MDSYS.SDO_SEM_INFERENCE", line 142
    ORA-06512: a "MDSYS.SDO_SEM_INFERENCE", line 184
    ORA-06512: a "MDSYS.RDF_APIS", line 108
    ORA-06512: a line 1
    00933. 00000 -  "SQL command not properly ended"
    *Cause:    
    *Action:
    

    I've never experienced this problem when I was working on my 11.2.0.1 instance of my machine to Windows Server 2008 R2, but it happens now that I've migrated to 11.2.0.3. The same command that worked no longer; This happens on the migrated database, as well as on a new database. Also, I checked MDSYS. RDF_PARAMETER and SEM_VERSION 11203 is valid.

    I did some research, but I have not found anything on this topic... and the error message is not to help me trying to understand what goes wrong.

    Any suggestion?

    Hello

    Are there changes to the character set, the setting of the nls, etc. with the new database?

    Before running the entailment create command, that help to run the first next?

    SQL > ALTER SESSION SET NLS_NUMERIC_CHARACTERS ='.,';

    Thank you

    Zhe Wu

  • Replicate source fails with ORA-01403

    Hello

    I've set up a two-way replication between two bases of Oracle 11 g R2 (WIN11SRC and WIN11TRG). Initially, the data was consistent between the two databases.

    Now, when I update a record in the source, I find that it has replicated successfully in the target.
    But when I update a record in the target, it is not getting through to the source. It fails in the source and rejected by his reply. The discard file displays the following error when I tried to update the Department_Name column:
    OCI Error ORA-01403: no data found, SQL 
    <UPDATE "HR"."DEPARTMENTS" SET "DEPARTMENT_NAME" = :a1,"DML_TIMESTAMP" = :a2 
    WHERE "DEPARTMENT_ID" = :b0 AND "DEPARTMENT_NAME" = :b1 AND "DML_TIMESTAMP" = :b2>
    Operation failed at seqno 3 rba 1740
    Discarding record on action DISCARD on error 1403
    Problem replicating HR.DEPARTMENTS to HR.DEPARTMENTS
    Record not found
    Mapping problem with compressed update record (target format)...
    *
    DEPARTMENT_ID = 
    DEPARTMENT_NAME = Administration7
    DML_TIMESTAMP = 2012-08-16 09:30:04.068000000
    *
    In the source, I have the following files to pararmeter set up:
    Extract LHRDEV1
    DISCARDFILE discard.dsc, PURGE, MEGABYTES 200
    DiscardRollover at 02:00 ON SUNDAY
    TRANLOGOPTIONS EXCLUDEUSER ggs_owner COMPLETEARCHIVEDLOGTIMEOUT 600
    USERID GGS_OWNER@ORA11SRC, PASSWORD g
    ExtTrail dirdat/L1
    TABLE HR.DEPARTMENTS, GETBEFORECOLS (ON UPDATE KEYINCLUDING (DML_TIMESTAMP), ON DELETE KEYINCLUDING (DML_TIMESTAMP));
    
    
    Replicat RHRDEV1
    DISCARDFILE ./dirrpt/rhrdev1_discards.dsc, APPEND, MEGABYTES 100
    DISCARDROLLOVER at 02:00 ON SUNDAY
    USERID GGS_OWNER@ORA11SRC, PASSWORD g
    ASSUMETARGETDEFS
    REPERROR (DEFAULT, DISCARD)
    MAP HR.DEPARTMENTS, Target HR.DEPARTMENTS, COMPARECOLS (ON UPDATE KEYINCLUDING (DML_TIMESTAMP), ON DELETE KEYINCLUDING (DML_TIMESTAMP)), &
    RESOLVECONFLICT (UPDATEROWEXISTS, (DEFAULT, USEMAX (DML_TIMESTAMP))), &
    RESOLVECONFLICT (INSERTROWEXISTS, (DEFAULT, USEMAX (DML_TIMESTAMP))), &
    RESOLVECONFLICT (DELETEROWEXISTS, (DEFAULT, OVERWRITE)), &
    RESOLVECONFLICT (UPDATEROWMISSING, (DEFAULT, OVERWRITE)), &
    RESOLVECONFLICT (DELETEROWMISSING, (DEFAULT, DISCARD));
    In the target, I have the following files to pararmeter set up:
    Note: Exactly like the Source except the DB in USERID connection
    Extract LHRDEV1
    DISCARDFILE discard.dsc, PURGE, MEGABYTES 200
    DiscardRollover at 02:00 ON SUNDAY
    TRANLOGOPTIONS EXCLUDEUSER ggs_owner COMPLETEARCHIVEDLOGTIMEOUT 600
    USERID GGS_OWNER@ORA11TRG, PASSWORD g
    ExtTrail dirdat/L1
    TABLE HR.DEPARTMENTS, GETBEFORECOLS (ON UPDATE KEYINCLUDING (DML_TIMESTAMP), ON DELETE KEYINCLUDING (DML_TIMESTAMP));
    
    
    Replicat RHRDEV1
    DISCARDFILE ./dirrpt/rhrdev1_discards.dsc, APPEND, MEGABYTES 100
    DISCARDROLLOVER at 02:00 ON SUNDAY
    USERID GGS_OWNER@ORA11TRG, PASSWORD g
    ASSUMETARGETDEFS
    REPERROR (DEFAULT, DISCARD)
    MAP HR.DEPARTMENTS, Target HR.DEPARTMENTS, COMPARECOLS (ON UPDATE KEYINCLUDING (DML_TIMESTAMP), ON DELETE KEYINCLUDING (DML_TIMESTAMP)), &
    RESOLVECONFLICT (UPDATEROWEXISTS, (DEFAULT, USEMAX (DML_TIMESTAMP))), &
    RESOLVECONFLICT (INSERTROWEXISTS, (DEFAULT, USEMAX (DML_TIMESTAMP))), &
    RESOLVECONFLICT (DELETEROWEXISTS, (DEFAULT, OVERWRITE)), &
    RESOLVECONFLICT (UPDATEROWMISSING, (DEFAULT, OVERWRITE)), &
    RESOLVECONFLICT (DELETEROWMISSING, (DEFAULT, DISCARD));
    There's a trigger activated on the table on the two dbs as follows:
    CREATE OR REPLACE TRIGGER HR.set_DEPART_dmltstmp
    BEFORE UPDATE
    ON HR.DEPARTMENTS 
    REFERENCING NEW AS New OLD AS Old
    FOR EACH ROW
    BEGIN
     IF SYS_CONTEXT ('USERENV', 'SESSION_USER') != 'GGS_OWNER' THEN
       :NEW.DML_TIMESTAMP := SYSTIMESTAMP;
     END IF;
    END;
    /
    I'm working on version 11g R2 of GG.

    Thanks in advance.

    You forgot to "TRANDATA ADD" logging PK on the target. You did on the source but just forgot to do it on the target. Here's how I know:

    1 it s 1403 - no data found. Usually a question of extra newspaper.
    2. rejects the shows:
    DEPARTMENT_ID =

    I guess it would be all or part of a PK. No additional data not connecting...

    Good luck
    -joe

  • create the database fails with ORA-27102 - not enough memory

    Hello

    I have server Solaris 10 with 16 GB of ram. On that, there are 10 databases (8 of them 9.2.0.7 and 2 of them 10.2.0.4) running - but they have a small LVO-300 mb each (about even smaller 200 MB or more). Now, I have to create two more data on this database. When I try to create the db, it fails with the error:

    Connect to an instance is idle.
    ORA-27102: out of memory
    SVR4 error: 22: invalid argument

    And the journal of alerts meesages as below:
    Starting ORACLE instance (normal)
    Tue May 26 07:37:39 2009
    WARNING: EINVAL creation of segment size 0 x 0000000029002000
    Difficulty shm parameters in/etc/System or equivalent

    See also the output of this command:

    prctl - n Project.Max - shm-memory - i user.root of the project
    project: 1: user.root
    NAME PRIVILEGE VALUE FLAG ACTION BENEFICIARY
    Project.Max - shm-memory
    3.92 GB privilege - deny-
    system 16.0EB max deny-

    Now, I tried to change that with this command (as suggested in the installation guide):
    prctl - n v Project.Max - shm-memory - 8 GB - r-i user.root of the project

    but I still don't have the same error. So I refer to Metalink document 399895.1. It is said that manually change the settings in/etc/System. This requires a reboot and I had prior to do this restart tomorrow. But my question is: what are the values that I should put in this file? + as suggested in the note, if I put the values below? -

    For example, a value of the sample (mentioned in the note) are: for entry system/etc/setting SHMMAX = 6 GB.

    Set shmsys:shminfo_shmmax = 6442450944
    Set semsys:seminfo_semmni = 1024
    Set semsys:seminfo_semmsl = 1024
    Set shmsys:shminfo_shmmni = 100

    or should I put some other values (for all parameters as semmni, semmsl etc.)? I missed that I should be by specifying values.

    Thank you

    Published by: orausern on May 26, 2009 07:24

    Published by: orausern on May 26, 2009 07:27

    I'm not a Unix system administrator, but I think that your steps are correct - pl check with your Unix system administrator

    Srini

  • Windows 7 clean install fails with ACPI.sys and error blue screen stop: 0x0000007E.

    I'm trying to do a clean install of windows 7 Professional (32-bit) on my laptop ASUS X61SL. Initially there was Vista Home Premium (32-bit) running on this laptop.

    After the start of the boot and windows 7 by loading files and starting windows comes the blue screen saying:

    STOP: 0x0000007E (0xC0000420, 0x8EB256C6, 0x8A386640; ox8A386170)
    ACPI.sys - address 8EB256C6 base at 8EAD7000, Datestamp 4CE78F21
    I tried an update of the BIOS already and a full erase of the disk which has been recommended by the ASUS support. Nothing worked, and not even the ASUS support has other ideas how to get Windows 7 to run.

    OK, how much RAM have you?

    I found this information:

    However, I remembered seeing something on the Internet about Microsoft 64-bit being unhappy with 4 GB of ram during the installation process of the systems... .then I got 2 GB of ram and the installation went OK! I will give the memory later.

    Source:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-windows_install/a-clean-install-of-win-7-fails-with-acpisys-and/edca086c-D798-4b78-805d-301dcc8535a0

    I know - you try to install the Win7 SP1 32 bit only, but you can try it.

    LC

  • InitialLdapContext fails with Java 6 and 7

    I work with GSSAPI successfully with JAVA 5. With JAVA 6 and 7 of the InitialLdapContext call fails with the following stacktrace:

    > > > KRBError:
    sTime is Fri 14 Jun 13:40:01 CEST 2013 1371210001000
    suSec is 948732
    error code is 7
    Error message is that server not found in the Kerberos database
    Realm is DE.XXX.NET
    sName is ldap/yyy.de.xxx.net
    msgType is 30
    KrbException: Server not found in the Kerberos database (7)
    to sun.security.krb5.KrbTgsRep. < init >(Unknown Source)
    at sun.security.krb5.KrbTgsReq.getReply (unknown Source)
    at sun.security.krb5.KrbTgsReq.sendAndGetCreds (unknown Source)
    at sun.security.krb5.internal.CredentialsUtil.serviceCreds (unknown Source)
    at sun.security.krb5.internal.CredentialsUtil.acquireServiceCreds (unknown Source)
    at sun.security.krb5.Credentials.acquireServiceCreds (unknown Source)
    at sun.security.jgss.krb5.Krb5Context.initSecContext (unknown Source)
    at sun.security.jgss.GSSContextImpl.initSecContext (unknown Source)
    at sun.security.jgss.GSSContextImpl.initSecContext (unknown Source)
    at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge (unknown Source)
    at com.sun.jndi.ldap.sasl.LdapSasl.saslBind (unknown Source)
    at com.sun.jndi.ldap.LdapClient.authenticate (unknown Source)
    at com.sun.jndi.ldap.LdapCtx.connect (unknown Source)
    to com.sun.jndi.ldap.LdapCtx. < init >(Unknown Source)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL (unknown Source)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs (unknown Source)
    at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance (unknown Source)
    at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext (unknown Source)
    at javax.naming.spi.NamingManager.getInitialContext (unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx (unknown Source)
    at javax.naming.InitialContext.init (unknown Source)
    to javax.naming.ldap.InitialLdapContext. < init >(Unknown Source)
    in kerberos. UserRoles2.getUserRoles (UserRoles2.java:27)
    in kerberos. Server$ 2.Run(Server.Java:240)
    in kerberos. Server$ 2.Run(Server.Java:1)
    at java.security.AccessController.doPrivileged (Native Method)
    at javax.security.auth.Subject.doAs (unknown Source)
    in kerberos. Server.getRoles (Server.java:233)
    in kerberos. Server.main (Server.Java:95)
    Caused by: KrbException: identifier does not match value expected (906)
    at sun.security.krb5.internal.KDCRep.init (unknown Source)
    at sun.security.krb5.internal.TGSRep.init (unknown Source)
    to sun.security.krb5.internal.TGSRep. < init >(Unknown Source)
    ... more than 29

    Problem research directory: javax.naming.AuthenticationException: GSSAPI [root exception is javax.security.sasl.SaslException: Insider GSS failed [caused by GSSException: no information provided valid identification (level mechanism: server not found in the Kerberos database (7))]]

    Does anyone has an idea what is going wrong at Java 6 or 7?

    The ktab file is created with the tool of a JRE version 7 ktab.

    "c:\Program Files\Java\jre7\bin\ktab.exe" - a [email protected] password my.keytab - n 0 k

    "c:\Program Files\Java\jre7\bin\ktab.exe" - a Service/[email protected] password my.keytab - n 0 k

    Active directory in Windows server 2008

    Don't forget: if I use Java 5, the call to InitialLdapContext works as expected.

    Thanks in advance

    Michael

    The problem is resolved.

    I used an alias in dns for the ldap_url property name. In Java 1.5, the dns alias name has been resolved to the real dns name. It can't even solve it in Java 1.6 and 1.7.

    A real dns name change solved the problem.

  • expdp fails with error ORA-39006: internal error written on a windows share

    Hello!
    I need to get the job of following configuration:
    Linux (CentOS 5 32-bit) with Oracle 11.2.0.1.0 Server
    Windows Server 2003 32-bit SP2.
    On the windows server, I created a user called oracle, who is a member of the groups oinstall and dba. (User name of Linux, and group membership is the same).
    After this, I share a directory on D:\data_pump (I gave full control of the directory of the oracle user). I mount the disk windows on my Linux box as follows:
    Mount-t cifs //winserver/data_pump/u04/oradata/data_pump o = oracle user password = "pass", uid = oracle, gid = oinstall
    As the oracle linux user I am able to create and edit files, but:
    I cannot connect to my database, create the directory called DATA_PUMP pointing to my cifs mount point, and after that, I run the following expdp sentence:
    expdp system DIRECTORY = DATA_PUMP DUMPFILE = test4.dmp LOGFILE = test4.log FULL = yes

    And I get the following error:
    ORA-39006: internal error

    In looking at expdp journal I found the following information:
    ORA-39097: Data Pump job encountered the error unexpected-31643
    ORA-39065: exception unexpected master process in FILE
    ORA-31643: cannot close the dump file ' / u04/oradata/data_pump/gaston4.dmp '.
    ORA-19510: unable to set the size of the blocks of 1 for the file ' / u04/oradata/data_pump/gaston4.dmp ' (block size = 4096)
    ORA-27045: cannot close the file
    Linux error: 5: input/output error
    Additional information: 4

    Do you have any suggestions?

    Thanks in advance.

    Hi, I see metalink:
    Bug 8313127: EXPORT EXPDP CIFS MOUNT ON WINDOWS FROM LINUX FAILS
    http://KR.forums.Oracle.com/forums/thread.jspa?threadID=923398

Maybe you are looking for

  • IPhone 7 from the US to Europe

    HI. Can someone tell me witch model of Iphone 7 can I buy U.S. (no carrier) and be able to use it in Europe (countries)? Thank you.

  • e: e

    ..

  • Office Jet 4680 and windows 8

    Please inform me if the office jet 4680 is compatiable with windows 8.  I looked for this printer information and sees no Windows 8.  I just bought a new HP Pavilion, and of course, you have no choice with the software, it comes with as well a person

  • DNS probe finished no internet

    While trying to use the internet, I get the message 'dns probe finished no internet' I looked at other patches, but none are for Windows Vista.  Can anyone help please?  The absence of internet connection is driving me crazy!  Thank you

  • When you try to uninstall I get window Question

    The States of window "this toolbar is running Please quit the application and click Yes" question How can I determine which toolbar is running and and what application is running so that I have out there