ORA-29829: implementation type does not exist

Hello,
I get ORA-29829: implementation type does not exist when creating an external table in
Oracle 10g 10.2.0.3.0. Anyone knows why this happens?
Wrote file afiedt.buf
1 CREATE TABLE tim
2 ORGANIZATION EXTERNAL
3 (
4 TYPE ORACLE_DATA_PUMP
5 DEFAULT DIRECTORY tim_dir
6 LOCATION ('tim.dmp')
7 )
8* AS SELECT * FROM dba_tables
AB0318@ditoa1> /
CREATE TABLE tim
ERROR at line 1:
ORA-29829: implementation type does not exist
AB0318@ditoa1> select * from V$OPTION;
PARAMETER VALUE
================================================================ ===================================
Objects TRUE
Regards,
Tim

ORA-29829: implementation type does not exist
Cause: The implementation type specified with USING clause could not be found.
Action: Check to see if the type exists and the user has EXECUTE privilege on this type.

Similar Messages

  • Country implementation 40 does not exist for category IT and type 2001

    Dear Experts,
    I am getting the following error
    "Country implementation 40 does not exist for category IT and type 2001".
    when I tried to create a leave request. I think the HR Ess configuration is complete.
    Kindly, give your valuable inputs, hence I can try & resolve this issue, as I am stuck with this for quite sometime.
    Your inputs will be really valuable.
    Thanks
    Bala

    After suffering this same problem and not finding any help or information ANYWHERE, I debugged the process and found that the error is caused by a missing entry in view V_BLPTYPECOUNTRY.
    I created a new entry in the view with a blank molga and the error goes away.
    The entry I added was:
    Category = IT
    Data Typ = 2001
    Ctry Grouping = (blank)
    Class = CL_PT_BLP_IT2001
    I hope that this can help anyone having the same problem in the future.

  • ORA-39083,ORA-00959: tablespace 'TEST_LIVE' does not exist

    Hi,
    I am trying to import using impdp but i am facing the below mentioned error..
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "TEST_230511"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "TEST_230511"."SYS_IMPORT_FULL_01": TEST_230511/********@GEMSDB REMAP_SCHEMA=TEST_220511:test_230511 DIRECTORY=dump_dict DUMPFILE=test_live_230511.DMP LOGFILE = test_230511.LOG
    Processing object type SCHEMA_EXPORT/USER
    ORA-31684: Object type USER:"TEST_230511" already exists
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/DB_LINK
    Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    ORA-39083: Object type TABLE failed to create with error:
    ORA-00959: tablespace 'TEST_LIVE' does not exist
    Failing sql is:
    CREATE TABLE "TEST_230511"."C_EXPENSECLAIMS_EMPLOYEE" ("C_EXPENSECLAIMS_EMPLOYEE_ID" NUMBER(10,0), "AD_CLIENT_ID" NUMBER(10,0), "AD_ORG_ID" NUMBER(10,0), "ISACTIVE" CHAR(1), "CREATED" DATE, "CREATEDBY" NUMBER(10,0), "UPDATED" DATE, "UPDATEDBY" NUMBER(10,0), "TRANSACTION_DATE" DATE, "EXPENSE_DATE" DATE, "EXPENSE_TYPE_ID" NUMBER(10,0), "BUDGETED" CHAR(1) DEFAULT ('N'), "AMOUNT" NUMBER
    ORA-39083: Object type TABLE failed to create with error:
    ORA-00959: tablespace 'TEST_LIVE' does not exist

    Hi;
    Pelase check below notes which is mention similar error like you hit
    IMPDP REMAP_SCHEMA Option Does Not Import To Default Tablespace [ID 796671.1]
    Also see:
    OERR: ORA 959 "tablespace '%s' does not exist" [ID 18553.1]
    Can't Drop Text Domain Index Which Came Imported To 11.1.0.7 From 10.2.0.4 Export Due to ORA-29868 [ID 751883.1]
    Import Partition Table Fails With Ora-00959: Tablespace '_$Deleted$0$0' [ID 798142.1]
    Regard
    Helios

  • Update_Task results in ORA-01006: bind variable does not exist - bug?

    Hi,
    I have successfuly created projects/tasks, and updated projects. However, when I tried to call pa_project_pub.update_task, I get an error
    U(nexpected):
    PROCEDURE_NAME update_one_task
    PKG_NAME PA_PROJECT_PVT
    FND FND_AS_UNEXPECTED_ERROR
    ERROR_TEXT ORA-01006: bind variable does not exist
    As far as I can see, this must be a bug, because the API must have created an excecute immediate/dbms_sql statement with at least one extra bind variable (i.e. execute '... :a, :b' using a, b, c)
    I've tried with different combinations of arguments to the API, all resulting in the same error:
    The id's and data are taken from a an already created project/task in my apps-instance:
    pa_project_pub.update_task(
    p_api_version_number => 1.0
    ,p_commit => xxpa_opop2pa_interface_utils.g_FALSE
    ,p_msg_count => l_msg_count
    ,p_msg_data => l_msg_data
    ,p_return_status => l_return_status
    ,p_pm_product_code => l_pm_product_code
    ,p_pm_project_reference => '100394'
    ,p_pm_task_reference => 'add_task_1.0'
    -- ,p_ref_task_id => ''
    ,p_task_number => 4
    -- ,p_pa_task_id => '19079'
    ,p_task_name => 'add_task_1.0'
    ,p_long_task_name => 'p_task_name'
    ,p_task_start_date => p_start_date
    ,p_task_completion_date => p_completion_date
    ,p_task_description => 'update-task:'||p_description
    ,p_out_pm_task_reference => l_out_pm_task_reference
    ,p_out_pa_task_id => p_task_id_out
    Am I missing anything, or this really must be a bug in the API?
    Does anyone have any other idea?
    I have looked at the API implementation, and found a use of dbms_sql, a long code constructing a statement then binding variables in if-then clauses.
    Regards,
    ps: ->
    system info
    Database Server
    RDBMS : 11.1.0.6.0
    Oracle Applications : 12.0.6
    System Date : 11-MAY-2009 10:41:50
    Forms Server
    Current Form
    Form Application : Application Object Library
    Form Name : FNDPOMPO
    Form Version : 12.0.2
    Form Last Modified : $Date: 2006/03/23 13:54 $
    Forms
    APPSTAND : 12.0.6.12000000.3
    FNDPOMPO : 12.0.2
    FNDSCSGN : 12.0.14.12000000.3
    Form Menus
    FNDMENU : 12.0.2
    Forms PL/SQL
    APPCORE : 12.0.21.12000000.13
    CUSTOM : 12.0.0
    FNDSQF : 12.0.3
    GHR : 12.0.22.12000000.26
    GLOBE : 12.0.62.12000000.13
    GMS : 12.0.42.12000000.11
    IGILUTIL2 : 12.0.24.12000000.3
    IGILUTIL : 12.0.1.12000000.3
    OPM : 12.0.7.12000000.2
    PQH_GEN : 12.0.7
    PSA : 12.0.17
    PSAC : 12.0.4.12000000.2
    PSB : 12.0.2
    VERT1 : 12.0.0
    VERT2 : 12.0.0
    VERT3 : 12.0.0
    VERT4 : 12.0.0
    VERT5 : 12.0.0
    VERT : 12.0.0
    **********************

    Hello,
    This issue is fixed in the bug 4692368. So you can get a patch from Oracle.
    Hope this helps !
    Thanks,
    Sathish
    www.projectsaccounting.com

  • GATHER_TABLE_STATS ORA-02149: Specified partition does not exist

    Database was upgraded from 8.1.7 to 11.1.0.7 . This type of error appear in alert.log file.
    GATHER_STATS_JOB: GATHER_TABLE_STATS('"abc"','"PLAN_M2"','"PLAN_MAR"', ..
    ORA-02149: Specified partition does not exist
    GATHER_STATS_JOB: GATHER_TABLE_STATS('"abc"','"PLAN_M2"','"PLAN_APR"', ..
    ORA-02149: Specified partition does not exist
    All partitions exists for this table. Does anybody have idea why these errors occur during GATHER STATS JOB run ?

    See if the partition(s) were created using the public/private synonym. If that is the case, then redefining the strategy may solve the issue...

  • ORA-00959: tablespace 'EXAMPLE' does not exist

    hi ! i want to import hr schema to my application server 10g from oracle 10g database.
    oracle application server:
    [oracle@apps ~]$ sqlplus / as sysdba
    SQL> SQL> SELECT * FROM V$VERSION ;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 - Prod
    PL/SQL Release 10.1.0.4.2 - Production
    CORE 10.1.0.4.0 Production
    TNS for Linux: Version 10.1.0.4.0 - Production
    NLSRTL Version 10.1.0.4.2 - Production
    oracle database 10g;
    [oracle@test ~]$ sqlplus / as sysdba
    SQL> SELECT * FROM V$VERSION ;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    exporting schema in oracle database 10g.................
    [oracle@test dpdump]$ expdp DIRECTORY=DATA_PUMP_DIR DUMPFILE=hrschema.dmp logfile=hrschema.log SCHEMAS=hr version=10.1.0.4.2
    Export: Release 10.2.0.1.0 - Production on Friday, 30 April, 2010 9:45:30
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Username: sys as sysdba
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Starting "SYS"."SYS_EXPORT_SCHEMA_01": sys/******** AS SYSDBA DIRECTORY=DATA_PUMP_DIR DUMPFILE=hrschema.dmp logfile=hrschema.log SCHEMAS=hr version=10.1.0.4.2
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 448 KB
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type SCHEMA_EXPORT/TABLE/COMMENT
    Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE
    Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE
    Processing object type SCHEMA_EXPORT/VIEW/VIEW
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    . . exported "HR"."COUNTRIES" 6.085 KB 25 rows
    . . exported "HR"."DEPARTMENTS" 6.632 KB 27 rows
    . . exported "HR"."EMPLOYEES" 15.76 KB 107 rows
    . . exported "HR"."JOBS" 6.609 KB 19 rows
    . . exported "HR"."JOB_HISTORY" 6.585 KB 10 rows
    . . exported "HR"."LOCATIONS" 7.710 KB 23 rows
    . . exported "HR"."REGIONS" 5.289 KB 4 rows
    Master table "SYS"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
    Dump file set for SYS.SYS_EXPORT_SCHEMA_01 is:
    /d01/app/oracle/product/10.2.0/db/admin/orcl/dpdump/hrschema.dmp
    ^[[AJob "SYS"."SYS_EXPORT_SCHEMA_01" successfully completed at 09:45:50
    *transfering the schema dump file to appliaction server..............................*
    [oracle@test dpdump]$ scp hrschema.dmp apps:/d01/backupdp/hrschema.dmp
    oracle@apps's password:
    hrschema.dmp 100% 596KB 596.0KB/s 00:00
    [oracle@test dpdump]$
    Now importing datapump schema from that dump file............................
    [oracle@apps backupdp]$ ls
    example01.dbf hrschema.dmp
    [oracle@apps backupdp]$ impdp DIRECTORY=backupdp DUMPFILE=hrschema.dmp logfile=hrschema.log SCHEMAS=hr
    Import: Release 10.1.0.4.2 - Production on Friday, 30 April, 2010 9:54
    Copyright (c) 2003, Oracle. All rights reserved.
    Username: sys as sysdba
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 - Production
    With the Partitioning, OLAP and Data Mining options
    Master table "SYS"."SYS_IMPORT_SCHEMA_01" successfully loaded/unloaded
    Starting "SYS"."SYS_IMPORT_SCHEMA_01": sys/******** AS SYSDBA DIRECTORY=backupdp DUMPFILE=hrschema.dmp logfile=hrschema.log SCHEMAS=hr
    Processing object type SCHEMA_EXPORT/USER
    ORA-31684: Object type USER:"HR" already exists
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    ORA-39083: Object type TABLE failed to create with error:
    ORA-00959: tablespace 'EXAMPLE' does not exist
    Failing sql is:
    CREATE TABLE "HR"."COUNTRIES" ("COUNTRY_ID" CHAR(2) CONSTRAINT "COUNTRY_ID_NN" NOT NULL ENABLE, "COUNTRY_NAME" VARCHAR2(40), "REGION_ID" NUMBER, CONSTRAINT "COUNTRY_C_ID_PK" PRIMARY KEY ("COUNTRY_ID") ENABLE) ORGANIZATION INDEX NOCOMPRESS PCTFREE 10 INITRANS 2 MAXTRANS 255 NOLOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST
    ORA-39083: Object type TABLE failed to create with error:
    ORA-00959: tablespace 'EXAMPLE' does not exist
    Failing sql is:
    CREATE TABLE "HR"."REGIONS" ("REGION_ID" NUMBER CONSTRAINT "REGION_ID_NN" NOT NULL ENABLE, "REGION_NAME" VARCHAR2(25)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS NOLOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "EXAMPLE"
    ORA-39083: Object type TABLE failed to create with error:
    ORA-00959: tablespace 'EXAMPLE' does not exist
    Failing sql is:
    CREATE TABLE "HR"."LOCATIONS" ("LOCATION_ID" NUMBER(4,0), "STREET_ADDRESS" VARCHAR2(40), "POSTAL_CODE" VARCHAR2(12), "CITY" VARCHAR2(30) CONSTRAINT "LOC_CITY_NN" NOT NULL ENABLE, "STATE_PROVINCE" VARCHAR2(25), "COUNTRY_ID" CHAR(2)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS NOLOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELI
    ORA-39083: Object type TABLE failed to create with error:
    ORA-00959: tablespace 'EXAMPLE' does not exist
    Failing sql is:
    CREATE TABLE "HR"."DEPARTMENTS" ("DEPARTMENT_ID" NUMBER(4,0), "DEPARTMENT_NAME" VARCHAR2(30) CONSTRAINT "DEPT_NAME_NN" NOT NULL ENABLE, "MANAGER_ID" NUMBER(6,0), "LOCATION_ID" NUMBER(4,0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS NOLOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
    ORA-39083: Object type TABLE failed to create with error:
    ORA-00959: tablespace 'EXAMPLE' does not exist
    Failing sql is:
    CREATE TABLE "HR"."JOBS" ("JOB_ID" VARCHAR2(10), "JOB_TITLE" VARCHAR2(35) CONSTRAINT "JOB_TITLE_NN" NOT NULL ENABLE, "MIN_SALARY" NUMBER(6,0), "MAX_SALARY" NUMBER(6,0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS NOLOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "EXAMPL
    ORA-39083: Object type TABLE failed to create with error:
    ORA-00959: tablespace 'EXAMPLE' does not exist
    Failing sql is:
    CREATE TABLE "HR"."EMPLOYEES" ("EMPLOYEE_ID" NUMBER(6,0), "FIRST_NAME" VARCHAR2(20), "LAST_NAME" VARCHAR2(25) CONSTRAINT "EMP_LAST_NAME_NN" NOT NULL ENABLE, "EMAIL" VARCHAR2(25) CONSTRAINT "EMP_EMAIL_NN" NOT NULL ENABLE, "PHONE_NUMBER" VARCHAR2(20), "HIRE_DATE" DATE CONSTRAINT "EMP_HIRE_DATE_NN" NOT NULL ENABLE, "JOB_ID" VARCHAR2(10) CONSTRAINT "EMP_JOB_NN" NOT NULL ENABLE, "SALARY" NUM
    ORA-39083: Object type TABLE failed to create with error:
    ORA-00959: tablespace 'EXAMPLE' does not exist
    Failing sql is:
    CREATE TABLE "HR"."JOB_HISTORY" ("EMPLOYEE_ID" NUMBER(6,0) CONSTRAINT "JHIST_EMPLOYEE_NN" NOT NULL ENABLE, "START_DATE" DATE CONSTRAINT "JHIST_START_DATE_NN" NOT NULL ENABLE, "END_DATE" DATE CONSTRAINT "JHIST_END_DATE_NN" NOT NULL ENABLE, "JOB_ID" VARCHAR2(10) CONSTRAINT "JHIST_JOB_NN" NOT NULL ENABLE, "DEPARTMENT_ID" NUMBER(4,0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
    ORA-39112: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"HR"."COUNTRIES" creation failed
    ORA-39112: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"HR"."COUNTRIES" creation failed
    ORA-39112: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
    ORA-39112: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
    ORA-39112: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
    ORA-39112: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"HR"."JOBS" creation failed
    ORA-39112: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    ORA-39112: Dependent object type INDEX:"HR"."REG_ID_PK" skipped, base object type TABLE:"HR"."REGIONS" creation failed
    ORA-39112: Dependent object type INDEX:"HR"."LOC_ID_PK" skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
    ORA-39112: Dependent object type INDEX:"HR"."LOC_CITY_IX" skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
    ORA-39112: Dependent object type INDEX:"HR"."LOC_STATE_PROVINCE_IX" skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
    ORA-39112: Dependent object type INDEX:"HR"."LOC_COUNTRY_IX" skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
    ORA-39112: Dependent object type INDEX:"HR"."DEPT_ID_PK" skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
    ORA-39112: Dependent object type INDEX:"HR"."DEPT_LOCATION_IX" skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
    ORA-39112: Dependent object type INDEX:"HR"."JOB_ID_PK" skipped, base object type TABLE:"HR"."JOBS" creation failed
    ORA-39112: Dependent object type INDEX:"HR"."EMP_EMAIL_UK" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type INDEX:"HR"."EMP_EMP_ID_PK" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type INDEX:"HR"."EMP_DEPARTMENT_IX" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type INDEX:"HR"."EMP_JOB_IX" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type INDEX:"HR"."EMP_MANAGER_IX" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type INDEX:"HR"."EMP_NAME_IX" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type INDEX:"HR"."JHIST_EMP_ID_ST_DATE_PK" skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
    ORA-39112: Dependent object type INDEX:"HR"."JHIST_JOB_IX" skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
    ORA-39112: Dependent object type INDEX:"HR"."JHIST_EMPLOYEE_IX" skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
    ORA-39112: Dependent object type INDEX:"HR"."JHIST_DEPARTMENT_IX" skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    ORA-39112: Dependent object type CONSTRAINT:"HR"."REG_ID_PK" skipped, base object type TABLE:"HR"."REGIONS" creation failed
    ORA-39112: Dependent object type CONSTRAINT:"HR"."LOC_ID_PK" skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
    ORA-39112: Dependent object type CONSTRAINT:"HR"."DEPT_ID_PK" skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
    ORA-39112: Dependent object type CONSTRAINT:"HR"."JOB_ID_PK" skipped, base object type TABLE:"HR"."JOBS" creation failed
    ORA-39112: Dependent object type CONSTRAINT:"HR"."EMP_SALARY_MIN" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type CONSTRAINT:"HR"."EMP_EMAIL_UK" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type CONSTRAINT:"HR"."EMP_EMP_ID_PK" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type CONSTRAINT:"HR"."JHIST_DATE_INTERVAL" skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
    ORA-39112: Dependent object type CONSTRAINT:"HR"."JHIST_EMP_ID_ST_DATE_PK" skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."REG_ID_PK" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type TABLE:"HR"."COUNTRIES" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."LOC_ID_PK" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."LOC_CITY_IX" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."LOC_STATE_PROVINCE_IX" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."LOC_COUNTRY_IX" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."DEPT_ID_PK" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."DEPT_LOCATION_IX" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."JOB_ID_PK" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."EMP_EMAIL_UK" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."EMP_EMP_ID_PK" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."EMP_DEPARTMENT_IX" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."EMP_JOB_IX" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."EMP_MANAGER_IX" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."EMP_NAME_IX" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."JHIST_EMP_ID_ST_DATE_PK" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."JHIST_JOB_IX" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."JHIST_EMPLOYEE_IX" creation failed
    ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"HR"."JHIST_DEPARTMENT_IX" creation failed
    Processing object type SCHEMA_EXPORT/TABLE/COMMENT
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."COUNTRIES" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."COUNTRIES" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."COUNTRIES" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."COUNTRIES" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOBS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOBS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOBS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOBS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOBS" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
    ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
    Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE
    Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE
    ORA-39082: Object type ALTER_PROCEDURE:"HR"."ADD_JOB_HISTORY" created with compilation warnings
    Processing object type SCHEMA_EXPORT/VIEW/VIEW
    ORA-39082: Object type VIEW:"HR"."EMP_DETAILS_VIEW" created with compilation warnings
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    ORA-39112: Dependent object type REF_CONSTRAINT:"HR"."COUNTR_REG_FK" skipped, base object type TABLE:"HR"."COUNTRIES" creation failed
    ORA-39112: Dependent object type REF_CONSTRAINT:"HR"."LOC_C_ID_FK" skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
    ORA-39112: Dependent object type REF_CONSTRAINT:"HR"."DEPT_MGR_FK" skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
    ORA-39112: Dependent object type REF_CONSTRAINT:"HR"."DEPT_LOC_FK" skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
    ORA-39112: Dependent object type REF_CONSTRAINT:"HR"."EMP_MANAGER_FK" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type REF_CONSTRAINT:"HR"."EMP_JOB_FK" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type REF_CONSTRAINT:"HR"."EMP_DEPT_FK" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type REF_CONSTRAINT:"HR"."JHIST_DEPT_FK" skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
    ORA-39112: Dependent object type REF_CONSTRAINT:"HR"."JHIST_EMP_FK" skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
    ORA-39112: Dependent object type REF_CONSTRAINT:"HR"."JHIST_JOB_FK" skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
    Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
    ORA-39112: Dependent object type TRIGGER:"HR"."SECURE_EMPLOYEES" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type TRIGGER:"HR"."UPDATE_JOB_HISTORY" skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"HR"."REGIONS" creation failed
    ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"HR"."COUNTRIES" creation failed
    ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"HR"."LOCATIONS" creation failed
    ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"HR"."DEPARTMENTS" creation failed
    ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"HR"."JOBS" creation failed
    ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"HR"."EMPLOYEES" creation failed
    ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"HR"."JOB_HISTORY" creation failed
    Job "SYS"."SYS_IMPORT_SCHEMA_01" completed with 123 error(s) at 09:55
    [oracle@apps backupdp]$ ls
    example01.dbf hrschema.dmp hrschema.log
    *[oracle@apps backupdp]$ more hrschema.log*
    Import: Release 10.1.0.4.2 - Production on Friday, 30 April, 2010 9:54
    Copyright (c) 2003, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 - Producti
    on
    With the Partitioning, OLAP and Data Mining options
    Master table "SYS"."SYS_IMPORT_SCHEMA_01" successfully loaded/unloaded
    Starting "SYS"."SYS_IMPORT_SCHEMA_01": sys/******** AS SYSDBA DIRECTORY=backupdp
    DUMPFILE=hrschema.dmp logfile=hrschema.log SCHEMAS=hr
    Processing object type SCHEMA_EXPORT/USER
    ORA-31684: Object type USER:"HR" already exists
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    ORA-39083: Object type TABLE failed to create with error:
    *ORA-00959: tablespace 'EXAMPLE' does not exist*
    Failing sql is:
    CREATE TABLE "HR"."COUNTRIES" ("COUNTRY_ID" CHAR(2) CONSTRAINT "COUNTRY_ID_NN" NOT
    NULL ENABLE, "COUNTRY_NAME" VARCHAR2(40), "REGION_ID" NUMBER, CONSTRAINT "COUNTR
    Y_C_ID_PK" PRIMARY KEY ("COUNTRY_ID") ENABLE) ORGANIZATION INDEX NOCOMPRESS PCTFRE
    E 10 INITRANS 2 MAXTRANS 255 NOLOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTEN
    TS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST
    ORA-39083: Object type TABLE failed to create with error:
    ORA-00959: tablespace 'EXAMPLE' does not exist
    Failing sql is:
    CREATE TABLE "HR"."REGIONS" ("REGION_ID" NUMBER CONSTRAINT "REGION_ID_NN" NOT NULL
    [oracle@apps backupdp]$
    [oracle@apps backupdp]$
    now it is giving error that EXAMPLE tablespace doesnot exist .....so now should i use transporatble tablespace for to trasport example tablepsace from oracle 10g to application server 10g.
    please help.......

    Then i use Transportable tablespaces for transporting example tablespace to application server from oracle 10g.....................
    exported in oracle 10g;
    [oracle@test orcl]$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Apr 30 10:08:06 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>
    SQL> alter tablespace example read only;
    alter tablespace example read only
    ERROR at line 1:
    ORA-01644: tablespace 'EXAMPLE' is already read only
    [oracle@test dpdump]$ expdp DIRECTORY=DATA_PUMP_DIR DUMPFILE=exampletbs.dmp transport_tablespaces=example logfile=exampletbs.log version=10.1.0.4.2;
    Export: Release 10.2.0.1.0 - Production on Friday, 30 April, 2010 10:03:29
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Username: sys as sysdba
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Starting "SYS"."SYS_EXPORT_TRANSPORTABLE_01": sys/******** AS SYSDBA DIRECTORY=DATA_PUMP_DIR DUMPFILE=exampletbs.dmp transport_tablespaces=example logfile=exampletbs.log version=10.1.0.4.2
    Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
    Processing object type TRANSPORTABLE_EXPORT/TYPE/TYPE_SPEC
    Processing object type TRANSPORTABLE_EXPORT/TABLE
    Processing object type TRANSPORTABLE_EXPORT/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type TRANSPORTABLE_EXPORT/INDEX
    Processing object type TRANSPORTABLE_EXPORT/CONSTRAINT/CONSTRAINT
    Processing object type TRANSPORTABLE_EXPORT/INDEX_STATISTICS
    Processing object type TRANSPORTABLE_EXPORT/COMMENT
    Processing object type TRANSPORTABLE_EXPORT/CONSTRAINT/REF_CONSTRAINT
    Processing object type TRANSPORTABLE_EXPORT/TRIGGER
    Processing object type TRANSPORTABLE_EXPORT/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
    Processing object type TRANSPORTABLE_EXPORT/INDEX/STATISTICS/FUNCTIONAL_AND_BITMAP/INDEX_STATISTICS
    Processing object type TRANSPORTABLE_EXPORT/TABLE_STATISTICS
    Processing object type TRANSPORTABLE_EXPORT/DOMAIN_INDEX/INDEX
    Processing object type TRANSPORTABLE_EXPORT/MATERIALIZED_VIEW
    Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PROCACT_INSTANCE
    Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PROCDEPOBJ
    Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PLUGTS_BLK
    Master table "SYS"."SYS_EXPORT_TRANSPORTABLE_01" successfully loaded/unloaded
    Dump file set for SYS.SYS_EXPORT_TRANSPORTABLE_01 is:
    /d01/app/oracle/product/10.2.0/db/admin/orcl/dpdump/exampletbs.dmp
    Job "SYS"."SYS_EXPORT_TRANSPORTABLE_01" successfully completed at 10:04:01
    transfer the example datafile to application server.............
    [oracle@test dpdump]$ scp exampletbs.dmp apps:/d01/backupdp/exampletbs.dmp
    oracle@apps's password:
    exampletbs.dmp 100% 3528KB 3.5MB/s 00:00
    [oracle@test dpdump]$
    [oracle@test dpdump]$
    Import in oracle application server................
    [oracle@apps backupdp]$ ls
    exampletbs.dmp hrschema.dmp hrschema.log
    [oracle@apps backupdp]$ impdp DIRECTORY=backupdp DUMPFILE=exampletbs.dmp transport_datafiles='/d01/backupdp/example01.dbf' logfile=exampletbs.log;
    Import: Release 10.1.0.4.2 - Production on Friday, 30 April, 2010 10:20
    Copyright (c) 2003, Oracle. All rights reserved.
    Username: sys as sysdba
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 - Production
    With the Partitioning, OLAP and Data Mining options
    Master table "SYS"."SYS_IMPORT_TRANSPORTABLE_03" successfully loaded/unloaded
    Starting "SYS"."SYS_IMPORT_TRANSPORTABLE_03": sys/******** AS SYSDBA DIRECTORY=backupdp DUMPFILE=exampletbs.dmp transport_datafiles=/d01/backupdp/example01.dbf logfile=exampletbs.log
    Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
    ORA-39123: Data Pump transportable tablespace job aborted
    ORA-00721: changes by release 10.2.0.1.0 cannot be used by release 10.1.0.2.0
    Job "SYS"."SYS_IMPORT_TRANSPORTABLE_03" stopped due to fatal error at 10:21
    [oracle@apps backupdp]$
    [oracle@apps backupdp]$ more exampletbs.log
    Import: Release 10.1.0.4.2 - Production on Friday, 30 April, 2010 10:20
    Copyright (c) 2003, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 - Producti
    on
    With the Partitioning, OLAP and Data Mining options
    Master table "SYS"."SYS_IMPORT_TRANSPORTABLE_03" successfully loaded/unloaded
    Starting "SYS"."SYS_IMPORT_TRANSPORTABLE_03": sys/******** AS SYSDBA DIRECTORY=ba
    ckupdp DUMPFILE=exampletbs.dmp transport_datafiles=/d01/backupdp/example01.dbf log
    file=exampletbs.log
    Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
    ORA-39123: Data Pump transportable tablespace job aborted
    ORA-00721: changes by release 10.2.0.1.0 cannot be used by release 10.1.0.2.0
    Job "SYS"."SYS_IMPORT_TRANSPORTABLE_03" stopped due to fatal error at 10:21
    [oracle@apps backupdp]$
    please can anybody help........................

  • Emca fails - ORA-04043: object HA_HOST_CREDS_ARR does not exist

    I'm recreating an EM repository in an 11g database which I upgraded from 10g recently. Its running on Solaris 10 and its repository wasn't working so I dropped it with plans to recreated it. As part of the prep work I did the following:
    - Dropped user sysman with cascade option
    - Dropped public synonyms referencing tables owned by sysman
    - Altered profile default making its attributes unlimited (company I work for change it for security)
    - Dropped role MGMT_USER
    After setting the Oracle Home and SID I ran emca:
    emca -config dbcontrol db -repos create
    It produced errors detailed in emConfig.log and its associated emca_repos_create_<date>.log respectively:
    emConfig.log
    Jan 18, 2011 1:48:20 PM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Jan 18, 2011 1:48:27 PM oracle.sysman.emcp.EMReposConfig createRepository
    CONFIG: ORA-04043: object HA_HOST_CREDS_ARR does not exist
    ORA-06512: at line 14
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-04043: object HA_HOST_CREDS_ARR does not exist
    ORA-06512: at line 14
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1650)
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeScript(SQLEngine.java:1000)
    at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:339)
    at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:380)
    at oracle.sysman.emcp.EMReposConfig.createRepository(EMReposConfig.java:511)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:229)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:589)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1448)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)
    Jan 18, 2011 1:48:27 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error creating the repository
    Jan 18, 2011 1:48:27 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/t28gdr/emca_repos_create_<date>.log for more details.
    Jan 18, 2011 1:48:27 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error creating the repository
    Refer to the log file at /u01/app/oracle/admin/t28gdr/scripts/emConfig.log for more details.
    Jan 18, 2011 1:48:27 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error creating the repository
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:241)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:589)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1448)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)
    Jan 18, 2011 1:48:27 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to /u01/app/oracle/product/11.2.0/db_1/oui
    emca_repos_create_2011_01_18_13_48_20.log
    Check if repos user already exists.
    old 6: WHERE username=UPPER('&EM_REPOS_USER');
    new 6: WHERE username=UPPER('SYSMAN');
    old 8: IF ( '&EM_CHECK_TYPE' = 'EXISTS') THEN
    new 8: IF ( 'NOT_EXISTS' = 'EXISTS') THEN
    old 11: raise_application_error(-20000, '&EM_REPOS_USER does not exists..');
    new 11: raise_application_error(-20000, 'SYSMAN does not exists..');
    old 14: ELSIF ( '&EM_CHECK_TYPE' = 'NOT_EXISTS' ) THEN
    new 14: ELSIF ( 'NOT_EXISTS' = 'NOT_EXISTS' ) THEN
    old 17: raise_application_error(-20001, '&EM_REPOS_USER already exists..');
    new 17: raise_application_error(-20001, 'SYSMAN already exists..');
    old 21: raise_application_error(-20002, 'Invalid Check type &EM_CHECK_TYPE');
    new 21: raise_application_error(-20002, 'Invalid Check type NOT_EXISTS');
    Create SYSMAN user.
    No errors.
    Script to revoke DBA role from SYSMAN and grant required privileges
    No errors.
    Create core schema..
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    No errors.
    DECLARE
    ERROR at line 1:
    ORA-04043: object HA_HOST_CREDS_ARR does not exist
    ORA-06512: at line 14
    How can I correct this so the repository install progresses?
    Thanks!
    Edited by: Timothy from Minneapolis on Jan 18, 2011 1:04 PM
    Edited by: Timothy from Minneapolis on Jan 18, 2011 1:05 PM

    Hi,
    the missing object is a "table-type" object which you can create with the statement:
    CREATE TYPE "SYSMAN"."HA_HOST_CREDS_ADDR" AS
    TABLE OF "SYSMAN"."HA_HOST_CREDS_OBJ"
    But this will work only if the "object-type" object HA_HOST_CREDS_OBJ exists. If not, here's the statement:
    CREATE TYPE "SYSMAN"."HA_HOST_CREDS_OBJ" AS OBJECT ( "CRED_SET"
    VARCHAR2(32), "PASSWORD" VARCHAR2(256), "USERNAME"
    VARCHAR2(256) )
    I'm not sure why this objects don't exist - the belong to the user SYSMAN and should get created when creating the user SYSMAN...
    HTH

  • Java.sql.SQLException: ORA-01006: bind variable does not exist

    The java code is given below...
    /*UPDATE D9T652_DISBRSMNT_PRMTR
                        SET
                             Stmnt_Page_Wgt_Ozs = wtStatementStockSheet,
                        Chk_Page_Wgt_Ozs = wtCheckStockSheet,
                        Flat_Envelope_Wgt_Ozs = wtFlatEnv,
                        Half_Fold_Envelope_Wgt_Ozs = wtHalfFoldEnv,
                        Last_Chngd_By = TRIM(userId),
                        Last_Chngd_Dt = sysdate
                        WHERE
                             Ins_Sys_Id = Ins_Sys_Id_Constant_For_Compass AND
                             Last_Chngd_Dt = SELECT MAX(Last_Chngd_Dt)
              FROM D9T652_DISBRSMNT_PRMTR
              WHERE Ins_Sys_Id = Ins_Sys_Id_Constant_For_Compass
    updateDbPmtr= new StringBuffer(" UPDATE ")
    .append(SqlConst.PARAM)
    .append(" SET ")
    .append(SqlConst.PARAM).append(".").append(SqlConst.PARAM_DSBRSMNT_PRMTR_ID).append(" = 100, ")
    .append(SqlConst.PARAM).append(".").append(SqlConst.PARAM_MIN_DSBRSMNT_AMT).append(" = ? ").append(",")
    .append(SqlConst.PARAM).append(".").append(SqlConst.PARAM_OVRRD_MIN_DSBRSMNT_DT).append(" = ").append(currentTimeStamp).append(",")
    .append(SqlConst.PARAM).append(".").append(SqlConst.PARAM_SPCL_HNDLG_AMT).append(" = ? ").append(", ")
    .append(SqlConst.PARAM).append(".").append(SqlConst.PARAM_STMNT_DT).append(" = ").append(currentTimeStamp).append(" , ")
    .append(SqlConst.PARAM).append(".").append(SqlConst.PARAM_LAST_CHNGD_BY).append(" ='?' ").append(" , ")
    .append(SqlConst.PARAM).append(".").append(SqlConst.PARAM_LAST_CHNGD_DT).append(" = ").append(currentTimeStamp)
    .append(" WHERE ")
    .append(SqlConst.PARAM).append(".").append(SqlConst.PARAM_INS_SYS_ID).append(" = ? ")
    .append(" AND ")
    .append(SqlConst.PARAM).append(".").append(SqlConst.PARAM_LAST_CHNGD_DT)
    .append(" = ")
    .append(" ( SELECT ")
    .append(" MAX( ").append(SqlConst.PARAM_LAST_CHNGD_DT).append(" ) ")
    .append(" FROM ").append(SqlConst.PARAM)
    .append(" WHERE ")
    .append(SqlConst.PARAM_INS_SYS_ID).append(" = ? )").toString();
    conn = SqlUtil.getConnection();
    conn.setAutoCommit(false);     
    prepStmtDsbrsmntPmtr = conn.prepareStatement(updateDbPmtr);                     
    prepStmtStckWght      = conn.prepareStatement(updateStkWght);
                        String minDsbrsmntAmount     = parametersListForm.getParametersForm().getMinDisbursementAmt();
                        String specialHndlAmount     = parametersListForm.getParametersForm().getSpecialHandlingAmt();
                        String statementDt               = parametersListForm.getParametersForm().getStatementDate();
                        String overrideCycleDt          = parametersListForm.getParametersForm().getOverrideCycleDate();
                        String lastMdfdBy               = parametersListForm.getParametersForm().getLastModifiedBy();
                        String lastMdfdDt               = parametersListForm.getParametersForm().getLastModifiedDate();
                        String wtStmtStkSheet          = parametersListForm.getParametersForm().getWtStatementStockSheet();
                        String wtHlfFoldEnvelope     = parametersListForm.getParametersForm().getWtHalfFoldEnv();
                        String wtFltEnvelope          = parametersListForm.getParametersForm().getWtFlatEnv();
                        String wtChkStkSheet          = parametersListForm.getParametersForm().getWtCheckStockSheet();
    prepStmtDsbrsmntPmtr.setLong(1,Integer.parseInt(minDsbrsmntAmount));
    prepStmtDsbrsmntPmtr.setLong(2, Long.parseLong(specialHndlAmount));
    prepStmtDsbrsmntPmtr.setString(3,lastMdfdBy);
    prepStmtDsbrsmntPmtr.setLong(4,1);
    prepStmtDsbrsmntPmtr.setLong(5,1);
    int rUpdtInParam = prepStmtDsbrsmntPmtr.executeUpdate();
    ========================================================================
    I am getting following errors...
    [8/6/04 19:17:14:286 GMT+05:30] 19192340 SystemErr R java.sql.SQLException: ORA-01006: bind variable does not exist
    [8/6/04 19:17:14:302 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:314)
    [8/6/04 19:17:14:317 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:117)
    [8/6/04 19:17:14:349 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:306)
    [8/6/04 19:17:14:364 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:43)
    [8/6/04 19:17:14:380 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:41)
    [8/6/04 19:17:14:411 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:941)
    [8/6/04 19:17:14:427 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:662)
    [8/6/04 19:17:14:442 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:214)
    [8/6/04 19:17:14:474 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:135)
    [8/6/04 19:17:14:489 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:227)
    [8/6/04 19:17:14:505 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:72)
    [8/6/04 19:17:14:536 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:190)
    [8/6/04 19:17:14:552 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:406)
    [8/6/04 19:17:14:567 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:57)
    [8/6/04 19:17:14:583 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:461)
    [8/6/04 19:17:14:614 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:414)
    [8/6/04 19:17:14:630 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:614)
    [8/6/04 19:17:14:661 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:57)
    [8/6/04 19:17:14:677 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:461)
    [8/6/04 19:17:14:692 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:414)
    [8/6/04 19:17:14:708 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:614)
    [8/6/04 19:17:14:739 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:414)
    [8/6/04 19:17:14:755 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:614)
    [8/6/04 19:17:14:770 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:414)
    [8/6/04 19:17:14:802 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:614)
    [8/6/04 19:17:14:817 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:414)
    [8/6/04 19:17:14:833 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:614)
    [8/6/04 19:17:14:864 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:190)
    [8/6/04 19:17:14:880 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:406)
    [8/6/04 19:17:14:896 GMT+05:30] 19192340 SystemErr R      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:614)
    ========================================================================
    Database Table:-
    Desc D9T651_DSBRSMNT_PRMTR:
    Name Null? Type
    DSBRSMNT_PRMTR_ID NOT NULL NUMBER(38)
    INS_SYS_ID NUMBER(38)
    MIN_DSBRSMNT_AMT NUMBER(15,2)
    OVRRD_MIN_DSBRSMNT_DT DATE
    SPCL_HNDLG_AMT NUMBER(15,2)
    STMNT_DT DATE
    CRTD_BY VARCHAR2(30)
    CRTD_DT DATE
    LAST_CHNGD_BY VARCHAR2(30)
    LAST_CHNGD_DT DATE

    What exactly are you trying to do? If you're trying to run an update statement, it's simpler if you do this:
    PreparedStatement pstmt = null;
    Connection conn = ?????;
    String updateStr = "UPDATE D9T652_DISBRSMNT_PRMTR " +
    "SET " +
    "Stmnt_Page_Wgt_Ozs = ?, " +
    "Chk_Page_Wgt_Ozs = ?, " +
    "Flat_Envelope_Wgt_Ozs = ?, " +
    "Half_Fold_Envelope_Wgt_Ozs = ?, " +
    "Last_Chngd_By = TRIM(?), " +
    "Last_Chngd_Dt = ? " +
    "WHERE " +
    "Ins_Sys_Id = Ins_Sys_Id_Constant_For_Compass AND " +
    "Last_Chngd_Dt = (SELECT MAX(Last_Chngd_Dt) " +
    "FROM D9T652_DISBRSMNT_PRMTR " +
    "WHERE Ins_Sys_Id = Ins_Sys_Id_Constant_For_Compass) "
    From the String constructed above, the first ? mark will be bind to 1, second to 2..... etc and you can set the appropriate types.
    pstmt = conn.prepareStatement(updateStr);
    pstmt.setString(1, request.getParameter("formValue1")); // this is assuming you want to store string value in DB field
    pstmt.setInt(2, Integer.parseInt(request.getParameter("formValue2"))); // this is assuming you want to store int value in DB field
    pstmt.setTimestamp(3, new java.sql.Timestamp(new java.util.Date().getTime())); // this is assuming you want to store current time in DB Date field
    ..... etc
    ..... etc
    ...... etc
    int rows = pstmt.executeUpdate();
    Hope this helps!!

  • ORA-27473: argument 1 does not exist

    Hello
    I've been trying to create a file_watcher to check for files arriving at the filesystem. But keep getting the error "ORA-27473: argument 1 does not exist ". I've searched forums but can't find an answer to get me on track.
    Does anyone know why I get this error?
    The examples I've been following are those provided by oracle and some from the web. All very simple and run, but mine does not.
    The system I'm using is a Oracle prebuilt VM 'Database App Development VM', where the OS is Oracle Linux 5 and Oracle Database 11.2 EE.
    An example is this: http://awads.net/wp/2011/03/29/did-you-know-about-file-watchers/
    /JacMa

    Just wondering whether your enter this part correctly ?
    BEGIN
    2 DBMS_SCHEDULER.create_program (
    3 program_name => 'image_watcher_p',
    4 program_type => 'stored_procedure',
    5 program_action => 'process_image_files',
    6 number_of_arguments => 1,
    7 enabled => FALSE);
    8 DBMS_SCHEDULER.define_metadata_argument (
    9 program_name => 'image_watcher_p',
    10 metadata_attribute => 'event_message',
    11 argument_position => 1);
    12 DBMS_SCHEDULER.enable ('image_watcher_p');
    13 END;
    14 /

  • About ora-01006 :bind variable does not exist

    Hi all of you,i have this dynamic sql :
    DECLARE
    v_query clob;
    cpt number;
    begin
    v_query:='
    SELECT
    count(TBA.ANT_ID)
      FROM
    WHERE TBA.ANT_FUT_ID = TFT.FUT_ID
           AND TBA.ANT_KATEGORIE_CODE_ID = TAKCL.ANT_KATEGORIE_CODE_ID(+)
           AND TBA.ANT_KFZ_REIHEN_ID = TKR.KFZ_REIHEN_ID(+)
           AND TBA.ANT_ID = F1.ANT_ANT_ID(+)
           AND TBA.ANT_ID = F2.ANT_ANT_ID(+)
           AND TBA.ANT_ID = F3.ANT_ANT_ID(+)
           AND TBA.ANT_ID = ERS.ers_bdk(+)
           AND TBA.ANT_ID = F1_2.ANT_ANT_ID(+)
           AND TBA.ANT_ID = F2_3.ANT_ANT_ID(+)
           AND TBA.ANT_ID = MFU.MFU_ANT_ID(+)
           AND MFU.MFU_NIETGEOMETRIE_ID = NG.NG_ID(+)
           AND MFU.MFU_MATRIZEN_BEICHNUNG_ID = MZB.MZB_ID(+)
        -- Suchkriterien: --
        --Ersteller
        AND  DECODE( ERS.ers_id, NULL, ''%'', ERS.ers_name ) LIKE DECODE('':1'',NULL,''%'','''')||''''|| :1 ||''''||DECODE('':1'',NULL,''%'','''')
         --Fahrzeug
        AND  DECODE( TKR.NAME, NULL, ''%'', TKR.NAME ) LIKE DECODE('':2'',NULL,''%'','''')||''''|| :2 ||''''|| DECODE('':2'',NULL,''%'','''')
         --BDK
        AND  DECODE( fuege_db.bdk_nummer( TBA.ANT_ID,''.'' ), NULL, ''%%'',
       fuege_db.bdk_nummer( TBA.ANT_ID,''.'' ) )   LIKE ''%''||:3||''%''
        --Technologie
        AND  TBA.ANT_FUT_ID LIKE DECODE('':4'',NULL,''%'','''')||''''|| :4 ||''''||DECODE('':4'',NULL,''%'','''')
         --Art
        AND ((TBA.ANT_WFP_ID is null and 1=DECODE('':5'',NULL,1,1,1) ) or (TBA.ANT_WFP_ID is not null and 2=DECODE('':5'',NULL,2,2,2)))
        --VTA
        AND TBA.ANT_VTA = decode('':6'',1,1,TBA.ANT_VTA)  ';
    execute immediate v_query
    into cpt USING
    'Dominik Hussmann',
    'AU736_Q7_SUV' ,
    'WPS Stahl',
    '0';  
    end ;
    In the execution,i have this error :ora-01006 :bind variable does not exist, after analyzing,i have found that the problem is with parameters :5 and :6 ,i don't understand they have the same syntax
    as bind variables 1,2,3 and 4.
    Than you for any suggestion.

    I hope you do realise that there are 13 bind-variables in your sql, not 6?
    Variables are bound by position. You cannot use the same bind variable twice, they will be 2 distinct bind variables.
    For example, you use :1 three times, so you need to provide three arguments, in this case three times the same value.

  • ORA-20001 FLEX-ID DOES NOT EXIST

    Hi Experts,
    Please am having this issue when running create Grade api for HCM of Oracle EBS.
    When i execute this script below to existing Business Group( Vision University 1759 or Vision Corporation 202 ) data is transferred to per_grades and per_grade_definitions tables
    But when i execute this same script pointing to a Business Group  (TEST  BG 7891) we created by ourself  it gives error code ORA-20001 FLEX-ID DOES NOT EXIST
    I have a strong feeling that creating our Business Group and setting up the Grade Flexfield has a problem, but i can 't trace the fault, am not EBS expert
    Please can you please advice where am going wrong !!
    Thanks,
    Kwesi
    SCRIPT BELOW:
    Procedure Create_Grade
    is
    l_Validate  Boolean := FALSE;
    l_Business_Group_id Number(15,2);
    l_Date_From Date;
    l_Sequence  Number(15,2);
    l_Grade_id  Number(15,2);
    l_Object_Version_Number Number(15,2);
    l_Grade_Definition_id Number(15,2);
    l_Name  Varchar2(100);
    l_OVN Number(15,2) := 1;
    i Number;
    Begin
    For Grad In (Select * from chr_Grades where OVN IN l_OVN) loop 
    Begin
    apps.hr_grade_api.Create_Grade(
    p_Validate => l_Validate,
    p_Business_Group_id =>7891,
    p_Date_From => to_Date(sysdate,'DD-MM-YYYY'),
    p_Sequence => 11,
    p_Grade_id => l_Grade_id,
    p_Object_Version_Number => l_Object_Version_Number,
    p_Grade_Definition_id => l_Grade_Definition_id,
    p_Name => l_Name,
    p_segment1 => Grad.Grade_id,
    p_segment2 => Grad.Grade_Name,
    p_segment3 => Grad.Grade_Description
    Update chr_Grades Set OVN = 2
       where Grade_id  = Grad.Grade_id;
          End;
    End loop;
    Commit;
    End Create_Grade;

    Well, i found the solution to my problem, and is just creating the segment you want to use in your flexfield without PASSING ANY VALUESET.

  • ORA-20211: Active job does not exist, cannot link to job record.

    Getting the above error while executing OWB mapping in production environment.
    Details of the error :
    ORA-20211: Active job does not exist, cannot link to job record.
    ORA-06512: at "RADRUN.WB_RT_MAPAUDIT", line 1278
    ORA-06512: at "RADRUN.WB_RT_MAPAUDIT", line 2110
    ORA-06512: at "RADSTG.MAP_STG_AIRCRAFT", line 2384
    ORA-06512: at "RADSTG.MAP_STG_AIRCRAFT", line 2513
    RADRUN -- runtime schema
    RADSTG -- Target schema where mappings deployed.
    source database is accessed through a DB link.
    OWB version - 10.1.0.4.0
    Oracle - 9.2.0.6.0
    Here mappings are getting executed by calling a pl/sql procedure. This pl/sql procedure is executed every day by scheduling a dbms_job. After the error, the job is in hanging.
    Last week also the same error happened, on that occasion , restarted the database and re submitted the job. Mapping executed without any error.
    Looking for the expert comments

    Hi.
    See Note:125860.1 in metalink (and please, lol to solution #3). It applies to older OWB versions though... Are you using DBMS_JOB or OEM to run these mappings? If so, then the metalink note might be useful help.
    Karesz, I believe if the source database was down, it would fail with an ORA-12XXX Error.
    Regards,
    Marcos

  • I am getting this error message "ORA-01006: bind variable does not exist.

    My code works fine like this:
    DECLARE
    v_JOBTYPE varchar2(8);
    v_STATUS varchar2(8);
    v_FAILURE varchar2(8);
    v_CAUSE varchar2(8);
    v_ACTION varchar2(8);
    BEGIN
    SELECT EVT_STATUS, EVT_FAILURE, EVT_CAUSE, EVT_ACTION, EVT_JOBTYPE
    INTO v_STATUS, v_FAILURE, v_CAUSE, v_ACTION, v_JOBTYPE
    FROM R5EVENTS WHERE ROWID = :ROWID;
    IF NVL(v_STATUS, 'X') = 'C' AND NVL(v_JOBTYPE , 'X') IN ('BRKD','UNPLBRKD','FILTRA', 'LUB', 'FAC') AND (v_FAILURE IS NULL OR v_CAUSE IS NULL OR v_ACTION IS NULL) THEN
    RAISE_APPLICATION_ERROR( -20001, 'FAILURE, CAUSE AND ACTION FIELDS MUST BE POPULATED');
    END IF;
    END;
    But I want to change the code to include a record (ACT_TRADE) from another table(R5ACTIVITIES). I am getting this error message "ORA-01006: bind variable does not exist - POST-UPDATE 200Before Binding". Any help would be appreciated.
    DECLARE
    v_STATUS varchar2(8);
    v_FAILURE varchar2(8);
    v_CAUSE varchar2(8);
    v_ACTION varchar2(8);
    V_CODE varchar2(8);
    V_EVENT varchar2(8);
    V_TRADE varchar2(8);
    BEGIN
    SELECT R5EVENTS.EVT_STATUS, R5EVENTS.EVT_FAILURE, R5EVENTS.EVT_CAUSE, R5EVENTS.EVT_ACTION, R5EVENTS.EVT_CODE, R5ACTIVITIES.ACT_EVENT, R5ACTIVITIES.ACT_TRADE
    INTO v_STATUS, v_FAILURE, v_CAUSE, v_ACTION, V_CODE, V_EVENT, V_TRADE
    FROM R5EVENTS, R5ACTIVITIES WHERE V_CODE = :V_EVENT;
    IF NVL(v_STATUS, 'X') = 'C' AND NVL(v_TRADE , 'X') IN ('MTM','MTL','MTMGT', 'FTM', 'FTL', 'FTMGT', 'R5') AND (v_FAILURE IS NULL OR v_CAUSE IS NULL OR v_ACTION IS NULL) THEN
    RAISE_APPLICATION_ERROR( -20001, 'FAILURE, CAUSE AND ACTION FIELDS MUST BE POPULATED');
    END IF;
    END;

    Thank you for your responses. Your feedback was helpful. This is what I ended up doing for a solution:
    DECLARE
    v_JOBTYPE varchar2(8);
    v_STATUS varchar2(8);
    v_FAILURE varchar2(8);
    v_CAUSE varchar2(8);
    v_ACTION varchar2(8);
    v_GROUP varchar2(30);
    BEGIN
    SELECT EVT_STATUS, EVT_FAILURE, EVT_CAUSE, EVT_ACTION, EVT_JOBTYPE, USR_GROUP
    INTO v_STATUS, v_FAILURE, v_CAUSE, v_ACTION, v_JOBTYPE, v_GROUP
    FROM R5EVENTS, R5USERS WHERE R5EVENTS.ROWID = :ROWID
    AND USR_CODE = O7SESS.CUR_USER;
    IF NVL(v_STATUS, 'X') = 'C' AND NVL(V_GROUP,'X') IN ('MTM','MTL','MTMGT','FTL','FTMGTS','PLANNER','DISPATCH','PMCOOR','R5') AND (v_FAILURE IS NULL OR v_CAUSE IS NULL OR v_ACTION IS NULL) THEN
    RAISE_APPLICATION_ERROR( -20001, 'FAILURE, CAUSE AND ACTION FIELDS MUST BE POPULATED');
    END IF;
    END;

  • ORA-15001: diskgroup "FRA" does not exist or is not mounted

    Dear Experts,
    We noticed the error "ORA-15001: diskgroup "FRA" does not exist or is not mounted" on the 2nd node of our 4 nodes RAC database system.
    During this weekend, we moved our system to a new data center. After the move was done, we were able to bring up the 4 instances around 3:00 AM. However, 4 hours later (7:00 AM), OEM Grid control alerted us with "archival error" on the 2nd instance. From our investigating, we saw the FRA was dismounted. Below is the oracle alert log file (For secuirty reson, the SID is modified):
    Sat Feb  7 03:46:03 2009
    Completed: ALTER DATABASE OPEN
    Sat Feb  7 03:50:18 2009
    Sat Feb  7 07:01:36 2009
    Thread 2 advanced to log sequence 8534
      Current log# 3 seq# 8534 mem# 0: +REDOGRPA/xyz/onlinelog/redo_03.log
      Current log# 3 seq# 8534 mem# 1: +REDOGRPB/xyz/onlinelog/redo_03b.log
    Sat Feb  7 07:01:39 2009
    ARCH: Archival stopped, error occurred. Will continue retrying
    Sat Feb  7 07:01:39 2009
    ORACLE Instance XYZ2 - Archival Error
    Sat Feb  7 07:01:39 2009
    ORA-16038: log 11 sequence# 8533 cannot be archived
    ORA-00254: error in archive control string ''
    ORA-00312: online log 11 thread 2: '+REDOGRPA/xyz/onlinelog/redo_11.log'
    ORA-00312: online log 11 thread 2: '+REDOGRPB/xyz/onlinelog/redo_11b.log'
    ORA-15001: diskgroup "FRA" does not exist or is not mounted
    ORA-15001: diskgroup "FRA" does not exist or is not mounted It is my understanding, that Oracle will automatically mount the diskgroups on the ASM when the instances are started. In our case, all other diskgroups are started OK but not the FRA diskgroup. Is this a bug with FRA where FRA can not be automatically started up after recycling the instance? Did anyone experience the same situation? Can someone advice?
    Thanks!

    Hello,
    We are running oracle 10.2.0.2.
    Which section of the alert log file for +ASM2 we need here? I will paste it here the ones when "alter diskgroup all mounted" started at 3:00 AM all the way upto 4:00 AM on Saturday, Feb 7:
    SQL> ALTER DISKGROUP ALL MOUNT
    Sat Feb  7 03:44:15 2009
    NOTE: cache registered group FRA' number=1 incarn=0x1e5bf0d2
    NOTE: cache registered group DATAX number=2 incarn=0xbcabf0d1
    NOTE: cache registered group REDO2 number=4 incarn=0x1e5bf0d3
    NOTE: cache registered group REDOGRPA number=5 incarn=0xbcbbf0d4
    NOTE: cache registered group REDOGRPB number=6 incarn=0xbcbbf0d5
    NOTE: cache registered group TEMPX number=7 incarn=0xbcbbf0d6
    NOTE: cache registered group TEMP number=8 incarn=0x1e6bf0d7
    NOTE: cache registered group TIBDATA number=9 incarn=0xbcbbf0d8
    NOTE: cache registered group TIBREDO number=10 incarn=0xbcbbf0d9
    NOTE: cache registered group TIBTEMP number=11 incarn=0x1ebbf0da
    Sat Feb  7 03:44:15 2009
    ERROR: no PST quorum in group 1: required 2, found 0
    Sat Feb  7 03:44:15 2009
    NOTE: cache dismounting group 1/0x1E5BF0D2 (FRA')
    NOTE: dbwr not being msg'd to dismount
    ERROR: diskgroup FRA' was not mounted
    Sat Feb  7 03:44:15 2009
    NOTE: Hbeat: instance not first (grp 2)
    ERROR: no PST quorum in group 4: required 2, found 0
    Sat Feb  7 03:44:15 2009
    NOTE: cache dismounting group 4/0x1E5BF0D3 (REDO2)
    NOTE: dbwr not being msg'd to dismount
    ERROR: diskgroup REDO2 was not mounted
    Sat Feb  7 03:44:15 2009
    NOTE: Hbeat: instance not first (grp 5)
    Sat Feb  7 03:44:15 2009
    NOTE: Hbeat: instance not first (grp 6)
    Sat Feb  7 03:44:15 2009
    NOTE: Hbeat: instance not first (grp 7)
    ERROR: no PST quorum in group 8: required 2, found 0
    Sat Feb  7 03:44:15 2009
    NOTE: cache dismounting group 8/0x1E6BF0D7 (TEMP)
    NOTE: dbwr not being msg'd to dismount
    ERROR: diskgroup TEMP was not mounted
    Sat Feb  7 03:44:15 2009
    NOTE: Hbeat: instance not first (grp 9)
    Sat Feb  7 03:44:15 2009
    NOTE: Hbeat: instance not first (grp 10)
    ERROR: no PST quorum in group 11: required 2, found 0
    Sat Feb  7 03:44:15 2009
    NOTE: cache dismounting group 11/0x1EBBF0DA (TIBTEMP)
    NOTE: dbwr not being msg'd to dismount
    ERROR: diskgroup TIBTEMP was not mounted
    NOTE: cache opening disk 0 of grp 2: DATAX_0000 path:/dev/raw/raw61
    NOTE: F1X0 found on disk 0 fcn 0.0
    NOTE: cache mounting (not first) group 2/0xBCABF0D1 (DATAX)
    Sat Feb  7 03:44:16 2009
    kjbdomatt send to node 0
    kjbdomatt send to node 2
    kjbdomatt send to node 3
    Sat Feb  7 03:44:16 2009
    NOTE: attached to recovery domain 2
    Sat Feb  7 03:44:16 2009
    NOTE: opening chunk 4 at fcn 0.1158090 ABA
    NOTE: seq=54 blk=4821
    Sat Feb  7 03:44:16 2009
    NOTE: cache mounting group 2/0xBCABF0D1 (DATAX) succeeded
    SUCCESS: diskgroup DATAX was mounted
    NOTE: cache opening disk 0 of grp 5: REDOGRPA_0000 path:/dev/raw/raw20
    NOTE: F1X0 found on disk 0 fcn 0.0
    NOTE: cache mounting (not first) group 5/0xBCBBF0D4 (REDOGRPA)
    Sat Feb  7 03:44:16 2009
    kjbdomatt send to node 0
    kjbdomatt send to node 2
    kjbdomatt send to node 3
    Sat Feb  7 03:44:16 2009
    NOTE: recovering COD for group 2/0xbcabf0d1 (DATAX)
    SUCCESS: completed COD recovery for group 2/0xbcabf0d1 (DATAX)
    Sat Feb  7 03:44:16 2009
    NOTE: attached to recovery domain 5
    Sat Feb  7 03:44:16 2009
    NOTE: opening chunk 4 at fcn 0.103802 ABA
    NOTE: seq=43 blk=2123
    Sat Feb  7 03:44:16 2009
    NOTE: cache mounting group 5/0xBCBBF0D4 (REDOGRPA) succeeded
    SUCCESS: diskgroup REDOGRPA was mounted
    NOTE: cache opening disk 0 of grp 6: REDOGRPB_0000 path:/dev/raw/raw12
    NOTE: F1X0 found on disk 0 fcn 0.0
    NOTE: cache mounting (not first) group 6/0xBCBBF0D5 (REDOGRPB)
    Sat Feb  7 03:44:16 2009
    kjbdomatt send to node 0
    kjbdomatt send to node 2
    kjbdomatt send to node 3
    Sat Feb  7 03:44:17 2009
    NOTE: attached to recovery domain 6
    Sat Feb  7 03:44:17 2009
    NOTE: opening chunk 4 at fcn 0.75866 ABA
    NOTE: seq=20 blk=1704
    Sat Feb  7 03:44:17 2009
    NOTE: cache mounting group 6/0xBCBBF0D5 (REDOGRPB) succeeded
    SUCCESS: diskgroup REDOGRPB was mounted
    NOTE: cache opening disk 0 of grp 7: TEMPX_0000 path:/dev/raw/raw71
    NOTE: F1X0 found on disk 0 fcn 0.25328
    NOTE: cache opening disk 1 of grp 7: TEMPX_0001 path:/dev/raw/raw7
    NOTE: cache mounting (not first) group 7/0xBCBBF0D6 (TEMPX)
    Sat Feb  7 03:44:17 2009
    kjbdomatt send to node 0
    kjbdomatt send to node 2
    kjbdomatt send to node 3
    Sat Feb  7 03:44:17 2009
    NOTE: attached to recovery domain 7
    Sat Feb  7 03:44:17 2009
    NOTE: opening chunk 4 at fcn 0.69473 ABA
    NOTE: seq=42 blk=432
    Sat Feb  7 03:44:17 2009
    NOTE: cache mounting group 7/0xBCBBF0D6 (TEMPX) succeeded
    SUCCESS: diskgroup TEMPX was mounted
    NOTE: cache opening disk 0 of grp 9: TIBDATA path:/dev/raw/raw86
    NOTE: F1X0 found on disk 0 fcn 0.0
    NOTE: cache mounting (not first) group 9/0xBCBBF0D8 (TIBDATA)
    Sat Feb  7 03:44:17 2009
    kjbdomatt send to node 0
    kjbdomatt send to node 2
    kjbdomatt send to node 3
    Sat Feb  7 03:44:17 2009
    NOTE: attached to recovery domain 9
    Sat Feb  7 03:44:17 2009
    NOTE: opening chunk 4 at fcn 0.102912 ABA
    NOTE: seq=12 blk=2050
    Sat Feb  7 03:44:17 2009
    NOTE: cache mounting group 9/0xBCBBF0D8 (TIBDATA) succeeded
    SUCCESS: diskgroup TIBDATA was mounted
    NOTE: cache opening disk 0 of grp 10: TIBREDO path:/dev/raw/raw87
    NOTE: F1X0 found on disk 0 fcn 0.0
    NOTE: cache mounting (not first) group 10/0xBCBBF0D9 (TIBREDO)
    Sat Feb  7 03:44:18 2009
    kjbdomatt send to node 0
    kjbdomatt send to node 2
    kjbdomatt send to node 3
    Sat Feb  7 03:44:18 2009
    NOTE: attached to recovery domain 10
    Sat Feb  7 03:44:18 2009
    NOTE: opening chunk 4 at fcn 0.18970 ABA
    NOTE: seq=12 blk=6577
    Sat Feb  7 03:44:18 2009
    NOTE: cache mounting group 10/0xBCBBF0D9 (TIBREDO) succeeded
    SUCCESS: diskgroup TIBREDO was mounted
    Sat Feb  7 03:44:19 2009
    NOTE: recovering COD for group 5/0xbcbbf0d4 (REDOGRPA)
    SUCCESS: completed COD recovery for group 5/0xbcbbf0d4 (REDOGRPA)
    NOTE: recovering COD for group 6/0xbcbbf0d5 (REDOGRPB)
    SUCCESS: completed COD recovery for group 6/0xbcbbf0d5 (REDOGRPB)
    NOTE: recovering COD for group 7/0xbcbbf0d6 (TEMPX)
    SUCCESS: completed COD recovery for group 7/0xbcbbf0d6 (TEMPX)
    NOTE: recovering COD for group 9/0xbcbbf0d8 (TIBDATA)
    SUCCESS: completed COD recovery for group 9/0xbcbbf0d8 (TIBDATA)
    NOTE: recovering COD for group 10/0xbcbbf0d9 (TIBREDO)
    SUCCESS: completed COD recovery for group 10/0xbcbbf0d9 (TIBREDO)
    Sat Feb  7 03:45:18 2009
    Starting background process ASMB
    ASMB started with pid=17, OS id=16122
    Sat Feb  7 03:49:35 2009
    NOTE: ASMB process exiting due to lack of ASM file activity
    Starting background process ASMB
    ASMB started with pid=18, OS id=25963
    Sat Feb  7 03:54:34 2009
    NOTE: ASMB process exiting due to lack of ASM file activity
    Sat Feb  7 03:54:50 2009
    Starting background process ASMB
    ASMB started with pid=18, OS id=913
    Sat Feb  7 03:57:55 2009
    NOTE: ASMB process exiting due to lack of ASM file activity
    Sat Feb  7 04:07:26 2009
    Starting background process ASMB
    ASMB started with pid=21, OS id=23012
    Sat Feb  7 04:13:59 2009
    NOTE: ASMB process exiting due to lack of ASM file activity
    Starting background process ASMB
    ASMB started with pid=22, OS id=31320
    Sat Feb  7 04:36:43 2009
    NOTE: ASMB process exiting due to lack of ASM file activity

  • ORA-02149: Specified partition does not exist

    ORA-31693: Table data object "aaaa"."bbbbb":"P_2012112216" failed to load/unload and is being skipped due to error:
    ORA-02149: Specified partition does not exist
    SQL> select partition_name from dba_tab_partitions where table_name=‘DME_bbbbb_RES’ and TABLE_OWNER=aaaa;
    no rows selected
    请问一下是什么原因造成的.

    数据库版本 10.2.0.1
    用数据泵导出的时侯报ORA-02149: Specified partition does not exist
    nohup expdp \'/ AS SYSDBA\' directory=DATADUMP SCHEMAS=aa dumpfile=EXPDP_aa_%u.dmp logfile=EXPDP_WIPNMS.log parallel=4 exclude=STATISTICS &

Maybe you are looking for