Business Rule Design Transformer fails with ORA-00001

I'm stuck with the Business Rule Design Transformer Utility of Headstart. After running this utility over one BR it is impossible to run it over other BR's because of violation of the unique constraint HST65.QMS_MSP_PK (table QMS_MESSAGE_PROPERTIES). The problem is that the utility tries to insert a record (message, specified in the Notes property of Designer) into QMS_MESSAGE_PROPERTIES with the code "ABI-10000", that was already created by running the utility for the first time.
Exact error message: "Activity aborted with ORACLE internal errors.
-1 ORA-00001: unique constraint (HST65.QMS_MSP_PK) violated"
I'm using Designer 6i (6.5.52.1.0) and Headstart 6.5.1.3
If someone has any clue about this I would be very grateful
Cheers,
Dimce

Jan,
The name of the business rule is already in the CONSTRAINT_NAME of the QMS_MESSAGE_PROPERTIES table.
I already tested by deleting the records in the two tables, QMS_MESSAGE_PROPERTIES and QMS_MESSAGE_TEXT, and ran the utility, but it didn't help either. I can run the utility for one rule, but when I want to run it again at some later point, it fails with this error.
But, I managed to create rule definitions using the HSU Create Business Rule Design Definition, rule by rule. I only had to add references in the business rule to the used module.
Dimce

Similar Messages

  • Why not allow Business Rule Design Transformer to overwrite existing BRDDs

    Hi,
    It can be quite annoying during development to continually having to remove the BRDD Trigger and PL/SQL Definition when running the BR Design Transformer reveals missing information in the BR Analysis definition. It seems that it would be practical to have at least the option to have the Business Rule Design Transformer overwrite an existing Business Rule Design Definition.
    You could think of an additional parameter in this utilily labeled "Overwrite existing BRDD?" with allowable values Y(es) and N(o) with No as default (so that the default functionality is the same as before).
    Below you find the code that can be added to the HSU_BRTR package to realize such a functional improvement. Maybe you can consider it for a next release...?!
    best regards,
    Lucas Jellema
    AMIS Services BV
    code to add to HSU_BRTR to provide a parameter that allows the user to specify whether or not the HSU_BRTR is allowed to overwrite an existing BRDD:
    in the revision history:
    09-jan-2003 Lucas Jellema
    6.5.2.3AMIS1.1 Added new parameter and supporting code that allows user to indicate
    whether existing Business Rule Design Definitions may be/should be overwritten
    at the end of procedure install
    hsu_install.add_parameter
    ( PACKAGE_NAME -- package name
    , 40 -- sequence
    , 'Overwrite existing BRDDs?' -- prompt
    , 'N' -- default value actual
    , 'No' -- default value displayed
    , 'Y' -- mandatory
    , 'N' -- allow multi-select
    , 'N' -- include shared elements
    , '' -- element type short name
    , '' -- sql expression actual
    , '' -- sql expression displayed
    , null -- where clause
    , null -- synchronize with
    , null -- foreign key column
    , -- help text
    'Choose whether you want this utility to overwrite existing Business Rule Design Definitions.'
    hsu_install.add_allowable_value
    ( PACKAGE_NAME -- package name
    , 40 -- parameter
    , 1 -- sequence
    , 'Y' -- actual value
    , 'Yes' -- displayed value
    hsu_install.add_allowable_value
    ( PACKAGE_NAME -- package name
    , 40 -- parameter
    , 2 -- sequence
    , 'N' -- actual value
    , 'No' -- displayed value
    --------6.5.2.3AMIS1.1
    Just before procedure transform_stage2
    procedure delete_brdds
    ( p_tbl_id in ci_table_definitions.id%type
    , p_br_name in varchar2
    -- Purpose Delete existing Business Rule Design Definition
    -- Usage from run procedure
    -- Remarks Find PL/SQl Module Definition based on Business Rule Label
    is
    cursor c_brdd
    ( b_tbl_id in ci_table_definitions.id%type
    , b_br_name in varchar2
    is
    select trg.id trg_id
    , trg.name name
    , plm.id plm_id
    from ci_database_triggers trg
    , ci_plsql_modules plm
    where trg.table_definition_reference = b_tbl_id
    and trg.plsql_module_reference = plm.id
    and plm.name = b_br_name
    begin
    -- loop over journalling busrules of this application
    <<brdd>>
    for r_brdd in c_brdd(p_tbl_id, p_br_name) loop
    -- delete busrule (delete of trigger is since 6i not enough anymore, so
    -- explicitly delete PL/SQL module also)
    bllog.write
    ( 'Deleting trigger '||r_brdd.name||' and PL/SQL module '
    ||hsu_name.get_name_and_path(r_brdd.plm_id)
    ||', a new business rule design definition overwrites this old one.'
    , bllog.information
    bltrg.del(r_brdd.trg_id);
    blplm.del(r_brdd.plm_id);
    end loop brdd;
    end delete_brdds;
    inside procedure transform_stage2
    (just before the comment: -- check if BRDD with this plm_name already exists)
    if p_overwrite_br = 'Y'
         then
    delete_brdds
    ( p_tbl_id => g_trg_tbl(i).tbl_id
    , p_br_name => l_plm_name
         end if; -- find_trg and overwrite =Y
    A new parameter in procedure transform_br_fun
    procedure transform_br_fun
    , p_overwrite_br in varchar2 default 'N' -- 6.5.2.3AMIS1.1
    use the parameter p_overwrite_br in the call to transform_stage2
    transform_stage2
    ( p_fun_id => p_fun_id
    , p_fun_label => r_fun.fun_function_label
    , p_fun_short_definition => r_fun.fun_short_definition
    , p_msg_prefix => p_msg_prefix
    , p_msg_language => p_msg_language
    , p_rule_type => l_rule_type
                   , p_overwrite_br => p_overwrite_br -- 6.5.2.3AMIS1.1
    new parameter p_overwrite_br in the procedure run
    NOTE: in both PACKAGE SPECIFICATION and BODY
    , p_overwrite_br in varchar2 default'N' -- 6.5.2.3AMIS1.1
    use the parameter p_overwrite_br in all calls to transform_br_fun inside procedure run
    transform_br_fun
    ( p_fun_id => r_fun_tree.id
    , p_msg_prefix => p_msg_prefix
    , p_msg_language => p_msg_language
    , p_create_att_usages => p_create_att_usages
    , p_overwrite_br => p_overwrite_br -- 6.5.2.3AMIS1.1

    Among the alternatives not mentioned... Using a TiVo DVR, rather than the X1; a Roamio Plus or Pro would solve both the concern over the quality of the DVR, as well as providing the MoCA bridge capability the poster so desperately wanted the X1 DVR to provide. (Although the TiVo's support only MoCA 1.1.) Just get a third-party MoCA adapter for the distant location. Why the hang-up on having a device provided by Comcast? This seems especially ironic given the opinions expressed regarding payments over time to Comcast. If a MoCA 2.0 bridge was the requirement, they don't exist outside providers. So couldn't the poster have simply requested a replacement XB3 from the local office and configured it down to only providing MoCA bridging -- and perhaps as a wireless access point? Comcast would bill him the monthly rate for the extra device, but such is the state of MoCA 2.0. Much of the OP sounds like frustration over devices providing capabilities the poster *thinks* they should have.

  • ORA-06502 in Business Rule Design Transformer

    For a specific business rule we got the following error: ORA-06502: PL/SQL: numeric or value error: character string buffer too small. It appears that it is caused by a long entity relation name. See the detailed logging below. Bij reducing the length of the entity relation name involved the utility worked file.
    Relationship: afstand rechtsmiddel gedaan bij namens verdachte door is included as Usage for entity: GGRL/ RELATIE
    Relend usage is found with name: technisch ttz gevoegd bij and id: 1497077058224033627321119385618562861
    Relationship: TECHNISCH TTZ GEVOEGD BIJ->STRAFZAAK is not found to be part of AFSTAND RECHTSMIDDEL GEDAAN BIJ NAMENS VERDACHTE DOOR->RELATIE
    Triggering event UPDATE UITSPRAAK.AFSTAND RECHTSMIDDEL G0 found.
    bltext.get_lines_from_repository, p_text_type=CDIDSC
    bltext.get_line_containing
    Activity aborted with ORACLE internal errors.
    -6502 ORA-06502: PL/SQL: numeric or value error: character string buffer too small

    Jan,
    The name of the business rule is already in the CONSTRAINT_NAME of the QMS_MESSAGE_PROPERTIES table.
    I already tested by deleting the records in the two tables, QMS_MESSAGE_PROPERTIES and QMS_MESSAGE_TEXT, and ran the utility, but it didn't help either. I can run the utility for one rule, but when I want to run it again at some later point, it fails with this error.
    But, I managed to create rule definitions using the HSU Create Business Rule Design Definition, rule by rule. I only had to add references in the business rule to the used module.
    Dimce

  • Problem using "Create Business Rule Design Definition" utility

    Hi everyone,
    I tried to create a business rule with Headstart Utilities - Create Business Rule Design Definition (Revision 6.0.0.20) and I got the following errors :
    Errors
    Message
    Combination of Message Prefix and Message Number (SGM-ENG) does not match format AAA-NNNNN.
    Activity aborted with ORACLE internal errors.
    -1400 ORA-01400: cannot insert NULL into ("HST50"."QMS_MESSAGE_TEXT"."LANGUAGE")
    I suppose that the utility concatenate the message prefix and the language to build the error message.
    Our Oracle Designer version is 6.0.3.9.0, Headstart 2.1.2 with patch 12.4 and Developper is 6.0.5.35.3
    Any patch available?
    Regards,
    Jerome Couture

    Tim,
    Headstart should be able to check out any tables you need.
    We think we have the user settings
    done correctly, but there may be something that we
    have missed. How can we get Headstart to
    automatically check-out the table(s) for which we
    want to run the Business Rules design transformer?The user settings you need are (see also pages 5-7 and 5-10 in the Headstart User's Guide):
    - Under 'Process the following objects', choose 'Checked out by anyone'
    - Also check the check box '... also Checked In objects'
    - Choose whether you want to automatically check out with or without lock
    If this does not help, please run the utility with log level 'Debug Detailed' (can also be set in the User Preferences) and report the last few lines of the log messages. They should give an indication of why the check out does not succeed.
    Hope this helps,
    Sandra Muller

  • Headstart Business Rule Design Xformer utility

    When using the Headstart Business Rule Design Transformer to generate Business Rules, the table is required to be checked out. In previous releases, we have been told that an automatic check-out is performed on the table(s), but ours forces us to manually check-out the table definition, or it does not continue. We think we have the user settings done correctly, but there may be something that we have missed. How can we get Headstart to automatically check-out the table(s) for which we want to run the Business Rules design transformer? Or is this a bug in the current release? We are using Headstart release v6.5.2.3 (HSU_BRTR). Thanks.

    Tim,
    Headstart should be able to check out any tables you need.
    We think we have the user settings
    done correctly, but there may be something that we
    have missed. How can we get Headstart to
    automatically check-out the table(s) for which we
    want to run the Business Rules design transformer?The user settings you need are (see also pages 5-7 and 5-10 in the Headstart User's Guide):
    - Under 'Process the following objects', choose 'Checked out by anyone'
    - Also check the check box '... also Checked In objects'
    - Choose whether you want to automatically check out with or without lock
    If this does not help, please run the utility with log level 'Debug Detailed' (can also be set in the User Preferences) and report the last few lines of the log messages. They should give an indication of why the check out does not succeed.
    Hope this helps,
    Sandra Muller

  • Transport of Transformation failed with RC= 12 and job: RDDEXECL cancelled in Target sytem

    Gurus,
    When i am importing the workbench request from dev to qty.
    I am getting error : Program terminated (job: RDDEXECL, no.: 22321300).
    Transformation contains only Endroutine.
    Job log:
    Job started
    Step 001 started (program RDDEXECL, variant , user ID DDIC)
    All DB buffers of application server xxxxxx were synchronized
    The internal session was terminated with the runtime error UNCAUGHT_EXCEPTION (see ST2
    Job cancelled.
    When i see the dump it is througing errror at the method of following class.
    CL_RSO_TLOGO_PERSISTENCY-CHECK_INITIALIZED
    Could you please help. Thanks in advance.
    Ashok

    Hi Ashok,
    In QA use program "RSTRAN_ROUT_RSFO_CHECK" to check and remove any inconsistencies for the transformations. After that again transport those transformations in new TR and import in QA.
    Also you have to search "Transport of Transformation failed with RC= 12 and job: RDDEXECL canceled in Target system" by Dinesh Tiwari.
    Check the reply of Fun Sébastien in http://scn.sap.com/message/13795238#13795238.

  • Financial Statement Generators fail with ORA-01722

    We upgaded from 11.5.10.2 to R12.1.3. Since then we have FGSs fail with ora-01722

    *+<Moderator edit - deleted MOS Doc content - pl do NOT post such content - it is a violation of your Support agreement>+*
    Please refer:
    R12: FSG: PERF0005 Error Detected In GET_DEF_LDGS – ORA-01403: No Data Found Common Issues [ID 1368691.1]
    R12: RGRARG FSG Completes with Error, rgrsap.rgrsxp: ORA-01722: Invalid Number [ID 579655.1]

  • Adcfgclone fails with ORA-04063: view "SYS.DBA_NETWORK_ACLS" error

    Hi all,
    While running adcfgclone on dbtier if fails with following error
    ORA-04063: view "SYS.DBA_NETWORK_ACLS" error
    here is the scene:
    we are trying to clone a production instance for doing some patching
    while running adcfgclone on target (test instance) it fails
    our current environment is
    application:R12.1.3
    db:11.1.0.7
    os: rhel 5.6
    here is output from
    autoconfig file:
    SQLPLUS Executable : /u02/testoba/db/tech_st/11.1.0/bin/sqlplus
    SQL*Plus: Release 11.1.0.7.0 - Production on Thu Apr 18 09:28:32 2013
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Enter value for 1: Enter value for 2: Enter value for 3: Connected.
    PL/SQL procedure successfully completed.
    Commit complete.
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    adcrobj.sh exiting with status 0
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    .end err out.
    AutoConfig Services Phase
    Running Service Process 2 of 4 for AppsUtil
    Executing script in InstantiateFile:
    /u02/testoba/db/tech_st/11.1.0/appsutil/install/TESTOBA_testsrv/addbperms.sh
    script returned:
    addbperms.sh started at Thu Apr 18 09:28:32 IST 2013
    The environment settings are as follows ...
    ORACLE_HOME : /u02/testoba/db/tech_st/11.1.0
    ORACLE_SID : TESTOBA
    TWO_TASK :
    PATH : /u02/testoba/db/tech_st/11.1.0/perl/bin:/u02/testoba/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/u02/testoba/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/u02/testoba/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/u02/testoba/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oratest/bin:.
    Library Path : /u02/testoba/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/u02/testoba/db/tech_st/11.1.0/lib:/usr/dt/lib:/u02/testoba/db/tech_st/11.1.0/ctx/lib
    SQLPLUS Executable : /u02/testoba/db/tech_st/11.1.0/bin/sqlplus
         Changing permissions for file sqlplus.
         Changing permissions for file extproc.
         Changing permissions for file tkprof.
    addbperms.sh exiting with status 0
    .end std out.
    .end err out.
    AutoConfig Services Phase
    Running Service Process 3 of 4 for AppsUtil
    Executing script in InstantiateFile:
    /u02/testoba/db/tech_st/11.1.0/perl/bin/perl -I /u02/testoba/db/tech_st/11.1.0/perl/lib/5.8.3 -I /u02/testoba/db/tech_st/11.1.0/perl/lib/site_perl/5.8.3 -I /u02/testoba/db/tech_st/11.1.0/appsutil/perl /u02/testoba/db/tech_st/11.1.0/appsutil/install/TESTOBA_testsrv/txkConfigDbOcm.pl
    script returned:
    Configuring OCM on the Database Tier....
    Testing database connection...
    Database connection test passed.
    Response file /u02/testoba/db/tech_st/11.1.0/appsutil/clone/adclnocm.res required to configure OCM does not exists
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    .end err out.
    AutoConfig Services Phase
    Running Service Process 4 of 4 for AppsUtil
    Executing script in InstantiateFile:
    /u02/testoba/db/tech_st/11.1.0/appsutil/install/TESTOBA_testsrv/txkcreateACL.sh
    script returned:
    You are running txkcreateACL.sh version 120.1
    The environment settings are as follows ...
    ORACLE_HOME : /u02/testoba/db/tech_st/11.1.0
    ORACLE_SID : TESTOBA
    PATH : /u02/testoba/db/tech_st/11.1.0/perl/bin:/u02/testoba/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/u02/testoba/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/u02/testoba/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/u02/testoba/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oratest/bin:.
    Executable : /u02/testoba/db/tech_st/11.1.0/bin/sqlplus
    Executing txkcreateACL.sql ...
    SQL*Plus: Release 11.1.0.7.0 - Production on Thu Apr 18 09:28:33 2013
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected.
    FROM DBA_NETWORK_ACLS
    ERROR at line 17:
    ORA-06550: line 17, column 8:
    PL/SQL: ORA-04063: view "SYS.DBA_NETWORK_ACLS" has errors
    ORA-06550: line 16, column 3:
    PL/SQL: SQL Statement ignored
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    txkcreateACL.sh: exiting with status 1
    .end std out.
    .end err out.
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [APPLY PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: /u02/testoba/db/tech_st/11.1.0/appsutil/install/TESTOBA_testsrv
    txkcreateACL.sh INSTE8_APPLY 1
    AutoConfig is exiting with status 1
    RC-50014: Fatal: Execution of AutoConfig was failed
    Raised by oracle.apps.ad.clone.ApplyDatabase
    StackTrace:
    java.lang.Exception: RC-50014: Fatal: Execution of AutoConfig was failed
         at oracle.apps.ad.clone.ApplyDatabase.checkAutoConfigErr(ApplyDatabase.java:3192)
         at oracle.apps.ad.clone.ApplyDatabase.runCVMAndAutoConfig(ApplyDatabase.java:3010)
         at oracle.apps.ad.clone.ApplyDatabase.doConf(ApplyDatabase.java:649)
         at oracle.apps.ad.clone.ApplyDatabase.doApply(ApplyDatabase.java:473)
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:366)
         at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:110)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
         at java.lang.Thread.run(Unknown Source)
    please provide any suitable link or doc id or any workaround
    thanks
    Zavi

    Hi;
    Please review:
    Adautocfg.Sh Fails With "ORA-01422: " While Executing Txkcreateacl.sh [ID 854746.1]
    Database Cloning Failed With txkcreateACL.sh[36]: sqlplus [ID 603297.1]
    R12 : Autoconfig script txkcreateACL.sh fails with error ORA-31003: Parent /sys/acls/ already contains child entry OracleEBS.xml [ID 1328458.1]
    Regard
    Helios

  • EXPDP fails with ORA-39125: Worker unexpected fatal error in KUPW $

    Hi Friends,
    Oracle 10.2.0.4.0 on Sun OS
    Im trying to do metadata_only export using EXPDP
    Facing the below error
    ORA-39125: Worker unexpected fatal error in KUPW $ WORKER.UNLOAD_METADATA while calling DBMS_METADATA.FETCH_XML_CLOB []
    ORA-31642: The following SQL statement fails:
    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.KUPW $ WORKER", line 6307
    PL / SQL Call Stack
    object line object
    handle number name
    51bf5dc20 15032 package body SYS.KUPW $ WORKER
    51bf5dc20 6372 package body SYS.KUPW $ WORKER
    51bf5dc20 2396 package body SYS.KUPW $ WORKER
    51bf5dc20 6944 package body SYS.KUPW $ WORKER
    51bf5dc20 1314 package body SYS.KUPW $ WORKER
    51c7e8650 2 anonymous block
    ====================================
    Findings:
    I check the status of DBMS_RULE_EXP_RULES
    OWNER OBJECT_NAME OBJECT_TYPE STATUS
    SYS DBMS_RULE_EXP_RULES PACKAGE BODY VALID
    SYS DBMS_RULE_EXP_RULES PACKAGE VALID
    PUBLIC DBMS_RULE_EXP_RULES SYNONYM VALID
    DBMS_METADATA & DBMS_SYS_ERROR packages are valid.
    ======================================================
    Error in the alert:
    The value (30) of MAXTRANS parameter ignored.
    kupprdp: master process DM00 started with pid=25, OS id=6506
    to execute - SYS.KUPM$MCP.MAIN('SYS_EXPORT_SCHEMA_01', 'SYS', 'KUPC$C_1_20120908075037', 'KUPC$S_1_20120908075037', 0);
    kupprdp: worker process DW01 started with worker id=1, pid=26, OS id=6633
    to execute - SYS.KUPW$WORKER.MAIN('SYS_EXPORT_SCHEMA_01', 'SYS');
    when i check the trace file, find the below error
    ORA-04063: package body "SCH.COLLECTION" has errors
    But when I check the status of the package, it's valid.
    Thanks for your help
    KSG

    Hi;
    Is it full exp? Of yes please review:
    DataPump Export Fails With Errors ORA-39125 ORA-31642 ORA-1422 [ID 790988.1]
    Full And Schema DataPump Exports Fail With Errors ORA-39125 ORA-31642 During DBMS_SCHED_EXPORT_CALLOUTS.SCHEMA_CALLOUT [ID 1109045.1]
    EXPDP FAILS WITH ORA-39125 ORA-31642 DBMS_SCHED_EXPORT_CALLOUTS [ID 445291.1]
    Full Database DataPump Export (EXPDP) Fails With Errors ORA-39125 ORA-4045 ORA-1031 On XDB.XDB_PI_TRIG [ID 1102434.1]
    Errors ORA-39125 ORA-1801 When Running DataPump Export (EXPDP) [ID 815683.1]
    Regard
    Helios

  • Oem 12.1.0.3 installer fails with ora-01017

    Greetings,
    I am attempting to upgrade my OEM 12.1.0.1 installation to 12.1.0.3. I am following the instructions in the Oracle Enterprise Manager Cloud Control Upgrade Guide and Oracle Support Note 1568143.1. I have verified that all prerequisites are met and have installed patch 11061801 to the repository. The repository and OMS are on different machines. The 12.1.0.1 installation is able to connect to the repository, it has been running successfully for some time now. On the OMS server I stopped the OMS and the Agent and I invoke the 12.1.0.3 installer. I follow the steps and when it gets to the connection page it fails with ORA-01017. The messages are shown -
    1. Verify if the SYS password you entered is valid.
    2. Verify if the database initialization parameter REMOTE_LOGIN_PASSWORDFILE is set to either Shared or Exclusive.
    3. Verify if a password file with the file name orapw<SID> exists in the <ORACLE_HOME>/dbs directory.
    All conditions are met:
    -bash-3.2$ echo $ORACLE_SID
    oemrepos
    SQL> connect sys as sysdba
    Enter password:
    Connected.
    SQL> connect sysman
    Enter password:
    Connected.
    SQL> show parameter remote_login_passwordfile
    NAME                                 TYPE        VALUE
    remote_login_passwordfile            string      EXCLUSIVE
    -bash-3.2$ ls -l $ORACLE_HOME/dbs/orapwoemrepos
    -rw-r----- 1 oracle dba 1536 Jan 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 OMS server.
    I am completely stumped and in need of assistance. Searching the web only indicates that I need to insure that the above listed conditions should be met, they are. If anyone has any suggestions I would appreciate the help.
    Thank you.
    Bill Wagman

    On repository server , can you login as sys user ?
    Try to connect through listener and share the result.
    sqlplus sys/<password>@<connectstring> as sysdba
    Thanks
    Rajesh

  • CSSCAN for database character set conversion failing with ORA-01578

    Hi ,
    CSSCAN for database character set conversion failing with ORA-01578: ORACLE data block corrupted (file # 84, block # 23930). please help me out in this regard.
    Thanks,
    Sravan.

    Hi Anand,
    Thanks for your update. The segment is a table not an index in my case. And i got this error while running CSSCAN on Apps database for character set conversion to UTF8 from WE8ISO8859P1. Please find the snapshot below for your reference.
    SQL> select segment_name, segment_type, owner from dba_extents where file_id = 84 and 23930 between block_id and block_id + blocks - 1;
    SEGMENT_NAME
    SEGMENT_TYPE OWNER
    EDW_LOOKUP_M
    TABLE POA
    SQL> ANALYZE TABLE POA.EDW_LOOKUP_M VALIDATE STRUCTURE CASCADE;
    ANALYZE TABLE POA.EDW_LOOKUP_M VALIDATE STRUCTURE CASCADE
    ERROR at line 1:
    ORA-01578: ORACLE data block corrupted (file # 84, block # 23930)
    ORA-01110: data file 84: '/d911/oracle/dbcondata/poad01.dbf'
    Thanks,
    Sravan.

  • SRVCTL START DATABASE FAILS WITH  ORA-00119

    Hi,
    My DB version is 11.2.0.2.3
    I am able to start the DB thorough sqlplus as conventional way.But when I am trying to start using SRVCTL it gives the following errors:
    CRS-5017: The resource action "ora.****.db start" encountered the following error:
    SRVCTL START DATABASE FAILS WITH ORA-00119: invalid specification for system parameter LOCAL_LISTENER
    ORA-00132: syntax error or unresolved network name 'LISTENER_local'
    Can you please suggest for any workaround.
    Thanks

    Did you check the TNS_ADMIN? Where does it point to?
    Also check if you have all the network files placed under the directory pointed to by TNS_ADMIN.
    sqlnet.ora
    listener.ora
    tnsnames.ora

  • All scheduled jobs started suddenly to fail with ORA-01031: insufficient pr

    I have a setup of gridcontrol 11g on windows 2008. I've been running successful for weeks until the other day when all my scheduled jobs started to fail with
    ORA-01031: insufficient privileges (rman jobs)
    ERROR: Invalid username and/or password (sql scripts).
    I verified for the accounts being locked, pw correct, expired / grace period, etc.
    all good when I try from the command line. running an rman backup from the command line works great, but the same one through the job scheduler fails with ORA-01031.
    I've dropped the jobs completely, recreated them again. same thing.
    I'm using preferred credentials and dropped and recreated them. same thing.
    I don't know where else to look. Only grid control scheduled jobs fail, but all of them do.
    I'm using SQLNET.AUTHENTICATION_SERVICES= (NTS) in my sql.ne (always have).
    we use a windows domain server / domain authentication for logging into boxes. I haven't changed any of my passwords.
    I am probably looking in the wrong places. Anybody able to help?

    Hi,
    ERROR: Invalid username and/or password (sql scripts).This error message clearly tells that password is incorrect and "insufficient privileges" shows that perhaps you are using SYS user for running the jobs and password for user SYS is incorrect.
    If you are specifying passwords in your scripts, i don't think you need to set preferred credentials.
    Try following
    1) Remove preferred credentials
    2) Don't check password of user sys by locally logging in (because if Os authentication is on, even wrong password will allow you loging into the database and you will think that password is correct). Try connecting database using SYS user from a remote machine and check whether it accepts your password and make sure you have same password for your jobs and in sql scripts
    3) If still problem, just for test, remove SQLNET.AUTHENTICATION_SERVICES= (NTS) and try
    Salman

  • Local Domain Index  query fails with ora-01410: invalid rowid

    Hello!
    I have a task to implement partitioned domain index for range partitioned table.
    As I understood from reference http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28425/dom_idx.htm
    the main difference is to provide support for partitioning operations by
    implementing corresponding ODCI interface functions.
    For the first I decided to create something simple to not spend time on system partitioned
    index storage table. My problem is that domain index works correctly when it's created without
    support for partitioning and produces "*ORA-01410: INVALID ROWID*" when it's created
    with LOCAL option.
    Test query:
    SELECT /* +index(from_sample_index) */ * FROM index_in_partitioned_tbl WHERE position_between(card_no)  < 50 ORDER BY card_no DESC;
    Index creared in this way returns 3 rows:
    CREATE INDEX from_sample_index ON index_in_partitioned_tbl (card_no) INDEXTYPE IS position_indextype;
    When index has been creared with LOCAL option I got "ORA-01410: INVALID ROWID" :
    CREATE INDEX from_sample_index ON index_in_partitioned_tbl (card_no) INDEXTYPE IS position_indextype LOCAL;
    I don't post implementation's source code to reduce amount of text in post. It works for global index.
    If I copy rowid from index storage table and then put it into something like
    SELECT card_no FROM index_in_partitioned_tbl WHERE rowid = 'AAAXHGAAEAAAFERAAh';
    then it will be executed successfully without any errors.
    I suppose the error could be somehow linked with "alter index" calls that Oracle makes when local domain index is created.
    The calls are made with option "AlterIndexRebuild" - possibly they mark index as invalid (though it's shown as valid in SQL Developer)

    Solved :)
    when index is LOCAL calls for ODCIINDEXSTART - ODCIINDEXFETCH - ODCIINDEXCLOSE are executed for each partition of base table.
    In my case ODCIINDEXFETCH returns row_id's regardless of partition that are currently scanned for values. So first call returned rowid values for all partitions not only for the first partition and validation failed with "ora-01410: invalid rowid"

  • Export fails with ORA-24324

    After registering any XML Schema export fails with ORA-24324. any suggestions?
    Platform is Windows 2000, db characters: UTF-8
    exp system/manager@syzxml owner=(syzem) file=a.dmpExport: Release 9.2.0.4.0 - Production on Sun Nov 23 09:52:13 2003
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    Export done in EE8MSWIN1250 character set and AL16UTF16 NCHAR character set
    server uses AL32UTF8 character set (possible charset conversion)
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user SYZEM
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user SYZEM
    About to export SYZEM's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    EXP-00056: ORACLE error 24324 encountered
    ORA-24324: service handle not initialized
    EXP-00056: ORACLE error 24324 encountered
    ORA-24324: service handle not initialized
    EXP-00000: Export terminated unsuccessfully
    v$version:
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    PL/SQL Release 9.2.0.4.0 - Production
    CORE 9.2.0.3.0 Production
    TNS for 32-bit Windows: Version 9.2.0.4.0 - Production
    NLSRTL Version 9.2.0.4.0 - Production
    dba_registry:
    COMP_NAME STATUS
    VERSION
    Oracle9i Catalog Views VALID
    9.2.0.4.0
    Oracle9i Packages and Types VALID
    9.2.0.4.0
    Oracle Workspace Manager VALID
    9.2.0.1.0
    Oracle XML Database VALID
    9.2.0.4.0
    nls_session_parameters:
    PARAMETER VALUE
    NLS_CALENDAR GREGORIAN
    NLS_COMP BINARY
    NLS_CURRENCY z&#9474;
    NLS_DATE_FORMAT RR/MM/DD
    NLS_DATE_LANGUAGE POLISH
    NLS_DUAL_CURRENCY z&#9474;
    NLS_ISO_CURRENCY POLAND
    NLS_LANGUAGE POLISH
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NUMERIC_CHARACTERS .,
    PARAMETER VALUE
    NLS_SORT POLISH
    NLS_TERRITORY POLAND
    NLS_TIME_FORMAT HH24:MI:SSXFF
    NLS_TIMESTAMP_FORMAT RR/MM/DD HH24:MI:SSXFF
    NLS_TIMESTAMP_TZ_FORMAT RR/MM/DD HH24:MI:SSXFF TZR
    NLS_TIME_TZ_FORMAT HH24:MI:SSXFF TZR

    Try use export utility version 9.0.1.1.1 or
    store XMLType as CLOB.

Maybe you are looking for

  • How to assign a system to a solution for EWA in SAP Solution Manager 7.1 Solman 7.1

    Hello Dear experts, I am trying to create and generate an EWA Early Watch report, I am configuring a Solution Manager 7.1 since scratch and now I am in the Managed System configuration - Early Watch Alert Management. I know that in order to get the r

  • Trigger program with ops$account

    Hello rvgv and  Edstevens ; please see trigger program output and my doubts. please clear it. Session 1 SQL> show user; USER is "SYS" SQL> alter user  ops$red  identified by red; User altered. SQL> grant dba to ops$red; Grant succeeded. Session 2 $ w

  • Canvas background via Java

    Is there a way to set the background color of a canvas via Java. I am using FocusLost and FocusGained to change the background color of textfields to be able to better show where the cursor is on a form. I have a couple of forms that have multiple ca

  • FREETALK Connect•Me

    using FREETALK® Connect•Me with skype offer, I have a telephon number with skype and no landline connection (only broadband). My question is this: Can I receive call (to my skype number) and call without landline connection only using skype account w

  • IPhone screen problems

    what to do when iPhone screen is black and not working, possibly from water damage