Seek help and critique on Oracle expdp Windows command or bat file

I tried to create a windows shell script to execute data dump work on daily basis. However, the command seems didn't work because it even didn't generate log file for me to identify the problem. Please give me a hand to solve this problem. Here is the windows command file and expdp parameter file.
1. windows command file
@echo off
rem -----------------------------------------------------------------------
rem Filename: My_Expdp.bat
rem Purpose: Export tables of My database
rem Date: 08-Jan-2010
rem Author:
rem -----------------------------------------------------------------------
rem -- Set parameters --
set EXPNAME=DB_Daily
set PATH=F:\ORACLE\PRODUCT\10.2.0\ADMIN\MYDB\DPDUMP
rem -- Keep 5 versions of the expdp log file --
if exist %PATH%%EXPNAME%_4.log copy %PATH%%EXPNAME%.log %PATH%%EXPNAME%_5.log >NUL:
if exist %PATH%%EXPNAME%_3.log copy %PATH%%EXPNAME%.log %PATH%%EXPNAME%_4.log >NUL:
if exist %PATH%%EXPNAME%_2.log copy %PATH%%EXPNAME%.log %PATH%%EXPNAME%_3.log >NUL:
if exist %PATH%%EXPNAME%_1.log copy %PATH%%EXPNAME%.log %PATH%%EXPNAME%_2.log >NUL:
if exist %PATH%%EXPNAME%.log copy %PATH%%EXPNAME%.log %PATH%%EXPNAME%_1.log >NUL:
rem -- Keep 5 versions of the expdp dump file --
if exist %PATH%%EXPNAME%_4.dmp copy %PATH%%EXPNAME%.dmp %PATH%%EXPNAME%_5.dmp >NUL:
if exist %PATH%%EXPNAME%_3.dmp copy %PATH%%EXPNAME%.dmp %PATH%%EXPNAME%_4.dmp >NUL:
if exist %PATH%%EXPNAME%_2.dmp copy %PATH%%EXPNAME%.dmp %PATH%%EXPNAME%_3.dmp >NUL:
if exist %PATH%%EXPNAME%_1.dmp copy %PATH%%EXPNAME%.dmp %PATH%%EXPNAME%_2.dmp >NUL:
if exist %PATH%%EXPNAME%.dmp copy %PATH%%EXPNAME%.dmp %PATH%%EXPNAME%_1.dmp >NUL:
rem -- Do the data pump --
expdp sys/syspassword@db parfile=%PATH%my_expdp.par
rem -- Add timestamp to top of export log file --
date /T >timestamp.tmp
copy timestamp.tmp + %PATH%%EXPNAME%.log %PATH%%EXPNAME%.tmp
copy %PATH%%EXPNAME%.tmp %PATH%%EXPNAME%.log
rem -- Cleanup temporary files --
del %PATH%%EXPNAME%.tmp
del timestamp.tmp
---parameter file
DUMPFILE=My_DB.DMP
LOGFILE=My_DB.LOG
DIRECTORY=Mydb_DIR
TABLE=My_table1, My_table2, My_table3
CONTENT=DATA_ONLY
JOB_NAME=My_DB_1

Perhaps, this would help
HTH
-Anantha

Similar Messages

  • I need help getting past the installation error "windows cannot fint TEMP file"

    I need help getting past the installation error "windows cannot find TEMP file"

    Seems like some who have tried two devices on the JMICRON IDE port have had trouble. Try without the hard drive and see if you get that error. If that is the case I would try a PATA to SATA converter for your hard drive and connect it to one of the Intel SATA Ports.
    http://www.newegg.com/Product/Product.aspx?Item=N82E16812107112
    http://www.amazon.com/ADDONICS-IDE-SERIAL-CONVERTER-ADIDESA/dp/B000090169
    http://www.compusa.com/products/product_info.asp?product_code=339900#ts
    http://www.xpcgear.com/ide2sata.html
    http://www.ubuyitdirect.com/-p-1045.html?currency=USD
    http://www.satasite.com/sata-ide-converter.htm
    http://www.pcgears.com/default.aspx?oid=187150
     

  • Setting Oracle environment variable using batch (.bat) file in windows

    Hi,
    Oracle 9i db
    Windows OS
    I am in process to create the database (Considered that Oracle9i software is already installed) by running one batch file which consist of all the scripts for the database creation.
    But i also want to set the environment variables at MyComputer(right click)>properties>advance>environment, permenently by running the batch (.bat) file
    ORACLE_HOME
    ORACLE_BASE
    ORACLE_SID
    So, how can it be done ?
    With Regards

    Hi,
    *@echo off*
    set ORACLE_SID=iprsdb
    set ORACLE_BASE=C:\oracle
    set ORACLE_HOME=C:\oracle\ora92     
    call C:\install_bkp\test_env_var.bat
    echo Test Successfull.
    Above mentioned is the code written in the batch (.bat) file
    In that i have also called another .bat file which test the env. variable values which is as below:
    c:\>test_env.bat
    ===================
    Testing oracle sid
    ===================
    iprsdb
    =====================
    Testing oracle base
    ===================
    C:\oracle
    =====================
    Testing oracle home
    =====================
    C:\oracle\ora92
    Test Successfull.
    But when i checked at MyComputer(right click)>properties>advance>environment variables
    there, I saw none of the entries from the above, why so ?
    how to set env. variables permanently using the DOS commands. ?
    With Regards

  • Executing commands within .bat file sequentially within the same cmd window

    We have a .bat file that contains several commands. Each command invokes an .exe with arguments.
    When I invoke the .bat file programatically using the command "cmd.exe /c myfile.bat", the commands are running parallelly.
    Within the .bat file, I also tried using start "" /wait /b "myprocess.exe" instead of just
    "myprocess.exe", but both gives the same result.
    Any solution to this?
    Note:
    We use Windows 7 environment.

    I am invoking the batch programatically in c#.
    As per your suggestion, I modified the code as below to execute bat file directly instead of using cmd.exe.
    Process proc = new
    Process();
    proc.StartInfo.FileName
    = "c:\\myfile.bat";
    proc.Start();
    But still I could see the parallel execution of commands within the bat file.
    I was not able to use Call command as I have to invoke programatically.
    Is there a way to invoke Call command from c#?

  • Oracle for Windows Server 2003 - Download file

    Hi,
    I download Oracle9i Database Release 2 Enterprise/Standard/Personal/Client Edition for Windows Server 2003 (32-bit) from OTN(file 9203WIN2K3.zip), but it doesn't have any setup file on the extracted files.
    I think that file 9203WIN2K3.zip is not complete or is not the appropriate one.
    Can anybody please help me ?
    Thanks !
    Mauro Moreira
    Cuiabá - MT - Brasil

    I am actuallt trying to do the same. What I fond out at one time, was that installing 9i on Windows 2003 is a multiple step process. First, you install the reqular three CD (or DISKS if you download the installation) and then you install the patches. I think what you have downloaded is only the patch. Read the README that comes with the zip file. I am looking for the document that described installing 9i on 2003. If I find id, I will pass it on.
    Kamran
    [email protected]

  • Need help in writing the script in windows to read the file at runtime

    Hi All,
    I need a help with a Script. I need to read a filename from a directorty based on a specific format. I will be looking for the file in a directory that will have a file added to it each month. The script will need to go out to that directory determine the current month and Year and then grab that file based on the MONTHYEAR contained itn the file name and
    in the same script pass the filename to SQL Loader.
    The filename will consist of three parts VARIABLECONSTANTDATE.ext (example: FUELFILE11262007.txt: FUEL is a VARIABLE, FILE is constant, 11 two digit month, 26 two digit day,2007 four digit year.)
    I am stuck as how to how to read that into a string, find the file name and then pass that to sql loader.
    Any help much appreciated..
    Looking forward for your response.

    Use of External Tables will ease your problem...
    Here's what you can do:
    1. Create External tables (fuelfile.asc)
    2. Use Java code to read all filenames in a particular directory and store them in table
    3. Use PL/SQL block to loop through each filename in the table and write the file to the file of external table (fuelfile.asc)
    3.1 Transfer data from External table to main table
    Aalap Sharma :)

  • How to start manually an oracle 8i database with a bat file?

    Hi all,
    I know it's not the place but it is a really common question: how can i start manually an oracle 8i database on windows 2000 without using a service? I don't remember the command. I tried: oracle start SID without success...
    Thanks
    JMi

    Dear JMD,
    If you would like to startup the Oracle instance using a batch file then first create a SQL file (say ABC.SQL) wherein enter the following two lines:
    connect internal/<INTERNAL_PASSWORD>
    STARTUP
    <INTERNAL_PASSWORD> above is the password for the INTERNAL user account (default password is "oracle")
    Then create a batch file (say START.BAT) and enter the following single line:
    <ORACLE_HOME>\bin\svrmgrl @<ABC_DIR>\ABC.SQL
    where <ORACLE_HOME>\bin\svrmgrl is the full path of the SVRMGRL.EXE executable and <ABC_DIR> is the directory in which you have placed the ABC.SQL file.
    Now you can startup the Oracle database by simply double-clicking on the START.BAT batch file.
    Ciao!
    null

  • How to Start/Stop manually an oracle 9i database with a bat file?

    Hi;
    I have a manual Start/Stop of the db.
    How can i Start/Stop the 9i database all services with a batch file (windows 2000) ?
    All in one batch files ( One for Start & one for Stop)(Including listener)
    thanks for your answer !

    Save the scripts below in a batch file and use the first one to start your services, and the second one to shutdown.
    This script will shutdown your database first using SQL*Plus and stop the service later. This way you will avoid the timeout.
    Also will ask you for confirmation if you are sure to start Oracle services and database. press Y for yes and N for No.
    @echo off
    %systemdrive%
    REM #
    echo.
    echo You are about to start Oracle Services and Database
    echo.
    set /p Input=Do you want to continue? (Y=Yes N=No) =
    IF /i "%Input%"=="Y" (goto Proceed)
    exit /b
    :Proceed
    echo Oracle Instance and Services Startup in progress
    echo.
    Net start OracleOraHome92Agent
    Net start OracleOraHome92HTTPServer
    Net Start OracleOraHome92TNSListener
    Net Start OracleMTSRecoveryService
    Net Start OracleServiceORCL
    echo.
    echo Oracle ORCL Instance and Services Startup completed Successfully
    echo Good Bye
    echo on
    EXIT /BSave this one in a seperate batch, again it will ask for confirmation, and shutdown the database using SQL to avoid timeout
    Just replace the connect string with your own and the {SID} with your Database name
    @echo off
    %systemdrive%
    echo.
    echo You are about to shutdown Oracle Instance and Services
    echo.
    set /p Input=Do you want to continue? (Y=Yes N=No) =
    if /i "%Input%"=="y" (goto Proceed)
    exit /b
    :Proceed
    echo.
    echo Closing and Dismounting ORCL Database
    echo.
    echo shutdown immediate | sqlplus "/ @ORCL as sysdba"
    echo.
    echo Shutting down Oracle system services
    echo.
    Net Stop OracleService{SID}
    Net Stop OracleOraHome92HTTPServer
    Net Stop OracleOraHome92TNSListener
    Net Stop OracleMTSRecoveryService
    Net Stop OracleOraHome92Agent
    echo.
    echo Oracle Instance and Services Shutdown completed successfully
    echo Good Bye
    echo on
    EXIT /bTony Garabedian

  • Failing to install windows 8.1/7/ any kind of windows on my imac,seeking help foreal

    Hey there. It's going to be a long post since I've messed with it for 4 days, and still no success even in the time I'm currently writing this message - the furthest I got is having tons of crashes and black screens. And now I can't even reclaim my lost harddrive space (resizing partitions doesn't work anymore).
    I'll start with that I already tried to make Bootcamp work about a year ago, but then quit it out of no success and reverted all the changes. But this time my situation is different - I'm pretty sure something messed up in the middle and now I'm seeking help and answers to my questions. And here we go - one bright day I decided to install Windows 8.1 as a secondary boot system on my iMac for personal reasons. I went and added Bootcamp's ability to make a bootable USB on my mac by changing the plist file, and finally had the option to do so. Then got an ISO of Windows 8.1's installation, burned it to a DVD with disk utility (on the lowest speed) and here's already where my problems started. The disk failed to burn for some unknown reason, even though when I compared the contents it had the exactly same thing in both the ISO and the DVD. Weird isn't it? I still tried to boot it - and guess what? the DVD booted but it had the non-EFI interface (huge and pixelated). Anyway when I pressed next I had some weird driver errors, so I decided to use an USB instead (1 DVD wasted so far). I used Bootcamp to create a bootable USB with drivers and went to boot it. The USB booted perfectly fine under the name "EFI Boot" and then I reached the partitions screen.. Obviously I had weird errors again (GPT/MBR stuff). One tutorial on the web suggested creating a partition for the windows rather than using the Bootcamp pre-made one. I followed it by booting my main system, and using disk utility to delete the Bootcamp partition. Later on I booted again to the installation and created a new partition from the partitions screen. Windows created two partitions - a Microsoft reserved partition, and the secondary partition which is used for the windows files. After some time the windows finally booted for the first time. It took pretty long but went smooth - until it finally booted. Since here the problems returned - the Windows crashed every 5 minutes from a driver error (that's AFTER I installed the Apple drivers right after the system finished booting), I googled it and followed various tuts but it still wasn't fixed. I decided to quit using 8 since I liked 7 more anyway (I currently have it installed as a virtual system in Parallels), so I decided to install 7 instead of 8 since I never had any issues with it. Booted up my main system again - went to Bootcamp Assistant, USB creation. ISO file + drivers on the USB. I reboot. Holding ALT and... my mac can't even see the USB drive! Luckily I had 4 more installations (various ISOs) of Win 7, so I decided to try them. I tried ALL the Installations I in none of them my mac could see the USB drive (I wonder how my USB survived all this rewriting on it...) Again to Google we go. I researched a bit and realized that I'm missing a file called xboot64.efi in the "efi/boot" folder, which can be taken from windows. I tried extracting it from install.wim but none of my archiving apps could open it (I tried Unarchiver, Keka, 7zX, terminal's unrar command and more, none could!). I also realized my Win 8 installation had this file so I added it to the Win 7 USB. Now my mac could see the USB in the boot screen - and it booted. I saw the "loading files" screen, and after one minute of it... black screen. I waited 10 minutes. Then 30. An hour. Still a pure black screen. I thought something is wrong with my file, and read that this file is also found in an already installed Win 7, so I went to parallels and took it from here, then added it to my installation. Again my mac could see the USB, but still no luck. When I pressed enter to boot from it, nothing happened as if the boot screen was stuck - the drive was selected but it didn't do anything. I waited long time again and decided to stop waiting. I tried to burn another DVD, this time with Titanium Toast. Again the DVD failed to burn, and when I checked the content, it was the same as the ISO I tried to burn from (official ISO from Microsoft of Windows 7 Ultimate SP1). I went and booted it - this time I saw again "Windows" and "EFI Boot"in the boot screen, both with a disc icon. "EFI Boot" didn't load like the usb previously (loads forever), so I booted the "Windows" thing. The setup loaded, and finally I could see the installation window. Reached the partitions screen... and here the problems returned once again. An error along the lines of that Windows can't be installed on a GPT partition. Some tuts on YouTube and in Google suggested to simply format the problematic partition. And so I did - yet the problem wasn't fixed. After messing with all that for one more day - trying different installations, ways to boot the USB and DVDs, formatting the Windows partition etc, I decided it's time to stop messing with it since luck definitely isn't in my side when it comes to Bootcamp (and for the record, I never had any issues with OSX, but when I tried adding windows to it.. eh, you can guess.) I booted back to my normal system, and went to disk utility to delete the partitions. The Windows partition was deleted easily, but the Microsoft reserved one.. not so quite. (by the way when I boot into it I get a Win 8.1 error screen that tells me to repair the system, since I formatted the Win partition itself). Until this very moment I still can't delete the reserved partition and return my beloved 30gb that I lost because of the resizing (I can't resize my Mac HD partition).
    I'm really desperate now. I tried everything and the furthest I got is getting a broken Windows 8.1 (which I deleted later), destroying 5 DVDs, shortening the lifespan of my USB drive, and googling errors the whole day for 4 days in a row. And now I can't even return my lost 30gb even after I decided to quit it. Please help or suggest me what to do, whether it's about how to successfully install Win 7 or to return my lost gigabytes, any kind of help is appreciated. If you managed to read so far, thank you for reading my post and I hope you'll be able to assist me and get me out of this situation.

    Read the Boot Camp Help first. Boot Camp does not yet support Windows 8.1 http://windows.microsoft.com/en-US/windows-8/system-requirements. If you insist on installing 8.1 use a virtual machine like parallels, Fusion, or VirtualBox.
    http://www.apple.com/support/bootcamp/

  • How to find the Date and time of Installation of Oracle in Windows?

    Hi ,
    Is there any way to find the installation Date and time of Oracle in Windows?
    Regards
    Rajesh

    If you have never recreated/restored/reincarnated the database, then CREATED column from v$database should tell you when you created the database.
    If you are looking for the date/time of installation of Oracle home, check the logs under OraInventory.
    Reply by Satish sir at following link:
    installation date/time of a database !!
    Hth
    Girish Sharma

  • 'Windows cannot install required files' error while installing Vista SP1

    I'm installing Vista Client SP1 on my Macbook pro and getting the following error:
    Windows cannot install required files. Make sure all files required for installation are available, and restart the installation.
    Almost exactly as described in this KB article: http://support.microsoft.com/kb/930984/ except my error code is 0x80070017. I'm double-checked CRC on my dvd to ensure it's not corrupt. Also I've previously successfully installed Vista SP1 from the SAME DVD on a different Mac Leopard (desktop)
    Any ideas? This is a new Macbook pro, just got it yesterday. Could be DVD drive issue?
    Thanks!

    Did you get far enough to delete the FAT partition BootCamp created, so you could create a new NTFS one?
    http://support.microsoft.com/kb/933925
    or this:
    http://discussions.apple.com/thread.jspa?threadID=1464025&tstart=0

  • Creating new BAT file script to stop, restart and disable S I agent

    We have just installed BOXI3 and are in the process of updating some bat files for stopping, restarting and failover (to our backup servers)and disable services on the Central Configuration Manager.   In my old scripts we called each service  Examples (
    sc
    servername.net config "bobjspcengine" start= disabled                    
    sc
    servername.net config "BOBJWebiServer" start= disabled)
    I have a few  questions
    1.  Server Intelligence Agent... Where would I find it's name   like the BOBJWebiServer example?
    2.  If my bat file stops this agent does that automatically stop the CMS, Webi, Report services?
    3. This is for our support team in order to easliy stop Tomcat and other services for failing over to our DR sites and backups since the script automatically stops,  starts, restarts disables and enable services..., is this the best approach?   We put these bat files out on the servers and all they do is click on them to start the failover process.

    Try using
    Process Monitor for looking the key.
    For example, you may set the required value through the group policy and see what windows registry keys are changed.

  • Help! problem running .bat files in browser

    HI! Hope you can help me!
    I have a simple applet that runs .bat files and retrieves the resulting information into a text box.
    To run those files I use:
    Runtime rt = Runtime.getRuntime();
    Process processo=rt.exec("C:/po2PrtMonitor.bat 04600105 ope >C:/infoPrt.txt");
    in wich "04600105","ope" and ">C:/infoPrt.txt" are parameters that the .bat file is expecting. When the file is ran it saves the resulting information on a simple .txt file, that I later read by using:
    fichResposta = new FileInputStream(fichRespostaPath[0]);
    When I run my applet on JDeveolper 9.0.2.822 is works perfectly, the problem is when run it on the browser.
    On the browser the applet executes the file by opening a MS-DOS prompt and when it finishes executing the file, the prompt closes automatically and doesn't send the information into the .txt file.
    My .bat file is something like:
    jre -cp PrtSrv20.jar sibs.deswin.prt.PrtMonGateway 10.46.1.22 5003 %1 %2 %3
    where %1,2%,3% are the above parameters given by the applet when the file is ran.
    If I run it on JDeveloper I get:
    C:\>jre -cp PrtSrv20.jar sibs.deswin.prt.PrtMonGateway 10.46.1.22 5003 04600105 ope
    PRTSES=04600105 HDR=0460010000000005 STA=OPENED TRF=ACTIVE TRP=CONN ILTS=15 Long postings are being truncated to ~1 kB at this time.

    Here is what is missing:
    ILT=0 MSQ=388 HDR=04.60.01.00.00.00.00.05.41.00.01.84. CMD=STRT-TRF
    When the applet is run on the IE broser what I get is simply:
    jre -cp PrtSrv20.jar sibs.deswin.prt.PrtMonGateway 10.46.1.22 5003 04601005 ope
    I have no idea as to what the problem might be! Do native methods work differently on the browser?! Could it be a problem on the deployment? A library not included on the deployment profile? Suggestions are very welcome.
    Hugo Rosas

  • Java Code Compilation in Windows Command Prompt

    Hi Everyone,
    I have been programming in java for quite some time now using an IDE (eclipse). I downloaded the following java file from:
    http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/JpegImagesToMovie.html#requirements
    and have downloaded the required JMF. The problem is that I want to compile and run this code in Windows Command Prompt; however, I keep receiving errors upon compilation because I do not know how to make jmf.jar be recognized as a library.
    Thx.

    javac -cp jmf.jar;otherJars file1.java file2.java file3.java...
    Run java and javac from the command line for an explanation of their options.
    Edited by: nclow on Jul 24, 2008 1:43 PM

  • Expdp full and impdp full fails with error....pls help..!(Oracle 11g)

    Hi
    I wanted to refresh my dev environment quickly..
    As we also wanted to migrate from exp/imp to datapump, I tried these..
    Only thing worked for me is impdp on network mode using remap schema.
    1)First i wanted to implement expdp and impdp standard procedures(Full database export/import)
    My expdp failed with the following error on a full export..
    Pls see below:
    C:\Documents and Settings\oracle2>expdp system/<p.w> full=Y directory=DATA_PUMP_DIR dumpfile=OAPFULL.dmp logfile=OAPFULL.log
    Export: Release 11.1.0.7.0 - Production on Thursday, 26 April, 2012 16:12:49
    Copyright (c) 2003, 2007, Oracle.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Starting "SYSTEM"."SYS_EXPORT_FULL_02":  system/******** full=Y directory=DATA_PUMP_DIR dumpfile=OAPFULL.dmp logfile=OAPFULL.log
    Estimate in progress using BLOCKS method...
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 4.351 GB
    Processing object type DATABASE_EXPORT/TABLESPACE
    Processing object type DATABASE_EXPORT/PASSWORD_VERIFY_FUNCTION
    Processing object type DATABASE_EXPORT/PROFILE
    Processing object type DATABASE_EXPORT/SYS_USER/USER
    Processing object type DATABASE_EXPORT/SCHEMA/USER
    Processing object type DATABASE_EXPORT/ROLE
    Processing object type DATABASE_EXPORT/GRANT/SYSTEM_GRANT/PROC_SYSTEM_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/GRANT/SYSTEM_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/ROLE_GRANT
    Processing object type DATABASE_EXPORT/SCHEMA/DEFAULT_ROLE
    Processing object type DATABASE_EXPORT/SCHEMA/TABLESPACE_QUOTA
    Processing object type DATABASE_EXPORT/RESOURCE_COST
    Processing object type DATABASE_EXPORT/SCHEMA/DB_LINK
    Processing object type DATABASE_EXPORT/TRUSTED_DB_LINK
    Processing object type DATABASE_EXPORT/SCHEMA/SEQUENCE/SEQUENCE
    Processing object type DATABASE_EXPORT/SCHEMA/SEQUENCE/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type DATABASE_EXPORT/DIRECTORY/DIRECTORY
    Processing object type DATABASE_EXPORT/DIRECTORY/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type DATABASE_EXPORT/CONTEXT
    Processing object type DATABASE_EXPORT/SCHEMA/PUBLIC_SYNONYM/SYNONYM
    Processing object type DATABASE_EXPORT/SCHEMA/SYNONYM
    ORA-39014: One or more workers have prematurely exited.
    ORA-39029: worker 1 with process name "DW01" prematurely terminated
    ORA-31672: Worker process DW01 died unexpectedly.
    Job "SYSTEM"."SYS_EXPORT_FULL_02" stopped due to fatal error at 16:14:562)As the above failed, I tried impdp with network_link import and full=y and its a different issue!
    impdp system/<p.w> NETWORK_LINK=OAPLIVE.WORLD full=y logfile=OAPDRfull2.log table_exists_
    action=REPLACE
    Import: Release 11.1.0.7.0 - Production on Thursday, 26 April, 2012 13:36:01
    Copyright (c) 2003, 2007, Oracle.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** NETWORK_LINK=OAPLIVE.WORLD full=y logfile=OAPDRfull2.log table_exists_action=REPLACE
    Estimate in progress using BLOCKS method...
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 4.670 GB
    Processing object type DATABASE_EXPORT/TABLESPACE
    ORA-31684: Object type TABLESPACE:"SYSAUX" already exists
    *************lots more of object already exists errors here............(space limit so cant paste)***************
    ORA-31684: Object type SYNONYM:"GEOPROD"."EXT_POSTAIM_PRESORT_61" already exists
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.DISPATCH_WORK_ITEMS [SYNONYM:"GEOPROD"."EXT_POSTAIM_PRESORT_61"]
    ORA-31600: invalid input value 200001 for parameter HANDLE in function CLOSE
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA", line 569
    ORA-06512: at "SYS.DBMS_METADATA", line 4731
    ORA-06512: at "SYS.DBMS_METADATA", line 792
    ORA-06512: at "SYS.DBMS_METADATA", line 4732
    ORA-06512: at "SYS.KUPW$WORKER", line 2718
    ORA-03113: end-of-file on communication channel
    ORA-02055: distributed update operation failed; rollback required
    ORA-02063: preceding lines from OAPLIVE.WORLD
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 7858
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    242F2F2C     18256  package body SYS.KUPW$WORKER
    242F2F2C      7885  package body SYS.KUPW$WORKER
    242F2F2C      8657  package body SYS.KUPW$WORKER
    242F2F2C      1545  package body SYS.KUPW$WORKER
    241DDF3C         2  anonymous block
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA []
    ORA-31642: the following SQL statement fails:
    SELECT unique ku$.seq# from sys.metanametrans$ ku$ WHERE ku$.htype='DATABASE_EXPORT' AND ku$.model='ORACLE' AND NOT ( ku$.seq#>=(select a.seq# from sys.metanametrans$ a where
       a.model='ORACLE' and a.htype='DATABASE_EXPORT' and a.name ='DATABASE_EXPORT/SCHEMA/SYNONYM')) order by ku$.seq#
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 5002
    ORA-01427: single-row subquery returns more than one row
    ORA-06512: at "SYS.DBMS_
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.KUPW$WORKER", line 7853
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    242F2F2C     18256  package body SYS.KUPW$WORKER
    242F2F2C      7885  package body SYS.KUPW$WORKER
    242F2F2C      2744  package body SYS.KUPW$WORKER
    242F2F2C      8523  package body SYS.KUPW$WORKER
    242F2F2C      1545  package body SYS.KUPW$WORKER
    241DDF3C         2  anonymous block
    Job "SYSTEM"."SYS_IMPORT_FULL_01" stopped due to fatal error at 13:39:48So its basically these 2 issues I want to know how to fix.
    1-expdp error cause and fix
    2-impdp error cause and fix -Also how to avoid object alreay exists error?
    Also for example the package etc. is the same name..but i want new package from LIVE so it means if the same name package, view, etc is there, it wouldnt get updated?
    Any way to overcome this?
    I need it exactly same as LIVE...(with a few exceptions which is small enough i can do after impdp finishes fine)
    Pleaseeeeeeee help!!
    Thanks&Regards.......

    Hi..
    Thanks for the links..I applied the tips on each of them but it didnt work.
    Also my database is 11g so it is not true that this happens on 10g only.
    Things tried:
    1)I tried with different values on parallel parameter but same error
    2)I applied the following:
    alter system set open_cursors=1024 scope=spfile;
    alter system set "_optimizer_cost_based_transformation"=off;
    commit;
    The 3rd link was bit better
    I tried to find out where exactly the error was causesusing
    expdp attach =SYS_EXPORT_FULL_03
    But I cant figure out what the object : PUBLIC
    oracle/context/isearch/GetPage
    is..?
    Does this needs to be excluded from the export?if so, how?
    Can someone help how to fix the error now?
    Processing object type DATABASE_EXPORT/SCHEMA/SYNONYM
    ORA-39014: One or more workers have prematurely exited.
    ORA-39029: worker 1 with process name "DW01" prematurely terminated
    ORA-31672: Worker process DW01 died unexpectedly.
    Job "SYSTEM"."SYS_EXPORT_FULL_03" stopped due to fatal error at 11:29:32
    C:\Documents and Settings\ora2>expdp attach=SYS_EXPORT_FULL_03
    Export: Release 11.1.0.7.0 - Production on Tuesday, 01 May, 2012 11:35:38
    Copyright (c) 2003, 2007, Oracle.  All rights reserved.
    Username: system
    Password:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Job: SYS_EXPORT_FULL_03
      Owner: SYSTEM
      Operation: EXPORT
      Creator Privs: TRUE
      GUID: 8499C802F52A414A8BCACE552DDF6F11
      Start Time: Tuesday, 01 May, 2012 11:37:56
      Mode: FULL
      Instance: geooap
      Max Parallelism: 1
      EXPORT Job Parameters:
      Parameter Name      Parameter Value:
         CLIENT_COMMAND        system/******** parfile=h:\datapump\oapfull.par
      State: IDLING
      Bytes Processed: 0
      Current Parallelism: 1
      Job Error Count: 0
      Dump File: H:\datapump\oapfull.dmp
        bytes written: 4,096
    Worker 1 Status:
      Process Name: DW01
      State: UNDEFINED
      Object Schema: PUBLIC
      Object Name: oracle/context/isearch/GetPage
      Object Type: DATABASE_EXPORT/SCHEMA/PUBLIC_SYNONYM/SYNONYM
      Completed Objects: 766
      Total Objects: 766
      Worker Parallelism: 1

Maybe you are looking for

  • Lose model when importing a project

    Hi I tried for the first time to import a project and I noticed that ODI had lost all links with models for target datastores : To be more specific, when I open an interface, its status is "in error" and the target datastore appears with a red cross.

  • Already updated to 10.7.4, app store still shows update, why?

    Just updated to 10.7.4, yet app store in dock still shows the 10.7.4 update as being needed, is there a way to just make the little red "1" go away?

  • How to run a procedure

    hello folks, i want to run a procedure stored in oracle...follwing is the sample procedure.... create or replace procedure test_sample cv_1 in out sys_refcursor as begin open cv_1 for select * from visit; end; when i run the procedure, it only shows

  • SNP PPM Activation

    Hi All: I have created a SNP PPM which is also activated .I have a PIR for same product for which produrement type is production.While running SNP heuristic I am getting Planned Order but source is supply is shown as blank.Can some one tell me how th

  • WOL across WAN

    Hello all, I am trying to configure WOL to work across our WAN but it does not appear to be working. Our WAN is connected via Cisco routers that connect our buildings via fiber, so no outside connectivity on these links. There are 2 ethernet cards in