Data pump problem on sync data from windows to linux

Hi,
i have production db on windows 2003 server, and syn data from production windows machine to linux server. using data pump exports, imports.
i have written an procedure to export schema level
and
procedure for import like
dbms_datapump.open(operation ='import',job_module='schema',job_name='imp');
dbms_datapump.add_file(handle='',filename='imp.dmp',directory='dir_datapump',filetype=dbms_datapump.ku$_file_type_dump_file);
dbms_datapump.metadata_filter(handle='',name='schema_expr',value='in('hr','oe')',object_type''table');
dbms_datapump.set_parameter(handle ='',name=table_exists_action,value=replace);
when i run the above procedure, error displays that table already exists ora-31684
but from the
impdp include=table table_exists_action=replace
i am able to do it.
can u suggest what iam missing.
Regards
Ajay

I will try to explain a little better using screenshots. This screenshot is from windows :
http://img510.imageshack.us/img510/1714/windowspg.jpg
At the top is says 'date taken' and ANY windows photo library software will sort it by this date. Below are the properties of the same file after it's copied to osx :
http://img153.imageshack.us/img153/6345/screenshot20100322at145.png
It contains lots of information about the picture but not when it was taken. So software such as iphoto or picasa sorts it by it's created date (which you can see at the top is Monday 12th January).
Why isn't OSX carrying over the exif data on when the photo was taken ? I can't see any iphoto options to sort by that date.
Message was edited by: Ollie UK
Message was edited by: Ollie UK

Similar Messages

  • Transfering files from windows to linux

    Hi,
    My requirement is Client will select files from widows and then click zip.In server(linux) i have to get those files and zip.Here i am unable to get the files sent by the client.
    Suppose client will select the file in C:\xxx then click zip.In linux am using request.getParameter() from getting those files.Here in linux it is getting the path of the file as C:\xxx and unable to locate.Giving FIleNotFound Exception.
    How can resolve this issue.
    Regards,
    Babu

    Hi Boss am getting the problem in transfering files from windows to linux.
    In linux it is unable to locate the file which was selected by the client in windows.
    Am using request.getParameter () to get the file.How to solve this.

  • Date Formating Issue (moved from Windows to LINUX)

    Although the move shouldn't have been an issue, moved an OBIEE installation from Windows to LINUX (Windows is still up) and now have date problems with any drill down into the metrics (SC).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46046] Datetime value 01-NOV-2007 does not match the specified format. (HY000)
    SQL Issued: SELECT Dates."Year Number" saw_0, Dates."Month Number" saw_1, "Cycle Counting"."Green Goal" saw_2, "Cycle Counting"."Red Min" saw_3, "Cycle Counting"."Cum Accuracy %" saw_4 FROM "DRS Supply Chain" WHERE Dates."Start Date" IN (SELECT saw_0 FROM (SELECT cast(Dates."Start Date" as timestamp) saw_0 FROM "DRS Supply Chain" WHERE cast(Dates."Start Date" as timestamp) >= VALUEOF("6 Month Ago")) nqw_1 ) ORDER BY saw_0, saw_1
    Any Ideas?
    Thanks
    Scott

    SCOTT, I suggest checking step-by-step.
    a) check the value of the variable
    b) check the value of cast(Dates."Start Date" as timestamp)
    c) Check the results by substituting those 2 with someone else (regular integers)....
    GL

  • Can you sync music from windows windows media

    I synced music from windows media player onto my ipod nano. Windows media says it's all downloded but none of the songs show up on my ipod. Why is that? Can you not sync music from windows media player even though windows media player lets you?

    Hi,
    You probably have your nano's disk-use enabled. This enables you to use your iPod as an external disk. Windows Media Player does sync music, but it only transfer it to the iPod as normal data file you put into it, which iPod Nano will not show the songs in the player, but if you access the iPod from My Computer, you might able to see the files.
    Meanwhile, iPod only read and understands files that synced into it by using iTunes. The songs are renamed and put into the iPod filesystem hiddenly. If the above information contains errors, please correct me.
    Regards,
    Siau.

  • I have problems with sync ibooks from iTunes to my iPad since i update to ios7

    i have problems with sync ibooks from iTunes to my iPad since i update to ios7

    first you plug your device into your computer, then you select the name of your device on the left side of itunes. then you select 'apps' from the top center of the itunes window, and you check the apps that you want to go from the computer to the device
    once you've done that, you press the 'apply' button in the lower right corner
    this will be the same for anything you want to go from the computer to the device
    you'll select the appropriate tab at the top, then only check information you want to go from the computer the device and then hit 'apply'

  • Can ipod nano sync calendars from windows office 2002

    I have a brand new ipod nano 3rd Generation and I can sync contacts from my windows address book. But I cant sync any calendar info or any to-do lists. It shows that "windows outlook must be installed to sync calendars". I have MS Outlook installed and its Version 2002. Still It Shows The Same Thing!!
    P.S. I have ipod nano version 1.1.2 and iTunes version 7.6.2
    Please Help??
    Thanks in Advance

    Put the songs in itunes, then sync them to your ipod.
    You cannot sync directly from windows media player. You must use itunes.

  • Problem connecting DataBase Link from windows oracle to oracle on Linux

    I'm facing a problem with database links from windows oracle to Oracle hosted on Linux server.
    I'm able to successfully create the Database Link using the following query on oracle database hosted on a windows server
    CREATE DATABASE LINK SampleDB
    CONNECT TO myuser IDENTIFIED BY password
    USING 'sample';
    The tns names entry on windows for database in Linux server is as follows
    DSOFT =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.100)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = sample)
    But while executing the query "select count(*) from doctor@SampleDB;" in sql developer on windows, I'm getting the following error
    SQL Error: ORA-12154: TNS:could not resolve the connect identifier specified
    12154. 00000 - "TNS:could not resolve the connect identifier specified"
    *Cause:    A connection to a database or other service was requested using
    a connect identifier, and the connect identifier specified could not
    be resolved into a connect descriptor using one of the naming methods
    configured. For example, if the type of connect identifier used was a
    net service name then the net service name could not be found in a
    naming method repository, or the repository could not be
    located or reached.
    Using the above tns entries, i'm successfully able to connect to the database in Linux server through sql developer installed on the windows machine. Then why i'm getting this error while executing the query on Database Link?. Can any one help me?

    1005745 wrote:
    I'm facing a problem with database links from windows oracle to Oracle hosted on Linux server.
    I'm able to successfully create the Database Link using the following query on oracle database hosted on a windows server
    CREATE DATABASE LINK SampleDB
    CONNECT TO myuser IDENTIFIED BY password
    USING 'sample';
    The tns names entry on windows for database in Linux server is as follows
    DSOFT =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.100)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = sample)
    But while executing the query "select count(*) from doctor@SampleDB;" in sql developer on windows, I'm getting the following error
    SQL Error: ORA-12154: TNS:could not resolve the connect identifier specified
    12154. 00000 - "TNS:could not resolve the connect identifier specified"
    *Cause:    A connection to a database or other service was requested using
    a connect identifier, and the connect identifier specified could not
    be resolved into a connect descriptor using one of the naming methods
    configured. For example, if the type of connect identifier used was a
    net service name then the net service name could not be found in a
    naming method repository, or the repository could not be
    located or reached.
    Using the above tns entries, i'm successfully able to connect to the database in Linux server through sql developer installed on the windows machine. Then why i'm getting this error while executing the query on Database Link?. Can any one help me?A database link is acting as a client to the target, remote database in exactly the same fashion and using exactly the same tns infrastructure as any other client trying to connect to that remote database. your ORA-12154 when querying a db link means exactly the same as if you had gotten it trying to connect with sqlplus, from the same server. Check the link SB provided. Keep in mind that the tnsnames file of concern is the one on the source database server.

  • Migrate Oracle 11g database from Windows To Linux using RMAN hot / cold  backup ?

    Hi Friends,
    Is it possible to Migrate Oracle 11g database from Windows To Linux using RMAN hot / cold  backup ? ( as i would like to perform Point In Time recovery)
    (or) The only way is to use RMAN convert as mentioned here  - Transporting Data Across Platforms
    (or) Is there any other method (except exp/imp and data pump)
    Regards,
    DB

    HI
    his post describes the procedure required to migrate a database from Windows to Linux using the RMAN Convert Database command.
    Both Windows and Linux platforms have the same endian format, which makes possible to transfer the whole database, making the migration process very straightforward and simple.
    To migrate between platforms that have a different endian format, Cross Platform Transportable Tablespaces (XTTS) needs to be used instead.
    List of Steps Needed to Complete the Migration
    The migration process is simple, but as it has several steps it is convenient to be familiar with them before running it.
    1. Check platform compatibility between source and target OS
    2. Start the database in read only mode
    3. Check database readiness for transport from Windows to Linux using DBMS_TDB.CHECK_DB
    4. Check if there are any external objects
    5. Execute the Rman Convert database command
    6. Copy converted datafiles, generated Transport Script and Parameter File to Linux
    7. Edit the init.ora for the new database
    8. Edit the Transport Script and Parameter File changing the windows paths to Linux Paths
    9. Execute the Transport Script
    10.Change the Database ID
    11.Check database integrity
    Thank you

  • Migration from windows to Linux - JAR files not generating under JAVA_TOP

    Hi DBA's
    Jar files not generating under JAVA_TOP after migration from windows to linux.
    I followed workaround but same in result.
    Workaround
    Run this command. It will give the missing file
    adjava -mx512m -nojit oracle.apps.ad.jri.adjcopy -masterArchive $JAVA_TOP -sync -reportfile javatopfiles.lst
    Then run this command
    adjava -mx512m -nojit oracle.apps.ad.jri.adjcopy -masterArchive JAVA_TOP -sync -mode APPLY
    I have checked in google.
    Best Regards,
    Suresh Gelda

    Suresh,
    I can find the following error in the log file:
    JarSigner error output:
    Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/JarSigner
    Caused by: java.lang.ClassNotFoundException: sun.security.tools.JarSigner
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    Could not find the main class: sun.security.tools.JarSigner.  Program will exit.Please review the following notes for suggested solutions:
    Note: 393306.1 - Generate Jar File causes NoClassDefFoundError sun/security/tools/JarSigner
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=393306.1
    Note: 269054.1 - Running adadmin to Force Regenerate of the Java Files Fails
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=269054.1

  • 10gR2 to 11gR2 from Windows to Linux with 6TB Database.

    Hi,
    I need to do migration from 10gR2 to 11.2.0.2.0 and from Windows to Linux for 6TB database Size. As both Endian format same, I did the migration using RMAN Convert database on UAT but for same 10gR2 version.(Both Source on Target Oracle Version was 10.2.01.0). Now I have to migrate from 10gR2 to 11.2.0.2.0. So it's 2 way process.
    is it possible to club these 2 way migration process ???
    Are following steps right or any modification is required ??
    1) Install 11.2.0.2.0 on Linux OS
    2) Open Source Database (Windows) in Read Only. Generate TRANSPORT.SQL, CONVERTSCRIPT.RMAN & Pfile.
    3) Copy Source datafiles in temporary location on Target OS. Also copy above files.
    4) Create dummy controlfile.
    5) Startup nomount with Changed pfile
    6) Mount database with Dummy Controlfile.
    7) Run CONVERTSCRIPT.RMAN to convert actual datafiles from Windows Platform to Linux Platform.
    8) Shutdown the instance and delele Dummy Controlfiles.
    9) Edit TRANSPORT.SQL and do Appropriate Changes like redolog files, datafiles path...
    Now my question is, can I add ?/rdbms/admin/catupgrd.sql in TRANSPORT.SQL script after Startup upgarade command so that Complete Upgradation to 11.2.0.2.0 would be done.
    10) Then run TRANSPORT.SQL on Target System (11.2.0.2.0)
    Tell me if more inputs are required from my side...
    Regards,
    Manish

    This forum deals with migrations from foreign databases to Oracle.
    You might better post your request in this forum:
    General Database Discussions

  • Migration 10g to 11gR2 from Windows to Linux with 6TB DB Size in one step

    Hi,
    I need to do migration from 10gR2 to 11.2.0.2.0 and from Windows to Linux for 6TB database Size. As both Endian format same, I did the migration using RMAN Convert database on UAT but for same 10gR2 version.(Both Source on Target Oracle Version was 10.2.01.0). Now I have to migrate from 10gR2 to 11.2.0.2.0. So it's 2 way process.
    is it possible to club these 2 way migration process ???
    Are following steps right or any modification is required ??
    1) Install 11.2.0.2.0 on Linux OS
    2) Open Source Database (Windows) in Read Only. Generate TRANSPORT.SQL, CONVERTSCRIPT.RMAN & Pfile.
    3) Copy Source datafiles in temporary location on Target OS. Also copy above files.
    4) Create dummy controlfile.
    5) Startup nomount with Changed pfile
    6) Mount database with Dummy Controlfile.
    7) Run CONVERTSCRIPT.RMAN to convert actual datafiles from Windows Platform to Linux Platform.
    8) Shutdown the instance and delele Dummy Controlfiles.
    9) Edit TRANSPORT.SQL and do Appropriate Changes like redolog files, datafiles path...
    Now my question is, can I add ?/rdbms/admin/catupgrd.sql in TRANSPORT.SQL script after Startup upgarade command so that Complete Upgradation to 11.2.0.2.0 would be done.
    10) Then run TRANSPORT.SQL on Target System (11.2.0.2.0)
    Tell me if more inputs are required from my side...
    Regards,
    Manish

    The directory structure is different...that's why you need to create the tablespaces in Linux. e.g. export dump says create tablespace in D:\..., there is no such thing in Linux. You can just export it, install software, create the db, tablespaces in Linux and import into the 10g in Linux.

  • Utl_file gives error when coping file from windows to linux

    Red Hat Enterprise Linux Server release 5.7 (Tikanga)
    Oracle 11.1
    Hi there,
    I can't copy a file with utl_file.fcopy after copying file with samba from winodws to linux. Only after I open the file on linux and save it, can I copy it :
    1.) Copy file from windows (drag and drop)
    2.)
    SQL> exec utl_file.fcopy('XXMS_DATA_IMPORTS', 'Project_62.csv','XXMS_DATA_IMPORTS', 'xxms_pa_tasks_master.csv');
    BEGIN utl_file.fcopy('XXMS_DATA_IMPORTS', 'Project_62.csv','XXMS_DATA_IMPORTS', 'xxms_pa_tasks_master.csv'); END;
    ERROR at line 1:
    ORA-29284: file read error
    ORA-06512: at "SYS.UTL_FILE", line 270
    ORA-06512: at "SYS.UTL_FILE", line 1243
    ORA-06512: at line 1
    3.)su to root
    4.)open file and save it with vi, without changing anything
    5.)
    SQL> exec utl_file.fcopy('XXMS_DATA_IMPORTS', 'Project_62.csv','XXMS_DATA_IMPORTS', 'xxms_pa_tasks_master.csv');
    PL/SQL procedure successfully completed.
    How can I copy from windows to linux with samba, so this doesn't happen?
    Please help

    After the file is initially created in Linux:
    What are the owner and group for the directory in which the file resides?
    What are the directory permissions?
    What are the owner and group for the file?
    What are the file permissions?
    What is the OS name of the oracle user?
    After root vi's and resaves the file:
    What are the owner and group for the file?
    What are the file permissions?

  • Migrating Repositroy from Windows to Linux

    Hi,
    How to migrating the repository from windows Server to Linux in OBIEE. Is there any process ?
    Thanks !

    Hi,
    See the below link is helpful for you,
    http://siebel.ittoolbox.com/groups/technical-functional/siebel-analytics-l/migrating-oracle-bi-siebel-rpd-file-from-windows-to-linux-2146407
    Thanks,
    Balaa...

  • Printing after Migration from Windows to Linux

    We have just migrated 11.5.2 from Windows to Linux. I am not sure how to setup printers. In windows we simply had a UNC pointing to our Windows Printer Server and the Printers Queue. This was in the Printer Column and the Type was HPLJ4SI in the Type column under Install > Printer > Register....like this:
    \\MYCOPRT03\PTS2245
    Not sure what to put in linux. Currently we are getting this error:
    Executing request completion options...
    ------------- 1) PRINT   -------------
    Printing output file.
    Request ID : 7457024
    Number of copies : 1
    Printer : \\MYCOPRT03\PTS2245
    /bin/sh: print: command not found
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 127
    Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. Program exited with status 127.
    Action: Review your concurrent request log file for more detailed information.

    Chris,
    It appears that these links are not savable.You need to refer to the docs in those threads for the steps you have to follow to setup a printer on Linux/Unix.
    How to Setup Printer for Oracle Applications 10.7 - 11.5.x Quick Reference [ID 123140.1]
    How to Test an Initialization String Outside of Oracle Applications [ID 106186.1]
    How to setup Printer Arguments Within Oracle Applications [ID 73804.1]
    Oracle Applications Character Printing [ID 112172.1]
    lp: The printer or class was not found.
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1As applmgr, source the application env file and issue "which lp" and make sure it is accessible by the OS user. If the command is available, then it is something with your printer definition -- Issue "system-config-printer" from the command prompt to launch the Printer Configuration Tool and configure your printer at the OS level.
    Thanks,
    Hussein

  • Migrating database from windows to linux using dbca templates

    Hi every one,
    Is it possible to migrate Oracle10g database from Windows to Linux by using DBCA templates?????????????
    If yes please guide me, as i tried it and am getting error while creating database on linux using DBCA templates of Windows server.
    Warm regards,
    Veeresh.S
    (Oracle DBA)

    With DBCA you can create a new database, delete a database, create ASM, and manage templates.
    There's no option of migrating a database from one platform to the other. If you want to migrate your database from Windows to Linux you have 2 ways of doing it:
    1 using IMP/EXP Export you db on windows and Import it on Linux.
    2 Use across platform transportable tablespace if you db is already on 10g.
    Regards,
    Tony

Maybe you are looking for