Database import

hello friends
i have export entire database and now i want to import it to my computer.so i want to know the procedure to import the daabase.
weaher i need to create a databse and tablespace before import.
means i want to know the step sep method of database import

The server which you are going to import has same filestruce as the source database server, then, just create database and import with full=y and it will create everything for you.
If the filestructure (directories) are different, you need to create database, logical structure, i.e. tablespace and then import with full=y.
Jaffar

Similar Messages

  • Full database import(impdp) error

    HI ppl,
    Plz help..
    My full database import is failing due to
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.LOAD_METADATA [TABLE_DATA:"SYS"."SYS_IMPORT_FULL_04"]
    SELECT process_order, flags, xml_clob, NVL(dump_fileid, :1), NVL(dump_position, :2), dump_length, dump_allocation, grantor, object_row, object_schema, object_long_name, processing_status, processing_state, base_object_type, base_object_schema, base_object_name, property, size_estimate, in_progress FROM "SYS"."SYS_IMPORT_FULL_04" WHERE process_order between :3 AND :4 AND processing_state <> :5 AND duplicate = 0 ORDER BY process_order
    ORA-25153: Temporary Tablespace is Empty
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.KUPW$WORKER", line 6272
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    c000000267348288 14916 package body SYS.KUPW$WORKER
    c000000267348288 6293 package body SYS.KUPW$WORKER
    c000000267348288 3511 package body SYS.KUPW$WORKER
    c000000267348288 6882 package body SYS.KUPW$WORKER
    c000000267348288 1259 package body SYS.KUPW$WORKER
    c00000026fb2de68 2 anonymous block
    Job "SYS"."SYS_IMPORT_FULL_04" stopped due to fatal error at 14:56:10
    regards

    Hi..
    ya temporary tablespace is present,and also contains 2gb freespace,with 2 datafiles.Are you sure its a datafile.It must be a tempfile. :)
    Secondly, have you checked the default temporary tablespace of the database.Is it the one that you have mentioned.
    SELECT PROPERTY_NAME,PROPERTY_VALUE FROM DATABASE_PROPERTIES where PROPERTY_NAME='DEFAULT_TEMP_TABLESPACE';
    Anand

  • Error in R3load in Database Import

    Hello,
    I am installing 3.1I system on Aix 5.3 and Oracle 9.2.0.7. I am getting below error in my database import.
    ***********************************************************************************************DbSl Trace: Connect with default <uid>/<pwd> failed
    DbSl Trace: Try to connect as OPS$-user to get the <uid>/<pwd>
    DbSl Trace: CONNECT failed with sql error '1017'
    #(IMP) ERROR: couldn't connect to DB
    rc = 256
    error message returned by DbSl:
    #STOP: 20070524184058
    #(IMP) ERROR: DbSlRollback failed
    DbSlRollback: rc = 1
    (SQL error 1017)
    #START OF LOG: 20070525091803
    R3load version @(#)R3load.c       20.29.121.1     SAP     00/07/07
    R3load -i  EX000.cmd -p EX000.log -r
    Regards,
    Bhushan

    Hello,
    do the OPS$ User exist? Do they have the right permissions? To which user does the table SAPUSER belong? Can you connect with sap<xyz) or SAPR3 to database?
    e.g. like
    sqlplus /nolog
    connect sap<xyz>/pw?
    you should change the password for the sap database user with brtools, like
    brconnect -f chpass -o [sapr3 | sap<sid> | sap<xyz> | sapsr3] -p <new_password>
    Best regards
    K.Baran

  • [Q] ORA-30510 error while doing full database import

    We have ORACLE 9.2.0.6 on Redhat LINUX AS 3.4. while we doing "full database import" there has ORA-30510 come out. I searched Metalink and Google, but not found much information. The error messages on import are:
    . importing OUTLN's objects into OUTLN
    . importing SYSTEM's objects into SYSTEM
    . importing TKOWNER's objects into TKOWNER
    IMP-00017: following statement failed with ORACLE error 30510:
    "CREATE TRIGGER "TKOWNER".TRIG_DONOTANALYZE before analyze on schema decla"
    "re begin if sys.dictionary_obj_name = 'MYWTKEMPLOYEE' then raise_ap"
    "plication_error(-20101, 'Do Not ANALYZE MYWTKEMPLOYEE'); end if; end; "
    IMP-00003: ORACLE error 30510 encountered
    ORA-30510: system triggers cannot be defined on the schema of SYS user
    . importing SYS's objects into SYS
    . importing TKOWNER's objects into TKOWNER
    About to enable constraints...
    Import terminated successfully with warnings.

    877410 wrote:
    Hi I get the following ierrors while importing a schema from prod to dev database... can anyone help ,thanks!
    impdp system DIRECTORY=DATA_PUMP_DIR DUMPFILE=abcdprod.DMP LOGFILE=abcdprod.log REMAP_SCHEMA=abcdprod:abcddev
    ORA-39002: invalid operation
    ORA-31694: master table "SYSTEM"."SYS_IMPORT_FULL_01" failed to load/unload
    ORA-31644: unable to position to block number 170452 in dump file "/ots/oracle/echo/wxyz/datapump/abcdprod.DMPpost complete command line for the expdp that made the abcdprod.DMP file

  • Import all users and their objects without doing full database import

    Hi Guys,
    I have a task to that involves Importing all existing users and their objects in production to the test database without doing a full database import - Please how do i do this?
    Pls i need your help urgently.

    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    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
    I tried to import objects and data from a user from a FULL dump file. File was created with the following command:
    server is: SQL*Plus: Release 10.2.0.1.0 - Production on Wed May 26 15:34:05 2010
    exp full=y FILE="full.dmp" log=full.log
    Now I imported:
    imp file=full.dmp log=full.log INCTYPE=SYSTEM
    imp fromuser=user1 file=full.dmp
    Results: not all the user procedures have been imported:
    SQL> select count(*) from user_procedures;
    the Original
    COUNT(*)
    134
    the current:
    select count(*) from user_procedures;
    COUNT(*)
    18
    I also tried these alternatives:
    exp tablespaces="user1_data" FILE="user1.dmp" log=user1.log
    exp LOG=user1.log TABLESPACES=user1_data FILE=user1_data.dmp
    exp LOG=user1owner.log owner=user1 FILE=user1owner.dmp
    expdp DIRECTORY=dpump_dir1 dumpfile=servdata_pump version=compatible SCHEMAS=user1
    impdp directory=data_pump_dir dumpfile=servdata_pump.dmp :
    ORA-39213: Metadata processing is not available
    SQL> execute dbms_metadata_util.load_stylesheets
    BEGIN dbms_metadata_util.load_stylesheets; END;
    ERROR at line 1:
    ORA-31609: error loading file "kualter.xsl" from file system directory
    "/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/xml/xsl"
    ORA-06512: at "SYS.DBMS_METADATA_UTIL", line 1793
    ORA-06512: at line 1
    file kualter.xsl does not exist in XE !!
    imp owner=user1 rows=n ignore=y
    imp full=y file=user1_data.dmp
    imp full=y file=full.dmp tablespaces=user1_data,user1_index rows=n ignore=y
    So, I do not understand why user1 objects are not imported:
    see this part of the first import log:
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    . importing SYS's objects into SYS
    . importing USER1's objects into USER1
    . . importing table .........................
    why only 18 rows?
    if you have an suggestion, you are welcome, as I do not have any other idea...
    ren
    Edited by: ronpetitpatapon on May 26, 2010 12:38 PM
    Edited by: ronpetitpatapon on May 26, 2010 12:41 PM
    Edited by: ronpetitpatapon on May 26, 2010 1:03 PM

  • Database import from PSE -half success

    Hello,
    I've just finished a mid-size database import from PSE to LR (32.000 mixed images).
    First observations:
    1. Unsuccessful migration of TAG hierarchy : some of the tags keep the hierarchy structure of PSE, most become flat. a given tag is divided sometimes in tow keywords (same keyword title!). a part is flat keyword, a part is child keyword
    2. complete disappearing of the PSE collections ! Oops
    3. Successful migration of the favorites(stars)
    4. Issues with dates (Creation date, capture date, etc.) - OOPS
    Overall for me this is a failure !
    Dommage as french are saying :(
    LR can be very useful, but only if it understands other Adobe application wihtout faults !
    overall comparison on performance : PSE is unsupportably slow at this size for basic file action (delete from catalog, file delete), LR performs better, meanwhile the on-the-fly preview generation is slower.
    Br. Kadosa

    You never assign a value (True/False) to your function (ImportDBData). I would suggest googling "VBScript Function Syntax" to get a better understanding if you don't understand my answer.

  • Don't want jobs with a past date to run on Database import

    I can't get a good straight answer from our DBA on how to accomplish what I need. Here is the scenario...
    I have a number of scheduled jobs in our Oracle 9i installation that run each night from 12:00 a.m. on. Over the past few months we have had some infrastructure issues that caused corruption in the Oracle databases and necessitated a restore from backup. Sometimes a full import from a dmp file. My problem is that if the database had been down before and after the scheduled jobs Oracle sees that there is a job that needed to be run in the past but has not yet run. So, when the database is brought back up all of those latent jobs run immediately.
    The problem is that I don't want them to run when the database is recovered and need to control this process manually.
    What is the best way to bring Oracle back up and flag it to not run any jobs that were scheduled in the past?
    Thanks for any help.

    Easy.
    Set job_queue_processes to 0 before doing the import. After the import, delete jobs you don't want (or change their next run date using dbms_job). Then set job_queue_processes back to the value you want.
    The fact that the DBA team considers an export as a backup is probably the reason you couldn't get an answer to this simple question. That is a topic for another thread.

  • Import error while full database import

    Hi,
    I am getting below error while import from one server to other server.
    oracle version from 10.2.0.1.0 to 10.2.0.5.0.
    IMP-00015: following statement failed because the object already exists: on full import
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    . importing SYSTEM's objects into SYSTEM
    IMP-00017: following statement failed with ORACLE error 1119:
    "CREATE TABLESPACE "JISPREPCORBILLINGPRD501" BLOCKSIZE 8192 DATAFILE '/opt/"
    "u01/app/oracle/oradata/ora10g/jisprepcorbillingprd501.dbf' SIZE 52428800 "
    " AUTOEXTEND ON NEXT 8192 MAXSIZE 32767M EXTENT MANAGEMENT LOCAL AUTOAL"
    "LOCATE ONLINE PERMANENT SEGMENT SPACE MANAGEMENT AUTO"
    IMP-00003: ORACLE error 1119 encountered
    ORA-01119: error in creating database file '/opt/u01/app/oracle/oradata/ora10g/jisprepcorbillingprd501.dbf'
    ORA-27040: file create error, unable to create file
    Linux-x86_64 Error: 2: No such file or directory
    IMP-00017: following statement failed with ORACLE error 1119:
    "CREATE TABLESPACE "CYBEROAM" BLOCKSIZE 8192 DATAFILE '/opt/u01/app/oracle/"
    "oradata/ora10g/cyberoam.dbf' SIZE 70057984 AUTOEXTEND ON NEXT 8192 M"
    "AXSIZE 32767M EXTENT MANAGEMENT LOCAL AUTOALLOCATE ONLINE PERMANENT SEGM"
    "ENT SPACE MANAGEMENT AUTO"
    IMP-00003: ORACLE error 1119 encountered
    ORA-01119: error in creating database file '/opt/u01/app/oracle/oradata/ora10g/cyberoam.dbf'
    ORA-27040: file create error, unable to create file
    Linux-x86_64 Error: 2: No such file or directory
    IMP-00017: following statement failed with ORACLE error 1119:
    "CREATE TABLESPACE "CAPTIVEPORTAL" BLOCKSIZE 8192 DATAFILE '/opt/u01/app/or"
    "acle/oradata/ora10g/captiveportal.dbf' SIZE 52428800 AUTOEXTEND ON NE"
    "XT 8192 MAXSIZE 32767M EXTENT MANAGEMENT LOCAL AUTOALLOCATE ONLINE PERMA"
    "NENT SEGMENT SPACE MANAGEMENT AUTO"
    IMP-00003: ORACLE error 1119 encountered
    how to resolve it?
    Thanks in advance.

    "CREATE TABLESPACE "JISPREPCORBILLINGPRD501" BLOCKSIZE 8192 DATAFILE '/opt/"
    "u01/app/oracle/oradata/ora10g/jisprepcorbillingprd501.dbf' SIZE 52428800 "
    " AUTOEXTEND ON NEXT 8192 MAXSIZE 32767M EXTENT MANAGEMENT LOCAL AUTOAL"
    "LOCATE ONLINE PERMANENT SEGMENT SPACE MANAGEMENT AUTO"
    "CREATE TABLESPACE "CYBEROAM" BLOCKSIZE 8192 DATAFILE '/opt/u01/app/oracle/"
    "oradata/ora10g/cyberoam.dbf' SIZE 70057984 AUTOEXTEND ON NEXT 8192 M"
    "AXSIZE 32767M EXTENT MANAGEMENT LOCAL AUTOALLOCATE ONLINE PERMANENT SEGM"
    "ENT SPACE MANAGEMENT AUTO"
    "CREATE TABLESPACE "CAPTIVEPORTAL" BLOCKSIZE 8192 DATAFILE '/opt/u01/app/or"
    "acle/oradata/ora10g/captiveportal.dbf' SIZE 52428800 AUTOEXTEND ON NE"
    "XT 8192 MAXSIZE 32767M EXTENT MANAGEMENT LOCAL AUTOALLOCATE ONLINE PERMA"
    "NENT SEGMENT SPACE MANAGEMENT AUTO"
    IMP-00003: ORACLE error 1119 encounteredThree tablespaces.
    how to resolve it?Create those tablesspaces manually and then try to improt it.
    to take the DDL, you can use either SQLFILE option in impdp or use dbms_metadata.get_ddl

  • Database import errors

    Hello everyone!
    I have some problems with importing a database, I can't find the answer so I turn to you people.
    I've tried to import to an empty database (with the necessary tables of course) but that gave more errors, so I created the important schemes and tables with the sqls from the original database.
    The original database is working, everything is in there so I don't really understand the "not found" or "does not exists" errors, because I think Oracle is supposed to do the import in such a way, that the connections between objects doesn't get lost, so the database is built up from the bottom.
    The machine I export the data from:
    CentOS 5.5
    Oracle Database 10g Release 10.2.0.3.0 - 64bit Production
    NLS_CHARACTERSET EE8MSWIN1250
    nls_length_semantics string BYTE
    The machine I try to import data:
    Red Hat Enterprise Linux Server release 5.6 (Tikanga)
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    NLS_CHARACTERSET AL32UTF8
    nls_length_semantics string CHAR
    (Before you ask, we are Platinum Partners that is why we have Enterprise Edition, we can use it but we don't have support)
    The export command: expdp system/password full=y directory=dmpdir dumpfile=export.dmp logfile=export.log
    Job "SYSTEM"."SYS_EXPORT_FULL_01" completed successfully at: 14:46:34
    The import command: impdp system/password full=y directory=dmpdir table_exists_action=append dumpfile=export.dmp logfile=import_db.log
    Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 999 error(s) at 15:55:46
    The errors I don't understand:
    ORA-39083: Object type JOB failed to create with error:
    ORA-00001: unique constraint (SYS.I_JOB_JOB) violated
    ORA-31693: Table data object "SYSMAN"."MGMT_JOB_PURGE_POLICIES" failed to load/unload and is being skipped due to error:
    ORA-00001: unique constraint (SYSMAN.PK_MGMT_JOB_PURGE_POL) violated
    ORA-31693: Table data object "SYSMAN"."MGMT_JOB_SINGLE_TARGET_TYPES" failed to load/unload and is being skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    ORA-31693: Table data object "SYSMAN"."MGMT_CREDENTIALS2" failed to load/unload and is being skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-28239: no key provided
    ORA-31693: Table data object "SYSMAN"."MGMT_HC_VENDOR_SW_COMPONENTS" failed to load/unload and is being skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-02291: integrity constraint (SYSMAN.VNC_VND_FK) violated - parent key not found
    KUP-11007: conversion error loading table "SCHAME_NAME"."TABLE_NAME"
    ORA-12899: value too large for column COLUMN_NAME (actual: 3767, maximum: 4000)
    KUP-11009: data for row: COLUMN_NAME: 0X'4146414245484E41507C4146414245484E41507CC166616265'
    And many objects are missing, triggers, sequences, indexes. Much more than the number of errors in the import_db.log.
    I hope someone can help me.
    Thank you in advance,
    Adam
    Edited by: 925120 on Apr 3, 2012 1:55 AM
    Edited by: 925120 on Apr 3, 2012 2:07 AM

    Hi, and welcome to OTN!
    Firstly, try to create the new database with the same character set and nls_length_semantics,
    The machine I export the data from:
    CentOS 5.5
    Oracle Database 10g Release 10.2.0.3.0 - 64bit Production
    NLS_CHARACTERSET EE8MSWIN1250
    nls_length_semantics string BYTE
    The machine I try to import data:
    Red Hat Enterprise Linux Server release 5.6 (Tikanga)
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    NLS_CHARACTERSET AL32UTF8
    nls_length_semantics string CHARThis could be responsible for the error:
    KUP-11007: conversion error loading table "SCHAME_NAME"."TABLE_NAME"
    ORA-12899: value too large for column COLUMN_NAME (actual: 3767, maximum: 4000)Secondly, I often find it better to not do a full export/import when moving between databases, and especially when moving between different database versions. The importing database have a (almost) fully populated sys and sysman-schema, and the full import is trying to add stuff to those schemas, causing all kind of violations.
    So, could you try to either export only the schemas that you're interested in (the user schemas), or just import these from the full export, and post the results?
    HtH
    Johan
    BTW, here's more info on expdp/impdp: http://www.orafaq.com/wiki/Data_Pump

  • Incorrect user profile setting after database import

    We migrateed the production databsae from Solaris running 10.2.0.3 to OEL running 10.2.0.5. The method we used is exp/imp and it seem everything fine. However, it found that some of the user profile (ie. IDLE TIME, ) limit is not the the same as the old database. It seem the user profile is not migrated successfully.
    Exp.par
    cat expPRODN_normal.par
    full=y
    direct=y
    buffer=409600000
    feedback=100000
    compress=y
    statistics=none
    consistent=n
    log=/db/oracle/exp_for_linux/expPRODN_full.log
    filesize=2000mb
    file=/db/oracle/exp_for_linux/1
    imp.par
    cat imp_PRD.par
    full=y
    buffer=409600000
    statistics=none
    log=/db/oracle/lyn/imp_PRD.log
    file=/import/PRODN/1
    In old database:
    SYS@PRODN1>select resource_name, limit from dba_profiles where profile='DEFAULT' order by resource_name;
    RESOURCE_NAME LIMIT
    COMPOSITE_LIMIT UNLIMITED
    CONNECT_TIME UNLIMITED
    CPU_PER_CALL UNLIMITED
    CPU_PER_SESSION UNLIMITED
    FAILED_LOGIN_ATTEMPTS 5
    IDLE_TIME 60
    LOGICAL_READS_PER_CALL UNLIMITED
    LOGICAL_READS_PER_SESSION UNLIMITED
    PASSWORD_GRACE_TIME UNLIMITED
    PASSWORD_LIFE_TIME UNLIMITED
    PASSWORD_LOCK_TIME UNLIMITED
    RESOURCE_NAME LIMIT
    PASSWORD_REUSE_MAX UNLIMITED
    PASSWORD_REUSE_TIME UNLIMITED
    PASSWORD_VERIFY_FUNCTION NULL
    PRIVATE_SGA UNLIMITED
    SESSIONS_PER_USER 3
    16 rows selected.
    SYS@PRODN1>
    In new database:
    sys@SPRD1> select resource_name, limit from dba_profiles where profile='DEFAULT' order by resource_name;
    RESOURCE_NAME LIMIT
    COMPOSITE_LIMIT UNLIMITED
    CONNECT_TIME UNLIMITED
    CPU_PER_CALL UNLIMITED
    CPU_PER_SESSION UNLIMITED
    FAILED_LOGIN_ATTEMPTS 10
    IDLE_TIME 60
    LOGICAL_READS_PER_CALL UNLIMITED
    LOGICAL_READS_PER_SESSION UNLIMITED
    PASSWORD_GRACE_TIME UNLIMITED
    PASSWORD_LIFE_TIME UNLIMITED
    PASSWORD_LOCK_TIME UNLIMITED
    RESOURCE_NAME LIMIT
    PASSWORD_REUSE_MAX UNLIMITED
    PASSWORD_REUSE_TIME UNLIMITED
    PASSWORD_VERIFY_FUNCTION NULL
    PRIVATE_SGA UNLIMITED
    SESSIONS_PER_USER UNLIMITED
    16 rows selected.
    sys@OIMSPRD1>
    You can see limit value of FAILED_LOGIN_ATTEMPTS, IDLE_TIME and SESSIONS_PER_USER are different.

    It is not a user profile, but the default one which already exist by default in the database and not overwritten when importing.
    By the way, IDLE_TIME is same on both sides.
    Nicolas.

  • Database Import Error in Oracle 8i

    Hi Friends,
    I am using oracle 8i with Windows 2000 Pro SP4. I have a database dump file and i need to import the same using oracle 8i. I am getting the following errors.
    imp system/manager file=sap30.dmp buffer=60000
    the database was exported by SAP not by you.
    imp unsuccessfully terminated
    Finaly the error message says that export was done using 8.01.07 but iam using oracle 8i (8.1.5). Pl help me to import the database.
    Thanks in advance
    Mahendiran.A

    dump file created in 11g database can't be imported in lower 8i version.
    Restrictions When Using Different Releases of Export and Import
    The following restrictions apply when you are using different releases of Export and Import:
    Export dump files can be read only by the Import utility because they are stored in a special binary format.
    Any export dump file can be imported into a later release of the Oracle database.
    The Import utility cannot read export dump files created by the Export utility of a later maintenance release. For example, a release 9.2 export dump file cannot be imported by a release 9.0.1 Import utility.
    Whenever a lower version of the Export utility runs with a later release of the Oracle database, categories of database objects that did not exist in the earlier release are excluded from the export.
    Export files generated by Oracle9i Export, either direct path or conventional path, are incompatible with earlier releases of Import and can be imported only with Oracle9i Import. When backward compatibility is an issue, use the earlier release or version of the Export utility against the Oracle9i database.
    Thanks
    Kuljeet Pal Singh
    Edited by: Kuljeet Pal Singh on Mar 19, 2012 7:43 PM

  • Privilege errors after database import

    Hi,
    I just built an database server with window 2003, oracle 10.1.0.4 with 10.1.0.2 version of oracle workspace manager. I imported my database (with the same DB versions) however I'm not able to execute the dbms_wm commands. My test user has the wm_admin_role and is able to enable and disable versioning however, I can not create a workspace. I get the following error when I attempt to run dbms_wm.GrantSystemPriv logged in as any DBA user with wm_admin_role:
    ora-20076: insufficient privileges to grant priv_ANY_WORKSPACE
    ora-06512: at "SYS.LTPRIV"
    ora-06512: at "SYS.LTPRIV"
    ora-06512: at "SYS.LT"
    I am able to select dbms_wm.getworkspace from dual and 'LIVE' workspace is returned. However, if I attempt to run dbms_wm.gotoworkspace('LIVE') it returns
    ora-20122: workspace 'LIVE' does not exist
    Any info is greatly appreciated...
    TCT

    Unfortunately this is NOT the solution. The sys.portal_login only works for the current sql-session. As soon as you login for a second time, you have to execute this procedure again. So, the upgrade to 309 is still not possible.
    According to TAR 2063294.55 Oracle will NOT support full database exports/imports for backing up Portal environments. They only accept the Portal import/export-utilities (which are unreliable and unworkable) and database-filebackups (which are not possible if you want to restore only one schema).
    So, my Portal-308-environment is working now, but it can never be upgraded to 309.
    Or does anyone else has an option?

  • Database Import command untility. Any improved in 5.1?

    ldif2db in 4.16 is painful to use. If I just want to input 1000 entries that is just part of user directory tree, I have to export the user directory tree and put in that 1000 entries, then export nsroot and the other sys configuration root. After that I have to run ldif2db with the above three ldif files. If I do not do so, I will lost the system configuration. But the strange thing is using GUI console, I can easily import that 1000 entries without overwrite the whole database.
    My question is in 5.1 is there any utility that can doing the import like GUI doing?
    Thanks,
    Peter

    The console uses plain old ldap add to add entries to an existing database. You can do the same from the command line:
    ldapmodify -a <ldif file>
    There is no subtree delete command. The GUI console is actually doing a recursive search and delete for each entry in the subtree. I don't know if there is a command line for this, but you could write one.

  • Installation Error:  IDES Database Import

    Hello everyone,
    Thank for all for the help so far.  The forums have really helped me along in my SAP installation.  This
    particular error has occurred for the second time in a row....  This error happens after importing
    approximately 250GB of IDES data into the sap database (MaxDB).  The error logs and system info are
    posted below.
    STDOUT:
    +SNIP+
    INFO       2009-02-24 10:37:15.650 [sixxcstepexecute.cpp:781]
    Execute step sdb_instance_start of component
    |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|
    ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|
    ind|3|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0
    INFO       2009-02-24 10:37:37.597 [sixxcstepexecute.cpp:781]
    Execute step sdb_instance_activate of component
    |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|
    ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|
    ind|3|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0
    INFO       2009-02-24 11:53:40.381 [sixxcstepexecute.cpp:781]
    Execute step sdb_instance_wait_for_backup of component
    |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|
    ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|
    ind|3|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0
    INFO       2009-02-24 11:53:41.181 [sixxcstepexecute.cpp:781]
    Execute step sdb_instance_load_systables of component
    |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|
    ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|
    ind|3|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0
    WARNING[E] 2009-02-24 11:53:42.882
               CJSlibModule::writeError_impl()
    The dbmcli call for action LOAD_SYSTAB failed. SOLUTION: Check the logfile XCMDOUT.LOG.
    WARNING[E] 2009-02-24 11:53:42.955
               CJSlibModule::writeError_impl()
    The dbmcli call for action LOAD_SYSTAB failed. SOLUTION: Check the logfile XCMDOUT.LOG.
    *ERROR*      2009-02-24 11:53:43.207 [sixxcstepexecute.cpp:951]
    FCO-00011  The step sdb_instance_load_systables with step key
    |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|
    ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|
    ind|3|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0|
    sdb_instance_load_systables was executed with status ERROR .
    XCMDOUT.LOG
    +SNIP+
    Subprocess starts at 20090224103715
    Execute Command : /sapdb/programs/bin/dbmcli -n xa4-myexaserv -d XA4 -u CONTROL,******** db_start
    Start subprocess as user with uid: root
    Subprocess stops at 20090224103736
    OK
    Subprocess starts at 20090224103736
    Execute Command : /sapdb/programs/bin/dbmcli -n xa4-myexaserv -d XA4 -u CONTROL,******** db_state
    Start subprocess as user with uid: root
    Subprocess stops at 20090224103736
    OK
    State
    ADMIN
    Subprocess starts at 20090224103737
    Execute Command : /sapdb/programs/bin/dbmcli -n xa4-myexaserv -d XA4 -u CONTROL,******** db_state
    Start subprocess as user with uid: root
    Subprocess stops at 20090224103737
    OK
    State
    ADMIN
    Subprocess starts at 20090224103738
    Execute Command : /sapdb/programs/bin/dbmcli -n xa4-myexaserv -d XA4 -u CONTROL,********
    Start subprocess as user with uid: root
    Execute Session Command : util_connect
    Execute Session Command : db_activate SUPERDBA,********
    Execute Session Command : exit
    Subprocess stops at 20090224115339
    OK
    OK
    Subprocess starts at 20090224115341
    Execute Command : /sapdb/programs/bin/dbmcli -n xa4-myexaserv -d XA4 -u CONTROL,********
    load_systab -u SUPERDBA,******** -ud ********
    Start subprocess as user with uid: root
    Subprocess stops at 20090224115342
    ERR
    -24964,ERR_EXECUTE: error in program execution
    256,/sapdb/XA4/db/bin/x_python /sapdb/XA4/db/env/lsystab.py -R /sapdb/XA4/db -d XA4 -u SUPERDBA,********
    ---------Traceback---------------
    ---------Error-------------------
    sql.SQLError: [-4008] (at 1) Unknown user name/password combination
    Traceback (most recent call last):
       File "/sapdb/XA4/db/env/lsystab.py", line 202, in ?
         connectAndInstall (install, install.__doc__)
       File "/sapdb/XA4/db/env/installib.py", line 393, in connectAndInstall
         session = connect (options)
       File "/sapdb/XA4/db/env/installib.py", line 348, in connect
         alterUserNotExclusive(options)
       File "/sapdb/XA4/db/env/installib.py", line 336, in alterUserNotExclusive
         session.release()
    AttributeError: 'NoneType' object has no attribute 'release'
    System Information:
    RHEL 5.2
    SAP_ERP_6.0_SR3_IDES_Inst._Master
    RDBMS_MAXDB_7.6.03_Build_09
    NW_7.0_SR3_Kernel_WINDOWS__LNX_X86
    Java:
    [root@xa4-**** sapInstall]# java -version
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 2.2)
    IBM J9SE VM (build 2.2, J2RE 1.4.2 IBM J9 2.2 Linux amd64-64 j9xa64142-20070708 (JIT enabled)
    J9VM - 20070530_2352_LHdSMr
    JIT  - r7_level20070315_1745)
    Python:
    [root@xa4-**** sapInstall]# python -V
    Python 2.4.3
    Once again, thank you all for the help.  Has there been a "sticky" post on how to format thread postings for
    easy reading?
    Thank you,
    Zach

    Markus,
    To clarify on my original reply.
    [root@xa4-myexaserv ~]# touch te$tpa$$word
    [root@xa4-myexaserv ~]# ls -l te*
    -rw-r--r-- 1 root root 0 Feb 24 15:12 te24682word
    What's occurring here is:
    -> $tpa isn't a registered variable so bash is dropping it out of the command
    -> $$ is a special parameter in bash that evaluates to the pid of the shell
    Do you think something similar to this is happening in the x_python execution?  ...this assumes that all of
    these commands are running in a bash environment. Even if this is the culprit of my error, I'm unsure why the
    following command succeeds:
    /sapdb/programs/bin/dbmcli -n xa4-myexaserv -d XA4 -u CONTROL,******** load_systab -u
    SUPERDBA,******** -ud ********
    Perhaps I am over thinking it...  But I have a hard time believing that a particular script in a large installation
    would behave so differently from the rest of the installation scripts.
    Thank you for the help,
    Zach

  • Database import user id & password

    i have recently installed oracle 11g,
    i would like to import Ms Access database i have created
    and the window is asking for a user id & password,
    i have tried sysman/my password & system/my password
    it is showing a login error.
    what user id & pssword to use.
    any body pls help.

    Hello,
    it is showing a login error.Which error ? ORA-01017 ?
    Please, may you post the error connection you got ?
    Best regards,
    Jean-Valentin

  • Database import utility wizrd

    I have a need to move the data from certain tables(of schema A) to schema B.I would be moving only tables and no other objects.I am using oracle sql developer and thought there are 2 options:
    1.database copy  2.datapump
    I have few questions:
    1.Datapump import is not working if the target environment has truncated tables.It works only if the target tables are dropped...why? is there any setting that i can do so that it drops the table at runtime by itself if required?
    2.which is teh best? db copy or datapump ...also do we have any other effective options for moving data
    plaese suggest.thanks in advance

    3bc2b7be-dee7-4dfd-b905-2d63f2927e86 wrote:
    I have a need to move the data from certain tables(of schema A) to schema B.I would be moving only tables and no other objects.I am using oracle sql developer and thought there are 2 options:
    1.database copy  2.datapump
    I have few questions:
    1.Datapump import is not working if the target environment has truncated tables.It works only if the target tables are dropped...why? is there any setting that i can do so that it drops the table at runtime by itself if required?
    2.which is teh best? db copy or datapump ...also do we have any other effective options for moving data
    plaese suggest.thanks in advance
    I have a suggestion:  Don't post duplicate threads:  Data pump imports

Maybe you are looking for

  • Adobe Photoshop CS5 Error 16

    Right, so this guy Andy posted this 1. Choose  Start > Computer > Organize > Folder And Search Options, and  then click the View tab. 2. In the Advanced Settings section,  deselect the Use Sharing Wizard (Recommended) option and click OK. 3.  Navigat

  • I can't print in Adobe 11.0, I can print from other programs?

    I have confirmed that I can print from other programs. I have uninstalled Adobe and reinstalled to make sure the programs was the most up todate. I have installed a new printer just today and confirmed the drivers are up todate. I have confirmed ther

  • Stored procedure that returns multiple tables

    Hello everyone, I was wondering if there's a way to write a stored procedure that returns multiple result set as in sql server. for example, in sql server, you can write 2 select statements and when loading them in c#, u can get two data tables. I am

  • Integration Event webservice problem

    Hi there i'm trying to create a java client to check all contacts deleted in crmod. For that i've created a workflow rule that creates an integration event, everytime a contact is deleted. Now when i try to get those events i'm getting this message:

  • Can we Write off an AUC

    I have created an asset as AUC and I incurred some expenditure on it........later management wants to write off that asset, can we do this.............if yes what woul d be the entry passes in sap..........