ODBC Windows to Linux

Hi all,
I have Instant client on a windows machine connecting via ODBC to my Linux machine with Oracle 10.2 on it. After days of pain, I finally bypassed the tnsnames.ora lookup and made a connection. The normal tnsnames.ora lookup never worked for me. I'm thinking it doesn't work. Ever.
My guess is that the CRLF to LF windows to linux translation never happened in the ODBC dirver. Has anyone ever had something like DBQ=mySid; actually perform the proper lookup on the server and connect to the database or did you all finally do what I did and bypass the tnsnames.ora lookup server-side? I like the elegance of the SID lookup solution and would like to implement it if possible.
Thanks for the help - Tim C.

Did you do the dos2unix conversion of the tnsnames.ora file? It may work for you then. Please let me know.

Similar Messages

  • Instant client ODBC driver for Linux

    I had previously posted this under the ODBC forum, but didn't get a response there.
    I am familiar with using ODBC and visual basic under Windows. I would like to use the Oracle instant client ODBC under Red Hat ES3 within a C or C++ program to access an Oracle database.
    Where can I find documentation related to this:
    a) setting up an ODBC connection on Linux
    b) installing the Oracle instant client on Linux
    c) building an application with Oracle instant client ODBC
    Am I correct in assuming that any C/C++ ODBC code examples from windows could also be used on Linux.
    Thanks,
    Werner

    Hi,
    >>a) setting up an ODBC connection on Linux
    go to http://www.unixodbc.org/
    More information you can take a look on Note:404041.1 from Oracle Metalink
    >>b) installing the Oracle instant client on Linux
    You can take a look on this link below:
    http://www.oracle.com/technology/software/tech/oci/instantclient/index.html
    Cheers

  • Transaction behavior changed with change in Windows to Linux Environment

    Hi All,
    I am facing a very weird problem.
    I have a 2 BPEL Synchronous Services lets say A & B. A calls B in its flow and B inserts a row into database and then retrieves the inserted row (as the primary key is sequence generated through a Trigger).
    This flow was working perfectly when:
    ·     It was on windows Development Box with SOA SUITE and DB Server on the same machine.
    ·     All the DB adapters had jca:Address information in it.
    Problem:
    ·     After moving them to a Unix box with a remote DB Server, I am seeing the problem that retrieval is happening before commit of insert and failing.
    Point to remember:
    ·     Insertion, selection, assignment all are happening in the different ‘SCOPE’
    ·     I have tried even putting them in a single scope but error remained same.
    ·     I have even tried putting a wait between them, so it’s a plain “Transaction not commited “issue
    I am expecting it could be an issue with the way Data source has been created or something else.
    Please suggest your pointers on this.
    Thank you.

    Hi Win
    1. There is absolutely NO changes or specific requirements to deploy a portal EAR created from Windows and deploying on Unix or Linux Env. We do this very often. I export my entire portal applicatoin (EAR, WAR and dataSync if its there) from Workshop or Eclipse (10.3.2) IDE as .EAR file. Then we can deploy this .EAR file pretty much in any Portal Domain on any Env like Linux. So first I want to clarify that there is NO need to change any files or do steps to deploy a portal EAR from Windows to Linux Env.
    2. Now coming to your error, the root cause seems to be this: java.lang.ClassNotFoundException: org.apache.beehive.netui.pageflow.PageFlowContextListener
    a) On Windows did you test your EAR on a Portal Domain. I assume you may have already did this.
    b) Is the domain that you created on the Linux Env and its version matches exactly with what you had in Windows Env. Say in Windows if you have WLP 10.3.1, then on Linux also you should have WLP 10.3.1. If not, you need to upgrade your portal EAR first in Windows to 10.3.x and then deploy.
    c) Compare the config.xml file modules specially the portal framework shared modules. They should be same in both Windows and Unix except for the location ofcourse.
    d) On Windows, by any chance did you deploy any extra additional modules in the portaldomain. If so do the same on Linux Env also.
    e) Other then config.xml file, all the other details are within the .EAR file itself like weblogic.xml, weblogic-application.xml file etc etc.
    f) So better compare you config.xml file in both the working and not working Envs.
    g) Also on Linux, are you deploying on Single Server domain or cluster domain. If cluster, make sure you deploy your portalEar only to Cluster because none of hte shared modules are deployed to Admin. So deploy only to cluster.
    Thanks
    Ravi Jegga

  • Copy of a CD (created by Disk Utility) not recognized by Windows or Linux

    I created a copy of AutoCAD 2005 (not pirating it... just wanted a backup copy of the install CD).
    I used Disk Utility (File > New > Disk Image From Folder) to successfully create a DMG file on my MacBook. I could mount the DMG and browse all the files on it.
    I then burned a CD (Disk Utility > select DMG > click burn), which mounts fine on OSX. However, my Windows and Linux boxes will not recognize it (while they recognize the original CD just fine).
    I tried again, this time setting the file format to DVD/CD master. It made a CDR file, which I burned to CD. Got the same result: Windows and Linux don't recognize it while OSX does.
    So instead I burned the files to a CD ala drag and drop using Finder. This time the CD was recognized by Windows and I used it to install AutoCAD.
    However, my understanding is that doing it this way won't work for a bootable CD, so I'd like to figure out why Disk Utility wasn't able to make an exact copy.
    Any thoughts? Problem with copy protection? Problem with the CD's file system?
    Details about the optical drive in my MacBook (1st gen 2.0GHz, 2GB RAM):
    MATSHITA DVD-R UJ-857:
    Firmware Revision: HBE4
    Interconnect: ATAPI
    Burn Support: Yes (Apple Shipped/Supported)
    Cache: 2048 KB
    Reads DVD: Yes
    CD-Write: -R, -RW
    DVD-Write: -R, -RW, +R, +RW
    Burn Underrun Protection CD: Yes
    Burn Underrun Protection DVD: Yes
    Write Strategies: CD-TAO, CD-SAO, DVD-DAO
    Media: No
    MacBook 1st gen CoreDuo 2.0GHz, 2GB RAM   Mac OS X (10.4.8)  

    Yeah OS X's Disk Utility doesn't burn using the ISO 9660 file system while Finder does (I could swear I made a copy of an MS Office CD with Disk Utility, but maybe I'm remembering wrong). Anyway, Disco (a program I got in a MacHeist bundle) will make an exact copy of CDs. Anyone looking for a free solution, check out LiquidCD and burn, which may have the ability to copy Windows CDs (appears to be on their lists of features, but I haven't tried them myself).

  • Sync iPod to Mac, but store files on Windows and Linux

    I am an advanced user on both mac and widows system. I had my old 3rd Gen ipod where it was in FAT32 format and would sync to a Win machine. Then I could use the ipod to transfer data (ala external harddrive) on windows and mac platforms.
    So now I have a 5th Gen Ipod and Itunes on my G5. Today I wanted to use the ipod to move some files between my work windows machine and home to my mac. To make a long story short the new ipod is formatted to be hfs+ journeled system, which windows can't read.
    So I figure the easy solution is to reformat the ipod to be win-dos format, let it put the ipod software on, dump the library back and I should have a 5th gen with FAT32 that can be read by windows (or linux). So here's the rub
    I used Disk Utility in OSX to partition the ipod several times. the first time I just specified ms-dos format (or whatever the disk utility calls a windows partition). All went well until the updater could not put the software on the new ipod claiming that it had to be in mac format. Then I tried to split the drive and parition into a large mac/hfs partition (for all the itunes files) and a small windows partition for the ipod (for data file storage). The problem is that the updater kept selecting the fat32 partition for installation (because I had to choose master boot record in order to be able to put the windows parition on there. at least this is what I suspect was happening). Two partitions woudl mount on the desktop, but only one would control the ipod.
    So why not just let the windows parition be the one partition that had the ipod control software on it, you say? Because then I'm back to the problem that the iPod Updater won't deal with updating the windows partition.
    Any ideas on a work around?

    My concern is that when I have to update the iPod (in the future), will the windows based updater software be required?
    Only if you want to continue to use it on Windows machines.
    If you want to use the Mac Upddater, it will not be read by Windows.
    If I do what you are suggesting, will the ipod return to being a resident mac based sycing device even though the first update/install of the ipod software was on a windows machine?
    No. You can use it on both/either Mac and WIndows.
    This is why I thougth some sort of partition with space set aside for the windows partition would be the workaround?
    The iPod Updater formats the entire disk, not a partition.

  • How to best partition the HDD for dual boot: Windows 8 & Linux

    Hi,
    I'm a newbie in Windows 8, linux, Partition....
    I would like to use my new laptop with windows 8 pre-installed to the following:
    Create a Dual Boot Windows 8 / Ubuntu
    Create on my C drive (unique drive on my laptop):
    *a partition for the system
    *one for Windows 8
    *one for Data and
    *last one for Ubuntu OS
    My aim is :
    -to install VmWare on Windows 8 and run Checkpoint Splat with virtual machines to perform CCSA labs.
    to install GNS3 on Ubuntu for CCNP labs but with GNS3 accessing files in the Data partition
    I have a Toshiba Satellite with 750Gb and 8 Go RAM.
    According to you what's the best size for my partitions?
    Is there a better way to partition my C drive regarding my aim?
    Best Regards
    ***I don't know if it's the right section, sorry for that. Feel free to move this thread in the appropriate section***

    Hi,
    Thank you all,
    Isn't it too much 200G for Windows as i will on ly install VMWARE Workstation 9 for lab purposes and possibly a few softwares.
    VMWARE installed on Windows will require 2 GB + 1 GB per host (i will use approximatively 15 hosts).
    Checkpoint products will be installed on VMWARE that is installed in Windows :
    - disk space needed for 3 Checkpoint gateways: 3*37 GB
    - disk space needed for 2 Checkpoint gateways management servers: 2*10 GB
    On Linux I'll install GNS3 with 10 GB disk space required and a few softwares.
    I've got a Toshiba stellite computer with Windows 8 pre-installed.
    Processor: Intel(R) Core(TM) i5-3210M CPU @2.5 Ghz
    RAM: 8 Go
    64 bits OS, processor x64
    See below the screenshot
    I've taken screenshot of my partition (below).
    * Don't take into account the disk 1 (E) partition
    Can u confirm that in Disk o, partitions with 450 Mo, 260 Mo and 9.48 Go are for recovery system?
    I am planning to let the recovery partition as it is and divide the TI30985500A (C) partition (688 Gb) into:
    - 200 Gb windows partition
    -100 Gb Linux partition
    -388 Gb data partition
    What do you think about this partionning regarding the informations i've provided above?
    Greets

  • Executing WINWORD from both Windows and linux using Java

    Dear All,
    I have a problem when trying to use Runtime class to execute a winword document. My code is as follows.
    Runtime r= Runtime.getRuntime();
    try{
    r.exec("rundll32"+" "+"url.dll,FileProtocolHandler"+" "+"WINWORD"+ " "+"file://C://welkom.doc");
    catch(Exception ex){
    System.out.println("Unable to open the doc file:"+ex);
    When I execute this swing application with the above, the program is unable to open the specific file. And it says "Problem with the short cut, unable to open the file". When I run the program without the file name, it opens a new doc file.
    Attn: what I want to do here is I need to open the winword file from both windows and linux. So I cannot use the relative path of the WINWORD.exe file.
    Can anyone help me?
    Thanks in advance.
    Regards,
    Bala

    If you take a look at the api, there's an exec(String[]) method. This is the one you should use when calling a command with multiple parameters.
    so something like...
    String[] cmd = new String[] {"rundll32", "url.dll,FileProtocolHandler", "WINWORD", "file://C://welkom.doc"}
    r.exec(cmd);

  • 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.

  • File Path for Windows and Linux

    hi can any one give solution how to implement code for odi file copy .
    i am using Same Code for Windows and Linux
    OdiFileCopy "-FILE=#Var_Lookup_File_Path \ Employee.csv" "-TOFILE=#Var_Lookup_File_Path_Backup\Employee.csv" "-RECURSE=NO" "-OVERWRITE=YES" "-CASESENS=NO"
    the problem of above code is
    it is working in windows but my Prod is Linux environment.
    in linux \ not works.. / will work
    please suggest how to concatnate variable and file without' \' '/'

    Thanks Phani
    i think in OS command also we may give path like #variable\File Name.
    So how it will replace \ with / in Linux.
    Could you give code for my Scenario..
    Thanks for helping

  • Jdev 11g pre3 Preforms on Windows contra Linux

    Have been working a lot with the Jdev 11g, think it is nice and easy to work with.
    Except after a little time (or bigger project) it gets really slow, takes like 30sec, when changing a property and tabbing out. (If you look a the memory usage it runs around 2-4 GB, with only Jdev running plus standard Windows stuff)
    Have now been trying on:
    XP prod on a Dual Core Pc with 2 GB ram
    Win 2003 Server – server with 8 gb ram
    Now I tried to work a little with it on a Kubuntu (running on a virtual Pc 2007 (1 GB ram), and here it seem to a much small issue with the slowdown and with the memory usage.
    Should there be a different between running Jdev 11g on a Window or Linux PC?
    Have anyone tried to work a longer period on a Linux PC with JDev?

    Hi,
    note that the IDE performance issue is mentioned in the release notes of JDeveloper 11. It also mentions that this is an area that developers are looking at in a release version TP3. Performance should not vary too much between OS.
    Frank

  • Native WIndows or Linux on XServer Hardware

    Does anyone know if I can run Windows or Linux on the XServe natively without Leopard?
    -Thanks

    Hello Test Bed Fred, and welcome to the AppleBoards,
    Assuming you are asking about Intel based current or recent Xserves you can run Windows using virtualization like Parallels Server BME, but you can't simply install it on the machine. You can also install and run a number of *nix flavors virtualized if you want to do that.
    I'm sure there are *nix installs that can be run directly on the metal - the EFI boot is the only real technical hurdle that needs to be overcome. All that being said unless the machines are free I wouldn't generally choose to do this because you're paying Apple for software you won't use to get the hardware, but you can do whatever you want.
    HTH,
    =Tod

  • Windows or Linux

    Hello,
    I've been doing all my OCS test setups under Linux, but the time for actually rolling a production setup to the company is approaching.
    Oracle just released OCS 9.0.4.1.1 for Windows, and having no particular loyalties to either Windows or Linux, I was curious what people's feelings were on this topic.
    The main downside I can see about the Windows version is the delayed release time. New releases always seem to be out last for Windows.
    I have no real complaints with Linux, but at the cost of RedHat ES or AS licenses (and recurring maintenance fees), they really aren't any cheaper than a Windows install.
    Anyone have any other pros/cons?

    Thanks for your prompt reply Dipak.
    My main concern is that I want to test OCS on a supported OS. We would use the same OS we tested on of course for the production computer. From my understanding, Oracle will provide support down to the OS level if you use a supported linux operating system, RedHat AS & ES and United Linux. If we HAVE TO use RedHat AS or ES then we have to use it. I'm interested in using SuSE Linux which is part of United Linux. I've spoken with a technical contact at Oracle regarding OCS and they said that United Linux is NOT supported yet. However, according to SuSE they have Oracle certification for OCS:
    http://www.suse.com/en/business/certifications/certified_software/oracle/certified.html
    And according to the following Oracle sites:
    http://otn.oracle.com/tech/linux/htdocs/oracleonlinux_faq.html
    http://otn.oracle.com/tech/linux/htdocs/linux_techsupp_faq.html
    There is support down to the Operating System level for OCS. Have you heard differently? Perhaps the technical consultant was misinformed?

  • Oracle10G and oracle11gr1 for windows and Linux

    Hi
    Can you help me in getting these Softwares
    Oracle10G and oracle11gr1 for windows and Linux ,I am unable to get them .
    Thanks in advance
    Sanjeev Sen

    Oracle10G NOT SUPPORTED ANYMORE,NO SOFTWARE AVAILABLE TO DOWNLOAD TOO
    oracle11gr1 for windows and Linux > http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html

  • Transportable tablespace Windows to Linux different character sets

    Hi,
    Is it absolutely necessary to have the same character set when doing a cross platform transport tablespace from Windows to Linux? We are trying to do it on Oracle10gR2 from Windows to Linux.
    Thank you.

    Hi, yes is necessary that your databases have the same chracter set, please review the limitations into the Note:291024.1.
    Luck.
    Have a good day.
    Regards.

Maybe you are looking for

  • Using D-LINK dir-825 router and unable to print on hp laserjet 4000tn

    i am using a d-link dir-825 router for my network but recently i have bought a used hp laserjet 4000TN printer for my small network.  i can ping it from any where but i am not be able to print off it. thank ASe

  • Where can I get an idvd?

    I bought a new macbook pro with lion. I have iPhoto and iMovie pre-installed but can not creat home made dvd from them. Find out that I need idvd for making home movie and dvd. Should idvd be pre-installed in new mac as a package of iLife?  Where can

  • Hi how to debug the stand form and standard program of credit demo......

    hi , i could find find the credit memo in FI standard form and standard program at the given path SPRO->IMG->Financial Accounting->Accounts Receivable & Accounts Payable->Customer Accounts->Line Items->Correspondence->Carry out and check settings for

  • Itunes playlist disappeared, how do i get it back?

    My parents have a small macbook, i forget which one.  my father has downloaded over 10,000 songs from his collection and had over 100 playlists which he then synced to his ipod.  he opened his laptop one morning and all of the playlists were gone.  t

  • Different user IDs in UME and ADS, mapping?

    Dear All, we want to implement Integrated Windows Authentication for Portal. For such a implementation we we've found descirption in the SAP Note: 935644 - "Configuring Kerberos on NW04 against Database User Store" The problem is, that we have differ