ORA-01843 and ORA-02291 when installing AIA 2.0 on Linux server

Hello,
When installing AIA 2.0 on a RHEL 4.7 Linux server, even if OUI does say the installion is successful, the installActions log are not that good...
We've got some ORA-01843 and ORA-02291 errors when running the createDiagnosticsCAVSData.sql.
[exec] createBSRIntegScenarioTables:
[exec] [echo] ----Creating createCAVSTables--------------
[exec] [sql] Executing resource: /exec/applis/tbaia/products/AIA/seeddata/DatabaseObjects/createBSRIntegScenarioTables.sql
[exec] [sql] 152 of 152 SQL statements executed successfully
[exec]
[exec] createDiagnosticsCAVSData:
[exec] [echo] ----Creating createCAVSTables--------------
[exec] [sql] Executing resource: /exec/applis/tbaia/products/AIA/seeddata/DatabaseObjects/createDiagnosticsCAVSData.sql
[exec] [sql] Failed to execute: Insert into CAVS_DEFINITIONS (DEFINITION_ID,TYPE,DESCRIPTION,STATE,SERVICE_TYPE,URL_WSDL,URL_ENDPOINT,SOAP_ACTION,SOAP_TRANSPORT_TYPE,MESSAGE_REQUEST,MESSAGE_RESPONSE,DELAY,VERSION,PROJECT_NAME,PROJECT_VERSION,EBS_NAME,EBS_VERSION,PROCESS_NAME,PROCESS_VERSION,SERVICE_NAME,SERVICE_VERSION,MESSAGE_NAME,MESSAGE_VERSION,PIP_NAME,PIP_VERSION,APPLICATION_NAME,APPLICATION_VERSION,TEST_PRIORITY,REFERENCE_ID_EXTERNAL,AUDITED_ON,AUDITED_BY) values (501,'Test','BPEL Transformation Diagnostics','Unlocked','Synchronous',null,'http://dvedvb40:7777/orabpel/default/AIADiagnosticsTransformBpelProcess/1.0','process','HTTP','<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body xmlns:ns1="http://xmlns.oracle.com/BRM/schemas/BusinessOpcodes"> <ns1:PCM_OP_BILL_DEBIT_inputFlist> <ns1:BAL_GRP_OBJ>Test</ns1:BAL_GRP_OBJ> <ns1:DEBIT elem="523"> <ns1:BAL_OPERAND>1000</ns1:BAL_OPERAND> <ns1:TYPE>881</ns1:TYPE> </ns1:DEBIT> <ns1:DESCR>Sample Input</ns1:DESCR> <ns1:END_T>2007-07-31T12:00:00.000+5:30</ns1:END_T> <ns1:POID>A123</ns1:POID> <ns1:PROGRAM_NAME>100</ns1:PROGRAM_NAME> <ns1:SERVICE_OBJ>NA</ns1:SERVICE_OBJ> <ns1:SESSION_OBJ>NA</ns1:SESSION_OBJ> <ns1:START_T>2007-07-31T11:00:00.000+5:30</ns1:START_T> <ns1:STR_VERSION>527</ns1:STR_VERSION> <ns1:STRING_ID>528</ns1:STRING_ID> <ns1:SUB_BALANCES elem="530"> <ns1:CONTRIBUTOR_STR>Diagnostics</ns1:CONTRIBUTOR_STR> <ns1:ROLLOVER_DATA>1</ns1:ROLLOVER_DATA> <ns1:VALID_FROM>2007-07-31T11:00:00.000+5:30</ns1:VALID_FROM> <ns1:VALID_TO>2007-07-31T11:00:00.000+5:30</ns1:VALID_TO> </ns1:SUB_BALANCES> </ns1:PCM_OP_BILL_DEBIT_inputFlist> </soap:Body> </soap:Envelope>','<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header/> <env:Body> <PCM_OP_BILL_DEBIT_outputFlist xmlns:ns0="http://xmlns.oracle.com/BRM/schemas/BusinessOpcodes" xmlns="http://xmlns.oracle.com/BRM/schemas/BusinessOpcodes"> <ns0:POID>Transformed POID value : A123</ns0:POID> <ns0:RESULTS elem="Transformed Element value : 523"/> </PCM_OP_BILL_DEBIT_outputFlist> </env:Body> </env:Envelope>',null,0,null,null,null,null,'Diagnostics Transformation',null,'DiagTransformationBPEL','1.0',null,null,'AIA Diagnostics',null,null,null,null,null,to_date('01-OCT-07','DD-MON-RR'),'oc4jadmin')
[exec] [sql] java.sql.SQLException: ORA-01843: not a valid month
[exec] [sql] Failed to execute: Insert into CAVS_DEFINITION_NSXPATHS (DEFINITION_ID,NAMESPACE_ALIAS,NAMESPACE) values (501,'env','http://schemas.xmlsoap.org/soap/envelope/')
[exec] [sql] java.sql.SQLException: ORA-02291: integrity constraint (AIA.DEFINITION_NSXPATHS_D_FK) violated - parent key not found
[exec] [sql] *1 of 43 SQL statements executed successfully*
Any advice to solve this issue?
Thanks in advance.
Regards,
K.
Edited by: KaRiNe_Fr on 3 juin 2009 01:55 createDiagnosticsCAVSData.sql instead of createBSRIntegScenarioTables.sql...

Hello,
me again...
Is this table CAVS_DEFINITIONS important to be populated for the rest of the AIA installation?
The installation keeps on failing and it is a real issue for us...
If of any use, here are some results from SQL requests onto our AIA database:
SQL> SELECT * FROM NLS_DATABASE_PARAMETERS ;
PARAMETER VALUE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET WE8ISO8859P15
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD.MM.YYYY
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
PARAMETER VALUE
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_RDBMS_VERSION 10.2.0.4.0
20 rows selected.
SQL> select to_date('01-OCT-07','DD-MON-RR') from dual;
TO_DATE('
01-OCT-07
Regards,
KaRiNe.
Edited by: KaRiNe_Fr on 3 juin 2009 01:59

Similar Messages

  • Windows-like path when installing AIA 2.0 on Linux server

    Hello,
    When installing AIA 2.0 on a RHEL 4.7 Linux, I can see those strange lines into the installActions logs:
    [exec] bsrPublishShippedIntegScen:
    [exec] [exec] 28 mai 2009 09:13:45 oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
    [exec] [exec] INFO: oracle.adf.share.config.ADFConfigFactory Reading META-INF/adf-config.xml
    [exec] [exec] Node Name: xmlns:xsi
    [exec] [exec] Node Value: http://www.w3.org/2001/XMLSchema-instance
    [exec] [exec] Node Name: xsi:noNamespaceSchemaLocation
    [exec] [exec] Node Value: C:\Documents and Settings\rsankara\My Documents\Adaptive Business Solutions\Architecture\ABS Architecture Advisory Board\Templates\Services\AIAIntegrationScenarioProvider.xsd
    [exec] [exec] Node Name: xmlns:xsi
    [exec] [exec] Node Value: http://www.w3.org/2001/XMLSchema-instance
    [exec] [exec] Node Name: xsi:noNamespaceSchemaLocation
    [exec] [exec] Node Value: C:\Documents and Settings\rsankara\My Documents\Adaptive Business Solutions\Architecture\ABS Architecture Advisory Board\Templates\Services\AIAIntegrationScenarioProvider.xsd
    [exec] [exec] Node Name: xmlns:xsi
    [exec] [exec] Node Value: http://www.w3.org/2001/XMLSchema-instance
    [exec] [exec] Node Name: xsi:noNamespaceSchemaLocation
    [exec] [exec] Node Value: C:\Documents and Settings\rsankara\My Documents\Adaptive Business Solutions\Architecture\ABS Architecture Advisory Board\Templates\Services\AIAIntegrationScenarioRequestor.xsd
    [exec] [exec] oracle.apps.aia.bsr.integscenario.NoWsdlServiceFound: No wsdl service found: AccountBalanceAdjustmentEBS/CreateAccountBalanceAdjustmentList
    [exec] [exec]      at oracle.apps.aia.bsr.integscenario.RequesterEBS.getWSDLService(Unknown Source)
    [exec] [exec]      at oracle.apps.aia.bsr.integscenario.RequesterEBS.processEBS(Unknown Source)
    [exec] [exec]      at oracle.apps.aia.bsr.integscenario.RequesterConnector.processConnector(Unknown Source)
    [exec] [exec]      at oracle.apps.aia.bsr.integscenario.RequesterTrigger.processTrigger(Unknown Source)
    [exec] [exec]      at oracle.apps.aia.bsr.integscenario.RequesterApplication.processApplication(Unknown Source)
    [exec] [exec]      at oracle.apps.aia.bsr.integscenario.RequesterScenarios.processScenarios(Unknown Source)
    How can it be possible? :-/
    Thanks in advance.
    K.

    Thanx Marc. ^^
    For now, we want to use the SOA Suite with our BRM 7.3.1 instance, without upgrading to 7.4.
    It's why we are still using the AIA for Comms 2.0.1.
    Someone else succeeding in the installation of 2.0.1 on a similar Linux machine did see those same strange Windows-like paths... it seems not to be a real issue then.
    Regards,
    KaRiNe.
    Edited by: user10975061 on 28 mai 2009 07:10

  • ORA-01180 and ORA-01110 error when restoring database by RMAN in 11.1.0.6.0

    I have a new installed database running in ARCIHVELOG mode on SUSE 10SP3. Catalog is not used. When I try to restore the database from a level 0 backup based on SCN, ORA-01180 and ORA-01110 were raised out today. Please help me through this. Thx. The senario follows:
    1. I got the current SCN by "select dbms_flashback.get_system_change_number from dual". Say it's 12345;
    2. I did a level 0 hot backup with current control file, archived logs and parameter files. Everything went well;
    3. Some other DMLs are applied to the database;
    4. I want to do a SCN-based incomplete recovery for this database to SCN 12345. Then I
    1) shutdown immediate;
    2) startup nomount;
    3) restore the control file from backupset;
    5) startup mount;
    6) catalog start with "[backupset path]";
    7) restore database until scn 12345.
    Just at step 4.7, ORA-01180 and ORA-01110 were raised out, saying cannot create data file 1. Note: Backup files are existing and file permissions are all OK.
    Then I issues "list incarnation of database". There is just one record with incarnation id 1.
    So I queried v$log_history, found serveral record there. The most recent one has NEXT_SCN later than 12345, say 12400. Then I tried to restore database until this SCN. It WORKED! The restore and recovery succeeded.
    My questions are:
    1. Why cannot I restore the database to a previous SCN, say 12345, but 12400 is OK?.
    2. If the database was RESETLOG prior to my recovery, should I reset database to the incarnation where I took my backup? What can I do if there is no that incarnation information in my control file?
    Waiting for your suggestion.

    Hi guys. There is one update.
    This issue is caused by the incorrect SCN vs. backup set. I got this SCN before the backup started. According to Oracle docs, it's not allowed for an SCN based recovery.
    Now, I changed the sequence of my operations, so that SCN is got once backup is done, which is exact the "most recent sequence# and least SCN" mentioned by some thread in this forum. It works now.
    Anyone could explain why the SCN got prior to the level 0 backup is not recognized by restore/recovery phase? Thanks.

  • ORA-00604 and ORA-12705 when adding datasource in Mapviewer

    Hi,
    I am trying to add a datasource using standalone OC4J Mapviewer and I'm having some problems.
    I'm using Oracle8i on Windows 2000 Server. Windows 2000 is in Spanish.
    When I add the datasource I get the following XML error
    <?xml version="1.0" encoding="UTF-8" ?>
    <oms_error>Message:[MapperConfig] no se puede agregar el origen de datos de mapa. Wed Oct 12 21:29:58 ART 2005 Severity: 0 Description: at oracle.lbs.mapserver.core.MapperConfig.addMapDataSource(MapperConfig.java:528) at oracle.lbs.mapserver.MapServerImpl.addMapDataSource(MapServerImpl.java:308) at oracle.lbs.mapserver.oms.addDataSource(oms.java:937) at oracle.lbs.mapserver.oms.doPost(oms.java:329) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534)</oms_error>
    The part in spanish means: Map Datasource cannot be added.
    In the console I get ORA-00604 and ORA-12705
    I know that ora-12705 has something to do with NLS_LANG.
    I put the following query in sql*plus:
    select *
    from v$nls_parameters
    where parameter in ('NLS_LANGUAGE', 'NLS_TERRITORY', 'NLS_CHARACTERSET');
    And got AMERICAN.AMERICA.WE8ISO8859P1
    I also changed the NLS_LANG variables in the registry to the same characterset. (One of them was in spanish characterset).
    I don't know what else to do! Pleas help!

    Yes, you are in the wrong forum, but it sounds like you have your environment variable (or registry entry) for ORA_NLS33 pointing at the wrong directory.
    Steve

  • ORA-03113 and ORA-03114 problems

    Hi,
    I'm experimenting Oracle8i. I'm installing 8.1.7 to RedHat Linux 7.0 out of box without recompiling the kernel. I set the SHMMAX to 0.5*258MB memory on the machine by echoing the number to /proc/sys/kernel/shmmax.
    I checked that the system meets the requirements of Oracle's Installation Guide except SEMOPM. The RedHat Linux 7.0 sets it to 32, but Oracle requires 100.
    I chose Oracle8i EE Typical Installation. The installation was ok to the point of running root.sh. Several syntax errors occur from root.sh. But they are minor syntax errors. I checked the code, regardless of errors, the scripts accomplished what it intends to do. The installation continued. I choose automatic configure Net8 when it ran Net8 Configuration Assistant and the Net8 Configuration was completed successful.
    When it started Oracle Database Configuration Assistant, it created a database. But when it initialized the database, error messages ORA-03114 and ORA-03113 appeared many times. Each time, I chose to ignore. The final message was "Database creation completed with warnings."
    After installation, I ran svrmgrl
    $svrmgrl
    SVRMGR> connect INTERNAL
    Connected.
    SVRMGR> startup
    ORA-03113 end-of-file on communication channel
    Checking the meaning of error messages, it says that if ORA-03113 occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server.
    During installation, I chose Local naming method. There are following files in $ORACLE_HOME/network/admin/
    listener.ora
    sqlnet.ora
    tnsnames.ora
    shrept.lst
    To my layman's eye, they looked ok. I can even telnet to the linux machine with database name, although I don't know how the machine has acquired the alias without any changes to /etc/named.conf nor any changes to any files in /var/named directory.
    Please tell me what is correctly installed Net8? or what went wrong and how I should fix the problem.
    Thanks,
    Wayne
    null

    I seem to have 8.1.7 creating a database with RH Linux 7.1 now. This was an important clue, since 7.1 hiccups 65% into the link phase of installation, thereby requiring the stubs patch to be run at that time, whereas 7.0 runs quite happily through the install & link without using the patch.
    HOWEVER... before invoking dbassist to create the database under 7.1, you apparently need to export ASSUME_LD_LIBRARY = 2.2.5, etc., again, as you would do for the first time installing under RH 7.0.
    null

  • ORA-604 and ORA-4031 during installation of SAP

    Hi,
    I tried to install Oracle 10.2.0.2 on Windows 2003 with SAP R3E 47X2.
    However, during the installation on the Database Load phases it pops up a ORA-604 and ORA-4031 error log. It was unable to completed the Database Load phase showed as R3 load jobs: running 1, waiting 0.
      I tried to set the share pool in init.ora as shared_pool_size = 40000000. It still show up as shared memory issue.
    The log shows as,
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: START OF LOG: 20081201110818
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#12 $ SAP
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: version R6.40/V1.4 [UNICODE]
    Compiled Dec 15 2005 22:22:21
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe -dbcodepage 4103 -i C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\ORA\UC\DB/SAPSSEXC.cmd -l C:\Program Files\sapinst_instdir\R3E47X2\SYSTEM\ABAP\ORA\UC\DB/SAPSSEXC.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    DbSl Trace: Failed to register client info: orc=604
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    DbSl Trace: Error in exec_immediate()
    DbSl Trace: ORA-604 occurred when executing SQL statement (parse error offset=15)
    (DB) ERROR: DDL statement failed
    (TRUNCATE TABLE "DYNPSOURCE")
    DbSlExecute: rc = 99
      (SQL error 604)
      error message returned by DbSl:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-04031: unable to allocate 4120 bytes of shared memory ("shared pool","select user#,type# from user...","Typecheck","kgghteInit")
    (DB) INFO: disconnected from DB
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: END OF LOG: 20081201110858
    Could anyone help me about it?
    Thanks.

    hi Nikhuj,
    I reset the installation and however endup the installation still have an error. Please help me to check with the following:
    SQL> connect system
    Enter password:
    ERROR:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04031: unable to allocate 4120 bytes of shared memory ("shared
    pool","select ts#,file#,block#,nvl(...","Typecheck","kgghtInit")
    SQL> show parameters shared_pool;
    NAME                   TYPE     VALUE
    shared_pool_reserved_size   big integer 12881756
    shared_pool_size         big integer 124M
    SQL> alter system set shared_pool_size=40000000;
    alter system set shared_pool_size=40000000
    ERROR at line 1:
    ORA-02097: parameter cannot be modified because specified value is invalid
    ORA-04034: unable to shrink pool to specified size
    As I had changed the parameter in initsmpl.ora shared pool from 10000000 to 40000000. The log as below was showing that:
    SAPAPPL1.log:
    Error accessing package DBMS_APPLICATION_INFO
    Connected.
    (IMP) INFO: import of LXE_PPX__1 completed (1 rows) #20081201200124
    (DB) INFO: LXE_PPX__1~0 created #20081201200124
    DbSl Trace: Error in exec_immediate()
    DbSl Trace: ORA-604 occurred when executing SQL statement (parse error offset=34)
    (DB) ERROR: DDL statement failed
    (CREATE  INDEX "LXE_PPX__1~CNT" ON "LXE_PPX__1" ( "T_LANG" , "S_LANG" ,
    "DOMATYP" , "DOMANAM" , "USAGECNT"  ) TABLESPACE PSAPIDE STORAGE (INITIAL 0 NEXT
    0000010240K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) )
    DbSlExecute: rc = 99
      (SQL error 604)
      error message returned by DbSl:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-04031: unable to allocate 4120 bytes of shared memory ("shared pool","CREATE
    UNIQUE INDEX "PA0399~...","Typecheck","kgghteInit")
    (DB) INFO: disconnected from DB
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: END OF LOG: 20081201200129
    SAPAPPL2.log:
    (DB) INFO: TCN2T~0 created #20081201200843
    DbSl Trace: Error in exec_immediate()
    DbSl Trace: ORA-604 occurred when executing SQL statement (parse error offset=0)
    (DB) ERROR: DDL statement failed
    (CREATE TABLE "TCN41" ( "MANDT" VARCHAR2(9) DEFAULT '000' NOT NULL , "PLNAW"
    VARCHAR2(3) DEFAULT ' ' NOT NULL , "PROFIDNETZ" VARCHAR2(21) DEFAULT ' ' NOT NULL
    , "FLG_ERF_H" VARCHAR2(3) DEFAULT ' ' NOT NULL , "ESOKZ" VARCHAR2(3) DEFAULT ' '
    NOT NULL , "EKORG" VARCHAR2(12) DEFAULT ' ' NOT NULL , "KSTAR_FRMD" VARCHAR2(30)
    DEFAULT ' ' NOT NULL , "STEUS_WORK" VARCHAR2(12) DEFAULT ' ' NOT NULL ,
    "STEUS_FRMD" VARCHAR2(12) DEFAULT ' ' NOT NULL , "STEUS_PRIM" VARCHAR2(12)
    DEFAULT ' ' NOT NULL , "KSTAR_COST" VARCHAR2(30) DEFAULT ' ' NOT NULL ,
    "KSTAR_SERV" VARCHAR2(30) DEFAULT ' ' NOT NULL , "STEUS_SERV" VARCHAR2(12)
    DEFAULT ' ' NOT NULL , "DAUNE" VARCHAR2(9) DEFAULT ' ' NOT NULL , "ARBEH"
    VARCHAR2(9) DEFAULT ' ' NOT NULL , "WAERS" VARCHAR2(15) DEFAULT ' ' NOT NULL ,
    "SLWID" VARCHAR2(21) DEFAULT ' ' NOT NULL , "LVARI" VARCHAR2(6) DEFAULT ' ' NOT
    NULL , "INDET" VARCHAR2(3) DEFAULT ' ' NOT NULL , "BUKRS" VARCHAR2(12) DEFAULT '
    ' NOT NULL , "AOB_KEY" VARCHAR2(3) DEFAULT ' ' NOT NULL , "VORNR_DEL" VARCHAR2
    (12) DEFAULT ' ' NOT NULL , "TERKZ" VARCHAR2(3) DEFAULT ' ' NOT NULL , "AUART"
    VARCHAR2(12) DEFAULT ' ' NOT NULL , "WERKS" VARCHAR2(12) DEFAULT ' ' NOT NULL ,
    "DISPO" VARCHAR2(9) DEFAULT ' ' NOT NULL , "RSCHL_OFER" VARCHAR2(18) DEFAULT ' '
    NOT NULL , "RSCHL_OFRD" VARCHAR2(18) DEFAULT ' ' NOT NULL , "RSCHL_UFER"
    VARCHAR2(18) DEFAULT ' ' NOT NULL , "RSCHL_UFRD" VARCHAR2(18) DEFAULT ' ' NOT
    NULL , "RSCHL_OCST" VARCHAR2(18) DEFAULT ' ' NOT NULL , "RSCHL_UCST" VARCHAR2(18)
    DEFAULT ' ' NOT NULL , "GR_PRF_GR" VARCHAR2(12) DEFAULT ' ' NOT NULL ,
    "GR_PRF_NAM" VARCHAR2(36) DEFAULT ' ' NOT NULL , "FHORI" VARCHAR2(9) DEFAULT ' '
    NOT NULL , "NETSTUFE" VARCHAR2(6) DEFAULT '00' NOT NULL , "VAGRP" VARCHAR2(9)
    DEFAULT ' ' NOT NULL , "MSGTY" VARCHAR2(3) DEFAULT ' ' NOT NULL , "AOB_DARST"
    VARCHAR2(3) DEFAULT ' ' NOT NULL , "VRG_DARST" VARCHAR2(3) DEFAULT ' ' NOT NULL ,
    "NO_DISP" VARCHAR2(3) DEFAULT ' ' NOT NULL , "COLKZ_ELEM" VARCHAR2(33) DEFAULT '
    ' NOT NULL , "COLKZ_TEIL" VARCHAR2(33) DEFAULT ' ' NOT NULL , "COLKZ_MLST"
    VARCHAR2(33) DEFAULT ' ' NOT NULL , "COLKZ_DOKU" VARCHAR2(33) DEFAULT ' ' NOT
    NULL , "COLKZ_MAT" VARCHAR2(33) DEFAULT ' ' NOT NULL , "VSPRF" VARCHAR2(21)
    DEFAULT ' ' NOT NULL , "CLASF" VARCHAR2(3) DEFAULT ' ' NOT NULL , "PROFILE_ID"
    VARCHAR2(30) DEFAULT ' ' NOT NULL , "BALK_PROF" VARCHAR2(36) DEFAULT ' ' NOT NULL
    , "KBED" VARCHAR2(3) DEFAULT ' ' NOT NULL , "KKALKR" VARCHAR2(3) DEFAULT ' ' NOT
    NULL , "LSTVAR" VARCHAR2(36) DEFAULT ' ' NOT NULL , "MATKL" VARCHAR2(27) DEFAULT
    ' ' NOT NULL , "MATEXIT" VARCHAR2(3) DEFAULT ' ' NOT NULL , "EKGRP" VARCHAR2(9)
    DEFAULT ' ' NOT NULL , "MATKL_FRMD" VARCHAR2(27) DEFAULT ' ' NOT NULL ,
    "EKGRP_FRMD" VARCHAR2(9) DEFAULT ' ' NOT NULL , "POSNR_MAT" VARCHAR2(12) DEFAULT
    '0000' NOT NULL , "SCHED_END" VARCHAR2(3) DEFAULT ' ' NOT NULL , "SCEND_ACT"
    VARCHAR2(3) DEFAULT ' ' NOT NULL , "NT_SEARCH1" VARCHAR2(6) DEFAULT ' ' NOT NULL
    , "NT_SEARCH2" VARCHAR2(6) DEFAULT ' ' NOT NULL , "NT_SEARCH3" VARCHAR2(6)
    DEFAULT ' ' NOT NULL , "MFLIC" VARCHAR2(9) DEFAULT ' ' NOT NULL , "MEINH_FRMD"
    VARCHAR2(9) DEFAULT ' ' NOT NULL , "MEINH_SERV" VARCHAR2(9) DEFAULT ' ' NOT NULL
    , "KSTAR_MATVORPL" VARCHAR2(30) DEFAULT ' ' NOT NULL , "KZERB" VARCHAR2(3)
    DEFAULT ' ' NOT NULL , "VALID" VARCHAR2(21) DEFAULT ' ' NOT NULL , "VALID_VG"
    VARCHAR2(21) DEFAULT ' ' NOT NULL , "SUBST" VARCHAR2(21) DEFAULT ' ' NOT NULL ,
    "SUBST_VG" VARCHAR2(21) DEFAULT ' ' NOT NULL , "FPART" VARCHAR2(6) DEFAULT ' '
    NOT NULL  ) TABLESPACE PSAPIDE STORAGE (INITIAL 65536 NEXT 0000000040K MINEXTENTS
    0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) )
    DbSlExecute: rc = 99
      (SQL error 604)
      error message returned by DbSl:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-04031: unable to allocate 4040 bytes of shared memory ("shared pool","select
    i.obj#,i.ts#,i.file#,...","Typecheck","seg:kggfaAllocSeg")
    (DB) INFO: disconnected from DB
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: END OF LOG: 20081201200843
    SAPAPPL0.log:
    (DB) INFO: PA0398~0 created #20081201200124
    (DB) INFO: PA0399 created #20081201200124
    (IMP) INFO: import of PA0399 completed (12 rows) #20081201200124
    DbSl Trace: Error in exec_immediate()
    DbSl Trace: ORA-4031 occurred when executing SQL statement (parse error offset=0)
    (DB) ERROR: DDL statement failed
    (CREATE UNIQUE INDEX "PA0399~0" ON "PA0399" ( "MANDT", "PERNR", "SUBTY",
    "OBJPS", "SPRPS", "ENDDA", "BEGDA", "SEQNR" ) TABLESPACE PSAPIDE STORAGE (INITIAL
    0 NEXT 0000000080K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) )
    DbSlExecute: rc = 99
      (SQL error 4031)
      error message returned by DbSl:
    ORA-04031: unable to allocate 4120 bytes of shared memory ("shared pool","CREATE
    UNIQUE INDEX "PA0399~...","Typecheck","kgghteInit")
    (DB) INFO: disconnected from DB
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    E:\usr\sap\IDE\SYS\exe\run/R3load.exe: END OF LOG: 20081201200129

  • ORA-01401 and ORA-12899 : "too large for column" error messages

    I posted this already in the Database - General forum.
    Sorry for the double post.
    For the past 8hours, I have been googling about
    the related ORA-01401 and ORA-12899 error
    messages.
    I noticed that ORA-01401 had been removed from the list
    of error messages in Oracle 10g documentation.
    http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10744/e900.htm#sthref30
    And, ORA-12899 has been added.
    http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10744/e12700.htm
    1. Is there an official Oracle document (e.g. release notes) stating such facts? If so, please provide the link.
    2. Why did Oracle change the error code and not just update ORA-01401?
    3. Someone posted in http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:7143933880166
    Even if installed Oracle is 10g, when he tried to "insert a 100 into a number(2).",
    he supposedly got ORA-01401. So, is ORA-01401 still part of 10g or not?
    I have yet to confirm this myself.
    Sorry for being meticulous. Our customer just wants to know the
    information for the 2nd question. It's hard to convince them without
    showing official documents.
    Thanks!

    1)
    Well, go to Metalink and check out Note 119119.1 (B.4) and Note:287754.1
    2)
    Such details are seldom published. One guess is what they changed altered the reason behind the message so using the same code would be a bad idea.
    3)
    If you are referring to the occurrence of ora-1401 from a select on a XE db, that may be a bug.

  • Ora 600 and ora 7445 error in oracle 10g r2

    hi all,
    we are using Oracle 10g r2.
    os is windows 2003 server,
    ram is 4 gb.
    front end is java .
    we got a below mentioned errors.
    i got the RA-00600: internal error code, arguments: [qerghFetch:inc], [], [], [], [], [], [], [],
    and ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [unable_to_trans_pc] [PC:0x61F04AC9] [ADDR:0xC] [UNABLE_TO_READ] []
    and Error 0 in kwqmnpartition(), aborting txn errors.
    for aug 3 11.42.47 we got a ora 600 error after that through front end (java) users can't able to connect the database.the not able to executed the query session disconnected error.
    what is reason for theis error . how it will rectifiy.?
    pls advice.Below i attached the alret log message .
    Sun Aug 02 04:04:24 2009
    Error 0 in kwqmnpartition(), aborting txn
    Sun Aug 02 05:48:10 2009
    Error 0 in kwqmnpartition(), aborting txn
    Sun Aug 02 05:49:10 2009
    Error 0 in kwqmnpartition(), aborting txn
    Sun Aug 02 07:38:49 2009
    Thread 1 advanced to log sequence 1732
    Current log# 3 seq# 1732 mem# 0: E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG
    Sun Aug 02 07:44:14 2009
    Error 0 in kwqmnpartition(), aborting txn
    Sun Aug 02 07:45:14 2009
    Error 0 in kwqmnpartition(), aborting txn
    Sun Aug 02 22:00:26 2009
    Thread 1 advanced to log sequence 1733
    Current log# 1 seq# 1733 mem# 0: E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG
    Mon Aug 03 07:08:15 2009
    Thread 1 advanced to log sequence 1734
    Current log# 2 seq# 1734 mem# 0: E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG
    Mon Aug 03 09:28:23 2009
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Mon Aug 03 09:30:27 2009
    Error 0 in kwqmnpartition(), aborting txn
    Mon Aug 03 11:42:47 2009
    Errors in file e:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_6012.trc:
    ORA-00600: internal error code, arguments: [qerghFetch:inc], [], [], [], [], [], [], []
    Mon Aug 03 13:20:00 2009
    Thread 1 advanced to log sequence 1735
    Current log# 3 seq# 1735 mem# 0: E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG
    Mon Aug 03 16:07:07 2009
    Errors in file e:\oracle\product\10.2.0\em_2\rdbms\trace\orcl_ora_4756.trc:
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [unable_to_trans_pc] [PC:0x61F04AC9] [ADDR:0xC] [UNABLE_TO_READ] []
    Mon Aug 03 16:07:11 2009
    Process m000 died, see its trace file
    Mon Aug 03 16:07:11 2009
    ksvcreate: Process(m000) creation failed
    Mon Aug 03 16:08:37 2009
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Mon Aug 03 16:10:40 2009
    Error 0 in kwqmnpartition(), aborting txn
    Mon Aug 03 17:25:05 2009
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Mon Aug 03 17:27:11 2009
    Error 0 in kwqmnpartition(), aborting txn
    Mon Aug 03 17:32:19 2009
    Error 0 in kwqmnpartition(), aborting txn
    Mon Aug 03 17:33:24 2009
    Error 0 in kwqmnpartition(), aborting txn
    Mon Aug 03 18:52:08 2009
    Error 0 in kwqmnpartition(), aborting txn
    Mon Aug 03 18:54:09 2009
    Error 0 in kwqmnpartition(), aborting txn
    Mon Aug 03 19:05:33 2009
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Mon Aug 03 19:09:02 2009
    Errors in file e:\oracle\product\10.2.0\em_2\rdbms\trace\orcl_ora_5132.trc:
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [unable_to_trans_pc] [PC:0x7C34126B] [ADDR:0x0] [UNABLE_TO_WRITE] []
    Mon Aug 03 19:10:27 2009
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn
    Error 0 in kwqmnpartition(), aborting txn

    Hi reshumakur
    As this is your PRODUCTION system THEN_ The best help to offer in case of ORA-600, and ORA-7445 is to open SR with metalink. Submit with the SR the following
    1- Alert log
    2- Trace files (in ur case e:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_6012.trc: and e:\oracle\product\10.2.0\em_2\rdbms\trace\orcl_ora_4756.trc:)
    3- Describe what was happening when you had these errors.
    Try to avoid free help when you have ORA-600 and ORA-07445. This errors could be becuase of BUGS. Oracle Support will know this from the call stack in the trace file.
    Then Do your best to patch 10.2.0.4 and the latest CPU patch.
    Good Luck

  • OBIA- Connection Problems ORA-00604 and ORA-02248

    Hi,
    i have an installation OBI Server, Presentation Services, and Scheduler on RH Linux 64Bit, Oracle 11 DB, OBI Admin on Win xp,
    in online mode when i try import from Database i got following errors:ORA-00604 and ORA-02248
    but i can Create ibots and i see with sqlplus the created ibots in the DB.
    have anyone an idea, why the scheduler can read and write in the DB, but i cant read via Admintool, i try to connect the same db)
    Thx

    can you connect from Windows box using SQLPLUS? yes i can connect
    are you using native connection in Admin tool or ODBC? I try to use Native (OCI) to connect the Oracle DB
    check the above to eliminate the connectivity issues.

  • ORA-01031, ORA-01034 and ORA-27101 .....very urgent pls help.

    After I installed Oracle 8i Enterprise Edition on Win XP, default datanase was not creates so i tried manually creating it but it flashed this error while logging.
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\oracle>SQLPLUS
    SQL*Plus: Release 8.1.7.0.0 - Production on Wed Apr 30 20:09:50 2003
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    Enter user-name: INTERNAL
    Enter password:
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name: SYSTEM
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist

    U r getting ORA-01034 and ORA-27101 because ur database has not started.
    try connecting svrmgrl as below
    go to command prompt
    svrmgrl
    connect internal
    startup pfile=<pfilename with full path>
    Now logon to sqlplus and try to connect as system.

  • ORA-00001 and ORA-06512 error on  DBMS_WM.ResolveConflicts

    We are getting unique constraint error in Production Database. We are able to merge most of the workspaces with no issues. One workspace is givign errors on merge.
    Here is the code
    begin
    dbms_wm.gotoworkspace('denialletterspoc_onmzpulp');
    dbms_wm.setdiffversions('denialletterspoc_onmzpulp','LIVE');
    dbms_wm.SetConflictWorkspace('denialletterspoc_onmzpulp');
    commit;
    DBMS_WM.BeginResolve('denialletterspoc_onmzpulp');
    DBMS_WM.ResolveConflicts(
    workspace => 'denialletterspoc_onmzpulp',
    table_name => 'MCM_MESSAGE',
    where_clause => ' id in (8403026,10134822,8259485,8259488,8426289,8426287,10186643,8426288) ',
    keep => 'CHILD'
    exception when others then
    DBMS_WM.RollbackResolve('denialletterspoc_onmzpulp');
    raise;
    end;
    ORA-00001: unique constraint (T2.MCM_MESSAGE_PK) violated
    ORA-06512: at line 16
    I looked at the date in XXX_lt tables and it does not look suspecious. Please help us understand
    ORA-00001 and ORA-06512 error.
    Amit Gangwar

    Hi, Ben
    Our OWM_VERSION is 10.2.0.4.3.
    I tried disable and enable constraint MCM_MESSAGE_PK. But didn't fix our issue.
    Split where clause from " id in (...) " syntax to " id = ... " syntax will reduce performance heavily. And I did some test that " id in (...) " syntax works well in our dev env.
    I opened our trace file and get below plsql block. When I perform it get same error with our original codes. Please notice the part of "forall wm_indx in WM_rowids.first .. WM_rowids.last execute immediate 'begin insert into T2.MCM_MESSAGE_lt ... ...", error occurred here. But if I change the "forall" syntax to normal " for ... loop" syntax then no error here. Can you give me some advice or suggestion?
    DECLARE
    WM_rowids wmsys.lt_ctx_pkg.rowidTabType;
    WM_rowids_vt wmsys.lt_ctx_pkg.rowidTabType;
    WM_curver wmsys.lt_ctx_pkg.int_tab;
    WM_vtRow wmsys.lt_ctx_pkg.int_tab;
    WM_nextver wmsys.lt_ctx_pkg.nextver_tab;
    WM_found integer := 0;
    BEGIN
    dbms_wm.gotoworkspace('denialletterspoc_onmzpulp');
    dbms_wm.setdiffversions('denialletterspoc_onmzpulp','LIVE');
    dbms_wm.SetConflictWorkspace('denialletterspoc_onmzpulp');
    /* update the auxilliary table of snapshots */
    /* These are rows in the current version that have already been resolved once */
    update T2.MCM_MESSAGE_aux st
    set (snapShotChild, snapShotParent, versionParent) =
    (select p.WM_childds, p.WM_parentds, p.WM_parentver
    from T2.MCM_MESSAGE_pkc p
    where p.ID = st.ID),
    value = '0',
    wm_opcode = 'CC'
    where st.versionChild = 614
    and (ID) in (select ID
    from T2.MCM_MESSAGE_pkc p
    where (id in (8403026,
    10134822,
    8259485,
    8259488,
    8426289,
    8426287,
    10186643,
    8426288)));
    select distinct WM_ridchild bulk collect
    into WM_rowids
    from T2.MCM_MESSAGE_pkc
    where (id in (8403026,
    10134822,
    8259485,
    8259488,
    8426289,
    8426287,
    10186643,
    8426288))
    and WM_childver != 614;
    if (WM_rowids.first is not null) then
    WM_found := 1;
    forall wm_indx in WM_rowids.first .. WM_rowids.last
    update T2.MCM_MESSAGE_lt
    set retireTime = wmsys.owm_9ip_pkg.activeTimeForDML,
    nextver = wmsys.lt_ctx_pkg.getNextVer(nextver,
    614,
    version,
    'denialletterspoc_onmzpulp',
    'CRS_LEAF',
    22)
    where rowid = WM_rowids(wm_indx)
    returning wmsys.lt_ctx_pkg.getCurNextVer bulk collect into WM_nextver;
    /* These are the rows that have not yet been resolved after the latest BeginResolve */
    forall wm_indx in WM_rowids.first .. WM_rowids.last execute immediate
    'begin insert into T2.MCM_MESSAGE_lt(ID,DPS_APPLICATION_ID,TYPE_ID,NAME,PRIVILEGED,CAMPAIGN_ID,TEXT,FILE_NAME,GRAPHIC_WIDTH,GRAPHIC_HEIGHT,DESCRIPTION,ACTIVE,INCLUDE_IN_LIBRARY,MESSAGE_FILTER_ID,OP_USER_ID,OP_WORKSPACE,OP_TIME,version,createtime,retiretime,nextver,delstatus,ltlock)
    (select t1.ID,t1.DPS_APPLICATION_ID,t1.TYPE_ID,t1.NAME,t1.PRIVILEGED,t1.CAMPAIGN_ID,t1.TEXT,t1.FILE_NAME,t1.GRAPHIC_WIDTH,t1.GRAPHIC_HEIGHT,t1.DESCRIPTION,t1.ACTIVE,t1.INCLUDE_IN_LIBRARY,t1.MESSAGE_FILTER_ID,t1.OP_USER_ID,t1.OP_WORKSPACE,t1.OP_TIME,614, wmsys.owm_9ip_pkg.activeTimeForDML, null,:1, sign(delstatus)*(abs(delstatus)+1),
    wmsys.lt_ctx_pkg.checkngetlock(''C'', t1.ltlock, t1.nextver, ''denialletterspoc_onmzpulp'', 0,
    ''MODIFY'', t1.version, t1.delstatus, 0, 1)
    from T2.MCM_MESSAGE_lt t1
    where t1.rowid = :2); end;'
    using WM_nextver(wm_indx),
    WM_rowids(wm_indx)
    end if;
    if (WM_found = 1) then
    wmsys.lt_ctx_pkg.update_modified_tables('T2',
    'MCM_MESSAGE',
    614,
    'denialletterspoc_onmzpulp',
    22);
    end if;
    if (WM_found = 1) then
    forall wm_indx in WM_rowids.first .. WM_rowids.last
    delete from T2.MCM_MESSAGE_aux
    where (ID) in (select ID
    from T2.MCM_MESSAGE_lt
    where rowid = WM_rowids(wm_indx))
    and childState = 'denialletterspoc_onmzpulp';
    end if;
    /* now insert new syncing information about these rows */
    execute immediate 'insert into T2.MCM_MESSAGE_aux (
    select ID,
    p.WM_childstate, p.WM_parentstate,
    p.WM_childds, 614, p.WM_parentds, p.WM_parentver, ''0'',''CC''
    from T2.MCM_MESSAGE_pkc p
    where ( id in (8403026,10134822,8259485,8259488,8426289,8426287,10186643,8426288) ) )';
    END;
    Thanks
    Amos

  • Ora-00604 and Ora-00904 in a With Clause

    Hi:
    If I use a “left outer join” in the then following SQL I get a result set, but when I use a “full outer join” I get ora-00604 and ora-00904. Please let me know why this is happening?
    Full Join Example:
    with XYZ as (
    select tp.field1 as APID1
    ,pay.field2 as APAMT1
    from Table1 tp join table2 pay on tp.id = pay.id
    where rownum < 10
    , XYZ2 as (
    select Nvl(pd.field1,0) as PID
    , pd.field2 as PAMT
    from Table1 tp join table3 pd on tp.id = pd.id
    where tp.field1 = -1
    select COALESCE(XYZ.APID1, xyz2.PID,0)as PNM
    , NVL(XYZ.APAMT1, 0) as XYZAMT
    , NVL(xyz2.PAMT, 0) as XYZ2AMT
    from XYZ full outer join XYZ2 on PID = APID1
    Note: the SQL in XYZ2 returns 0 rows.
    The error I get is :
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00904: "from$_subquery$_003"."QCSJ_C003008_12": invalid identifier
    Left Outer Join Example (This returns result):
    with XYZ as (
    select tp.field1 as APID1
    ,pay.field2 as APAMT1
    from Table1 tp join table2 pay on tp.id = pay.id
    where rownum < 10
    , XYZ2 as (
    select Nvl(pd.field1,0) as PID
    , pd.field2 as PAMT
    from Table1 tp join table3 pd on tp.id = pd.id
    where tp.field1 = -1
    select COALESCE(XYZ.APID1, xyz2.PID,0)as PNM
    , NVL(XYZ.APAMT1, 0) as XYZAMT
    , NVL(xyz2.PAMT, 0) as XYZ2AMT
    from XYZ left outer join XYZ2 on PID = APID1
    Note: the SQL in XYZ2 returns 0 rows.
    Thank you,

    Please refer to Doc ID: 311230.1 which has detailed information about these errors.

  • ORA-1403 and ORA-20505 updating the PK in the form

    I have a application based on one table and the primary key is the column NAME , every think was running ok , but now I am getting the error ORA-20505 and ORA-1403 when I edit a row and change the value for NAME ( still unique ) and click in apply the changes botton.
    the table has only one row , this should be simple, I can insert ant update in sqlplus.
    Thanks.

    user459480,
    Rather than trying to work around this I suggest you add a non-update-able primary key column and then put a unique constraint on the name column. The application is using the value of the PK column "name" to find the record and now you are going around and changing it. No wonder it gives you a 1403 which means "I can't find what you told me to go get".
    You might get over this hump but there will be more and bigger humps ahead if you continue down this path. Adding a number type column as a pk with a sequence and trigger is a small price to pay for the stability of a real primary key (ie immutable).
    Greg

  • ORA-01122, ORA-01110 and ORA-01251

    When we are opening the database following errors are coming in sequence as follows:
    ORA-01122, ORA-01110 and ORA-01251
    Other facts:
    We don’t have any backup.
    Database is not in archive mode.
    Personally I don't see any hope.
    What you guys think?

    Ok see this
    SQL> startup
    ORACLE instance started.
    I tried do media recover in case of NOARCHIVE log mode. You can try the same in you case too
    (1) Starting the Database
    Total System Global Area 118255568 bytes
    Fixed Size 282576 bytes
    Variable Size 83886080 bytes
    Database Buffers 33554432 bytes
    Redo Buffers 532480 bytes
    Database mounted.
    ORA-01113: file 8 needs media recovery
    ORA-01110: data file 8: 'C:\ORADATA\MANU\USERS01.DBF'
    (2) Check the database mode
    SQL> select log_mode from v$database;
    LOG_MODE
    NOARCHIVELOG
    (3) Switch on the archive logmode
    SQL> alter database archivelog;
    Database altered.
    (4) Recover the Database
    SQL> recover
    Media recovery complete.
    (5) Shutdown the Database
    SQL> shutdown
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    (6) Start the Database again
    SQL> startup
    ORACLE instance started.
    Total System Global Area 118255568 bytes
    Fixed Size 282576 bytes
    Variable Size 83886080 bytes
    Database Buffers 33554432 bytes
    Redo Buffers 532480 bytes
    Database mounted.
    Database opened.
    SQL>

  • Getting ORA-17629 and ORA-17627 during setting up of data guard

    Hi All,
    I am working on data guard setup, and getting ORA-17629 and ORA-17627. The orapwd file was copied to DR server, but still getting the same error when doing a duplicate database command.
    RMAN> run{
    2> allocate channel c1 type disk;
    3> allocate channel c2 type disk;
    4> allocate auxiliary channel a1 type disk;
    5> allocate auxiliary channel a2 type disk;
    6> duplicate target database for standby from active database
    7> spfile
    8> set db_unique_name='DRTELPRD'
    9> set standby_file_management='AUTO'
    10> set FAL_CLIENT='DRTELPRD'
    11> set FAL_SERVER='TELRPD'
    12> nofilenamecheck;
    13> }
    allocated channel: c1
    channel c1: SID=950 device type=DISK
    allocated channel: c2
    channel c2: SID=942 device type=DISK
    allocated channel: a1
    channel a1: SID=97 device type=DISK
    allocated channel: a2
    channel a2: SID=96 device type=DISK
    Starting Duplicate Db at 26-AUG-11
    contents of Memory Script:
    backup as copy reuse
    file 'e:\app\product\11.1.0\db_1\DATABASE\PWDtelprd.ORA' auxiliary format
    'e:\app\product\11.1.0\db_1\DATABASE\PWDdrtelprd.ORA' file
    'E:\APP\PRODUCT\11.1.0\DB_1\DATABASE\SPFILETELPRD.ORA' auxiliary format
    'E:\APP\PRODUCT\11.1.0\DB_1\DATABASE\SPFILEDRTELPRD.ORA' ;
    sql clone "alter system set spfile= ''E:\APP\PRODUCT\11.1.0\DB_1\DATABASE\SPF
    ILEDRTELPRD.ORA''";
    executing Memory Script
    Starting backup at 26-AUG-11
    RMAN-03009: failure of backup command on c1 channel at 08/26/2011 14:44:17
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01031: insufficient privileges
    ORA-17629: Cannot connect to the remote database server
    continuing other job steps, job failed will not be re-run
    released channel: c1
    released channel: c2
    released channel: a1
    released channel: a2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 08/26/2011 14:44:17
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on c2 channel at 08/26/2011 14:44:17
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01031: insufficient privileges
    ORA-17629: Cannot connect to the remote database server
    RMAN>

    Thanks for your instructions. It worked very good. But, I am getting errors for redo01.log files. The redo log files are not created.
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: 'E:\ORACLE\ORADATA\TELPRD\REDO01.LOG'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file e:\app\diag\rdbms\drtelprd\drtelprd\trace\drtelprd_mrp0_352.trc:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: 'E:\ORACLE\ORADATA\TELPRD\REDO01.LOG'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Clearing online redo logfile 1 E:\ORACLE\ORADATA\TELPRD\REDO01.LOG
    Clearing online log 1 of thread 1 sequence number 3418
    Errors in file e:\app\diag\rdbms\drtelprd\drtelprd\trace\drtelprd_mrp0_352.trc:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: 'E:\ORACLE\ORADATA\TELPRD\REDO01.LOG'

Maybe you are looking for