Linux ODBC!

Hi,
Does Linux ODBC is required to install and setup Oracle BI Apps enviroment on Linux box?
Thanks
Cooper

What is Linux ODBC? Do you mean a Linux OBDC driver to use within OBIEE?
http://www.catb.org/~esr/faqs/smart-questions.html#beprecise
All the required software for an OBIEE Linux installation is provided and installed by the OBIEE installer.

Similar Messages

  • Linux ODBC 12504 error

    I am doing Linux testing of software (that works on Windows) using ODBC against Oracle and getting a 12504 error (TNS:listener was not given the SID in CONNECT_DATA)
    The ODBC call being used is SQLDriverConnect() and connect string that works on Windows is: "DSN=OracleDSN;UID=scott;PWD=tiger"
    I have ORACLE_HOME set to /opt/oracle/product/11.1.0 and ORACLE_SID set to demo.
    The Linux ODBC driver manager is unixODBC, and my .odbcinst.ini file specifies: Driver = /opt/oracle/product/11.1.0/lib/libsqora.so.11.1
    In my .odbc.ini file, I have OracleDSN defined, and in that file I have tried setting: Servername = localhost/demo, to specify the SID, but that didn't help.
    Question: How do I avoid the 12504 error and specify the SID name using SQLDriverConnect?

    Are you able to connect using SQL*plus l
    Yes, I can connect locally using: sqslplust scott/tiger
    But for some reason, to connect remotely, I have to use the full service name, instead of just "demo":
    sqlplus scott/[email protected]/demo.reddog.gpv.az05.bull.com
    You may want to check your listener and tnsnames.ora settings for this error.I didn't see any obvious errors in these files (listed below):
    # tnsnames.ora Network Configuration File: /opt/oracle/product/11.1.0/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    DEMO =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = reddog.gpv.az05.bull.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = demo.reddog.gpv.az05.bull.com)
    # listener.ora Network Configuration File: /opt/oracle/product/11.1.0/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = reddog.gpv.az05.bull.com)(PORT = 1521))
    )

  • Specifying Partner Failover in odbc.ini for Linux ODBC driver for SQL Server

    Hi,
    We are trying to specify the partner failover when making connections via Linux ODBC driver for SQL Server. Do you know a way to specify partner failover in the DSN entry in odbc.ini? 
    We are using Linux ODBC driver for SQL Server and unixODBC DriverManager.
    Our DSN is:
    [MyDSN]
    Driver=ODBC Driver 11 for SQL Server
    Description=MyDSN
    Server=MySERVER,<port>
    I also tried to use the following connection string in Python (via pyodbc) bypassing the DSN and connecting using the server name.
    cnxn = pyodbc.connect("Server=server1,<port>;UID=sa;PWD=<pwd>;Driver=ODBC Driver 11 for SQL Server;Failover_Partner=Server2,<port2>;Database=MyDB")
    If the standby DB is on server1 connection fails. It doesn't try server2. If the DB is principal on server1 connection succeeds.
    Thank you,
     Liviu
    LLL

    Hello,
    Did you use ODBC Driver for SQL Server to connect to database that uses database mirroring?
    According to
    the BOL,it does not list "Failover_Partner" as ODBC Driver for Linux connection string keywords.
    But ODBC driver for Linux supports
    AlwaysOn Availability Groups or Failover Cluster Instance by specify MultiSubnetFailover=True when connecting to a SQL Server 2012 availability group listener or SQL Server 2012 Failover Cluster Instance.
    The following case is about similar issue and it seems that ODBC Driver on Linux does not recognize Failover_Partner in connection string. (Not test myself).You can refer to:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/6a8b5223-066d-4493-84a3-b5374a32e433/native-client-on-linux-does-not-recognize-failoverpartner-in-connection-string?forum=sqldataaccess
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • No SQL Data sources in Essbase 11 EAS on Linux  -- ODBC help

    Hi all,
    Oracle Enterprise Linux 64-bit, Oracle 10.2.0.4 64-bit, Oracle Application Server 10.1.3.1 32-bit, Hyperion 11.1.1.3 32-bit
    While in the Data Prep Editor, I'm trying to create a rules file. however, when I go to File > Open SQL and enter my server/application info, an error is raised: There are no data sources defined. Please create one to continue.
    The contents of my odbc.ini are below. When I run the demoodbc executable (after a . hyperion/products/Essbase/eis/server/is.sh) and connect to the db using my username/password, the connection succeeds and the query runs successfully. But for some reason eas isn't able to use that same odbc connection.
    I have no idea where else to look as far as fixing this issue. None of the data sources that were originally in odbc.ini (the various wire connections, etc) appeared in the open SQL window either, so...?
    Where do I start looking on this?
    Thanks!
    [ODBC Data Sources]
    kcdbnk=KCDBNK on ORCL102
    [kcdbnk]
    QEWSD=40161
    Driver=/app/oracle/product/hyperion/common/ODBC/Merant/5.2/lib/ARora22.so
    Description=KCDBNK on ORCL102
    AlternateServers=
    ApplicationUsingThreads=1
    ArraySize=60000
    CachedCursorLimit=32
    CachedDescLimit=0
    CatalogIncludesSynonyms=1
    CatalogOptions=0
    ConnectionRetryCount=0
    ConnectionRetryDelay=3
    DefaultLongDataBuffLen=1024
    DescribeAtPrepare=0
    EnableDescribeParam=0
    EnableNcharSupport=0
    EnableScrollableCursors=1
    EnableStaticCursorsForLongData=0
    EnableTimestampWithTimeZone=0
    HostName=linux
    LoadBalancing=0
    LocalTimeZoneOffset=
    LockTimeOut=-1
    LogonID=USERNAME
    Password=PASSWORD
    PortNumber=1521
    ProcedureRetResults=0
    ReportCodePageConversionErrors=0
    ReportRecycleBin=0
    SID=ORCL102
    TimestampeEscapeMapping=0
    UseCurrentSchema=1
    WireProtocolMode=1
    Edited by: JustJames on Dec 16, 2009 8:36 PM

    Some posts that may be of use to you
    Re: ODBC.INI - Essbase to Oracle database connection
    Re: How to configure DSN in Linux for use in Essbase?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Linux ODBC Errors

    I'm trying to port my setup from a Windows machine to a Linux server and haven't been able to thus far. The DB is on one server and the OBIEE instance in on a different server. I have an Oracle Client installed and working on the OBIEE server as I check my DB connection in the oemapp utility. The ODBC setup on the other hand hasn't gone smoothly at all.
    When looking at the OBIEE installation manual it mentions a file named 'tdata.so'; I don't have this file anywhere on my server. I found a posting on Metalink about setting up ODBC in Linux and haven't been able to get it to work successfully thus far. Does anyone have a step by step tutorial for setting up OBIEE in Linux? Thanks for the help in advance as I'm really stuck here.

    Hi there,
    I'm also having some problems trying to connect to an Oracle DB on PHP, using unixODBC and Oracle's Instant Client.
    I've followed every usefull information from tutorials that google pointed to but when I try to test the connection with isql I always get this error:
    #  isql -v SPIDER
    [08004][unixODBC][Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve the connect identifier specified
    [ISQL]ERROR: Could not SQLConnectFor what I've found this problem seems to be very frequent but most of the help applies to the windows.
    I've been retrying and searching for too long so I need some outside and more experienced help. :rolleyes:
    This is my /opt/oracle/instantclient:
    /opt/oracle/instantclient #  ls -l
    total 102716
    -r-xr-xr-x 1 root root    91881 2006-11-15 20:38 ODBCRelnotesJA.htm
    -r-xr-xr-x 1 root root    58416 2006-11-15 20:38 ODBCRelnotesUS.htm
    -r--r--r-- 1 root root    21548 2006-11-15 20:38 ODBC_IC_Readme_Linux.html
    -rw-r--r-- 1 root root      387 2008-01-31 23:17 TNSNAMES.ORA
    -r--r--r-- 1 root root  1600090 2006-11-15 20:37 classes12.jar
    -rwxrwxr-x 1 root root    67053 2006-11-15 20:37 genezi
    -r--r--r-- 1 root root     1525 2006-11-15 20:38 glogin.sql
    -rwxrwxr-x 1 root root 18825267 2006-11-15 20:37 libclntsh.so.10.1
    -r-xr-xr-x 1 root root  5486009 2006-11-15 20:37 libnnz10.so
    -rwxrwxr-x 1 root root  1398088 2006-11-15 20:37 libocci.so.10.1
    -rwxrwxr-x 1 root root 72480394 2006-11-15 20:37 libociei.so
    -r-xr-xr-x 1 root root   120135 2006-11-15 20:37 libocijdbc10.so
    -r-xr-xr-x 1 root root  1057777 2006-11-15 20:38 libsqlplus.so
    -r-xr-xr-x 1 root root  1434235 2006-11-15 20:38 libsqlplusic.so
    lrwxrwxrwx 1 root root       16 2008-01-31 23:05 libsqora.so.1 -> libsqora.so.10.1
    -rwxrwxr-x 1 root root   772395 2006-11-15 20:38 libsqora.so.10.1
    -r--r--r-- 1 root root     3457 2006-11-15 20:38 odbc_update_ini.sh
    -r--r--r-- 1 root root  1545954 2006-11-15 20:37 ojdbc14.jar
    drwxrwxr-x 4 root root     4096 2006-11-15 20:38 sdk
    -r-xr-xr-x 1 root root     8867 2006-11-15 20:38 sqlplusMy odbc.ini:
    [SPIDER]
    Description     = BD database test
    Driver          = oracle-driver
    Server          = spider.di.uminho.pt
    Database        = TRABS
    Port            = 1521and my odbcinst.ini:
    [oracle-driver]
    Description     = Oracle ODBC driver for Oracle 11g
    Driver          = /opt/oracle/instantclient/libsqora.so.1
    FileUsage = 1My TNSNAMES.ORA:
    SPIDER =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS =
            (PROTOCOL = TCP)
            (HOST = spider.di.uminho.pt)
            (PORT = 1521)
        (CONNECT_DATA =
          (SERVICE_NAME = TRABS)
      )My env:
    TWO_TASK=TRABS
    LD_LIBRARY_PATH=/opt/oracle/instantclient
    TNS_ADMIN=/opt/oracle/instantclient
    PATH=/opt/oracle/instantclient:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin:/usr/share/eclipse:/opt/java/bin:/opt/java/jre/bin:/opt/mozilla/bin
    ORACLE_HOME=/opt/oracle/instantclientI've wasted many hours on this, but I think I'm about to give up to this last error.
    This page http://ora-12154.ora-code.com/ points to problems accessing/reading the TNSNAMES.ORA but I can't see what's wrong with my configuration.
    Any help would be really appreciated.:)
    EDIT: Maybe this wasn't the right forum for this post, so I've created a new Thread on Linux category:
    PHP: ODBC + Oracle Instant Client
    Message was edited by:
    VuDu

  • Linux ODBC Instant Client and Web access?

    Hi,
    I have downloaded instant client 10.2 and the corresponding ODBC RPM, installed them on a CentOS 4.7 (32 bits) Linux machine. I have also installed UnixODBC on this machine. After a lot of experiments and searches on Internet, I have finally obtained a working state. I.e. using DataManager to test the connection, I access to the Oracle Server that is on another computer.
    Now, I am in the second step of my tests. I have to access to the database through Internet. The scheme is the following:
    1- a web client is connected, to my web server (server is HTTPD),
    2- the web server has to access to the Oracle server by using the ODBC Instant Client.
    But this does not work yet. When I try this configuration, I see the error "*can't find the lib libsqora.so.10.1. libcintch.so.10.1 cannot open shared object library*". To solve this problem, I have to tried to define (and export) LD_LIBRARY_PATH in the /etc/sysconfg/httpd file. But this does not work.
    Does anyone has a solution?
    Thanks in advance.

    here, the trace from the log file:
    [ODBC][8089][SQLConnect.c][3549]
              Entry:
                   Connection = 0x81db4a0
                   Server Name = [GTModus][length = 7 (SQL_NTS)]
                   User Name = [GTModus][length = 7 (SQL_NTS)]
                   Authentication = [*******][length = 7 (SQL_NTS)]
              UNICODE Using encoding ASCII 'ISO8859-1' and UNICODE 'UCS-2LE'
    [ODBC][8089][SQLConnect.c][1012]Can't open lib '/usr/lib/oracle/10.2.0.4/client/lib/libsqora.so.10.1' : libclntsh.so.10.1: cannot open shared object file: No such file or directory
    Concerning exporting LD_LIBRARY_PATH I did as explained in one of the few posts found on internet. I have also tested by modifying the httpd.conf file by adding SetEnv directives. But whatever the changes I did, it seems that, through internet, the environment is lost.

  • MS SQL Server ODBC Connection On Linux

    Hi All,
    I am badly stuck with configuration of MS SQL Server ODBC connection on SUSE Linux 10. I am almost tried everything I got from SAP notes but still getting ODBC Lib Data Direct drivers could not be loaded IES 10901.
    ENV: SAP BO 4.0 SP7, MS SQL SRV 2008
    Here is what I have tried so far:
    1) Modified env.sh under /install_dir/sap_bobj/setup and added the line in bold.
    ":${BOBJEDIR}enterprise_xi40/linux_x64/odbc/lib:${BOBJEDIR}enterprise_xi40/$SOFTWAREPATH32/odbc/lib"
    The line should look like this
    LIBRARYPATH="$LIBDIR:$LIBDIR32:$WCSCOMPONENTDIR:$PLUGINDIST/auth/secEnterprise:${CRPEPATH64}:${CRPEPATH}:${MWHOME}:$PLUGINDIST/desktop/CrystalEnterprise.Report:
    ${BOBJEDIR}enterprise_xi40/$SOFTWAREPATH32/ras:${BOBJEDIR}mysql/lib:${BOBJEDIR}enterprise_xi40/linux_x64/odbc/lib:${BOBJEDIR}enterprise_xi40/$SOFTWAREPATH32/odbc/lib”
    2) We have .odbc.ini file in the home directory of our BO user on linux. Added following DSN entry (Same DSN is created on client and odbc connection has been created on the universe using this DSN:
    boeadm01:~> vi .odbc.ini
    [DSN_NAME]
    Driver=/opt/sapboe/sap_bobj/enterprise_xi40/linux_x64/odbc/lib/CRsqls24.so
    Description=DataDirect 6.0 SQL Server Native Wire Protocol
    HostName=SQL Server Hostname
    Database=SQL DB Name
    QuotedId=Yes
    AnsiNPW=No
    3) We then added the environment variables and LIBPATH in BO user .profile file.
    boeadm01:~> vi .profile
    #Sql Server Environment
    ODBCINI=$HOME/.odbc.ini
    export ODBCINI
    LD_LIBRARY_PATH=/opt/sapboe/sap_bobj/enterprise_xi40/linux_x64/odbc/lib
    export LD_LIBRARY_PATH
    4) Did echo to check the LIBPATH
    boeadm01:~> echo $LD_LIBRARY_PATH
    /opt/sapboe/sap_bobj/enterprise_xi40/linux_x64/odbc/lib
    5) Modified sqlsrv.sbo under /install_dir/sap_bobj/enterprise_xi40/dataAccess/connectionServer/odbc
      <Parameter Name="Use DataDirect OEM Driver" Platform="Unix">Yes</Parameter>
    6) Restarted BO node.
    Tried creating a new webi report and got the error mentioned above.
    Please help!!!
    Thanks,
    Anshul

    Hi Anshul,
    Please refer the below KBA & SCN thread regarding your issue.
    Data Direct ODBC Drivers for SAP BusinessObjects Data Services
    Link:
    http://scn.sap.com/docs/DOC-8898
    Business Objects XIR2 Link:
    Link:
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/50eca18b-d13e-2b10-a8ab-9738927177d6?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/20e11153-5c3f-2b10-f9be-974dc4749fd8?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/70eabcba-5c64-2b10-6db2-ae28ae4d1295?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/4039c80b-6b3f-2b10-64a4-e8e591292e89?quicklink=index&overridelayout=true
    KBA:
    1291142 - Web Intelligence reporting using DataDirect drivers in Unix
    1292899 - Data Direct Drivers for Crystal Report in Unix environment
    SQL Server ODBC Driver for Linux/Unix Getting Started Tutorial
    Link:
    http://www.easysoft.com/products/data_access/odbc-sql-server-driver/getting-started.html
    Step by Step: Setting up Linux ODBC driver for SQL Server
    Link:
    http://blogs.technet.com/b/sqlman/archive/2012/08/03/step-by-step-setting-up-linux-odbc-driver-for-sql-server.aspx
    Microsoft SQL Server ODBC driver for Linux
    Link:
    http://www.codesynthesis.com/~boris/blog/2011/12/02/microsoft-sql-server-odbc-driver-linux/
    Thanks,
    Daya

  • 11g 64-bit ODBC library for Linux?

    I don't see an x86_64 Linux ODBC library for Oracle (at least in the InstantClient download area).
    Is such a beast available? If so, from where? If not, when?
    Thanks!

    I am not sure whether oracle has one available, you may want to try easysoft for one - just a suggestion as I happened to notice they may have one.

  • Connect to MSSQL from OWB Linux.

    Hi,
    This is almost an embarrasing question to ask because I should be able to find this information but Alas! such is life.
    So here goes, I want to be able to connect from my OWB 10gR2 on Linux to Microsoft SQL Server on some windows box. I went into MY_PROJECT->Databases->Non-Oracle->SQL Server and hit create.
    I got details for a location that I filled as follows -
    User Name: username
    Password: password
    Host: Host\Instance
    Port: 1433
    Service Name: Instance
    Use Global Name: unchecked
    Schema: username
    When I test this, I get -
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from OWB_1087
    Am I missing something? Do I need to do something else? I saw this posting -
    Connect to MS SQL server from OWB on Linux platform
    but it seems dated.
    I don't know if there are easier ways to connect from OWB Linux to MSSQL Windows in the newer versions. Any help is greatly appreciated.
    Thanks.

    I recommend watching this viewlet: http://www.oracle.com/technology/products/warehouse/htdocs/sql_server_source_all/sql_server_source_all_viewlet_swf.html
    It shows how to setup connections to SQL Server. However, there is one major change. The viewlet shows how to do this on Windows and you need to do this on Linux. The only step that changes is step 1: setting up the ODBC driver. You will need to find a Linux ODBC driver and driver manager for SQL Server and get that setup. After that you can use the viewlet to setup the Heterogeneous Services.
    Bryan

  • Connection issue on 32 bit Linux OBIEE with Postgres and Mysql

    I am having trouble running reports on 32 bit Linux OBIEE version 10.1.3.4.0 and 10.1.3.4.1 with Postgres or Mysql as data source . I can connect to same data source (postgres and Mysql) from presentation services on windows box and also run queries from nqcmd using 32 bit linux ODBC driver on linux box running OBIEE server. I turned on odbc trace and I see following failures from Postgres and Mysql.
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 12010] Communication error connecting to remote end point: address = ; port = 9703. (HY000)
    SQL Issued: SELECT test_obiee.c1 saw_0 FROM test_Postgre30 ORDER BY saw_0
    Mysql odbc trace file :
    ppid=1:pid=2908 719a:f4c1fb90 ENTER SQLSetConnectOption
    HDBC 0x08d4f170
    UWORD 1042
    UDWORD 4079342863
    ppid=1:pid=2908 719a:f4c1fb90 EXIT SQLSetConnectOption with return code 0 (SQL_SUCCESS)
    HDBC 0x08d4f170
    UWORD 1042
    UDWORD 4079342863
    ppid=1:pid=2908 719a:f4c1fb90 ENTER SQLErrorW
    HENV 0x00000000
    HDBC 0x08d4f170
    HSTMT 0x00000000
    WCHAR * 0xf4c1e140 (NYI)
    SDWORD * 0xf4c1e1a8
    WCHAR * 0xf4c1dd40
    SWORD 1022
    SWORD * 0xf4c1e1ae
    ppid=1:pid=2908 719a:f4c1fb90 EXIT SQLErrorW with return code 100 (SQL_NO_DATA_FOUND)
    HENV 0x00000000
    HDBC 0x08d4f170
    HSTMT 0x00000000
    WCHAR * 0xf4c1e140 (NYI)
    SDWORD * 0xf4c1e1a8
    WCHAR * 0xf4c1dd40
    SWORD 1022
    SWORD * 0xf4c1e1ae
    ppid=1:pid=2908 719a:f4c1fb90 ENTER SQLFreeConnect
    HDBC 0x08d4f170
    ppid=1:pid=2908 719a:f4c1fb90 EXIT SQLFreeConnect with return code 0 (SQL_SUCCESS)
    HDBC 0x08d4f170
    Postgres odbc trace file :
    ppid=1:pid=2951 734f:f4a56b90 ENTER SQLAllocConnect
    HENV 0x0a0cf8c8
    HDBC * 0x0a12f278
    ppid=1:pid=2951 734f:f4a56b90 EXIT SQLAllocConnect with return code 0 (SQL_SUCCESS)
    HENV 0x0a0cf8c8
    HDBC * 0x0a12f278 ( 0x0a12f398)
    ppid=1:pid=2951 734f:f4a56b90 ENTER SQLSetConnectOption
    HDBC 0x0a12f398
    UWORD 110
    UDWORD 0
    ppid=1:pid=2951 734f:f4a56b90 EXIT SQLSetConnectOption with return code 0 (SQL_SUCCESS)
    HDBC 0x0a12f398
    UWORD 110
    UDWORD 0
    ppid=1:pid=2951 734f:f4a56b90 ENTER SQLSetConnectOption
    HDBC 0x0a12f398
    UWORD 108
    UDWORD 2
    ppid=1:pid=2951 734f:f4a56b90 EXIT SQLSetConnectOption with return code 0 (SQL_SUCCESS)
    HDBC 0x0a12f398
    UWORD 108
    UDWORD 2
    ppid=1:pid=2951 734f:f4a56b90 ENTER SQLDriverConnectW
    HDBC 0x0a12f398
    HWND 0x00000000
    WCHAR * 0xf31ad2c0 [      -3] "******"
    SWORD -3
    WCHAR * 0xf31ad2c0
    SWORD 6
    SWORD * 0xf4a4d9de
    UWORD 0 <SQL_DRIVER_NOPROMPT>
    I am new to OBIEE and would appreciate any help . I have verified that data source names used in administration matches ODBC DSN in odbc.ini.

    S Chatterji wrote:
    We are in the process of testing backup recovery for our database. We want to test point in time recovery using RMAN.
    Issue:
    Our production has (64 bit)
    Linux DbProd.xxx.dk 2.6.18-164.0.0.0.1.el5xen #1 SMP Thu Sep 3 00:34:43 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
    and our test area on VMware has (32 bit)
    Linux dbprod.xxx.dk 2.6.18-128.2.1.4.9.el5xen #1 SMP Thu Sep 3 00:34:43 EDT 2009 i686 i686 i386 GNU/Linux
    Please advice a best practice to achieve this.
    Thanks.
    S ChatterjiDuplicate posts do not increase your chances for an answer
    Database » Database - Upgrade, - Test recovery on 32 bit Linux where as Production is on 64 bit with Archive
    Database » Installation, - Test recovery on 32 bit Linux where as Production is on 64 bit with Archive

  • How do I connect to a DB2 database from Oracle 10G on linux?

    Hi
    I have tryed to connect to a DB2 database from oracle 10 G on linux.
    I have installed unixODBC and a db2 odbc driver. I can connect to the db2 using isql, but oracle comes with this error:
    select * from testtable@acc_spc_gr2
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]DRV_InitTdp: DB_ODBC_INTERFACE (718): ; [C077]
    Could not find symbol 'SQLAllocConnect' in dynamic library
    DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library
    '/opt/ibm/iSeriesAccess/lib/libcwbodbc.so'
    ORA-02063: preceding 3 lines from ACC_SPC_GR2
    What am I doing wrong? Any one have a guide to do this?
    - Jesper

    this is my complete configuration
    Database_
    -bash-3.2$ export ORACLE_SID=XE
    -bash-3.2$ sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Mié Jul 7 10:04:43 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Conectado a:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Platform_
    Linux srvpdf 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:47:32 EDT 2009 i686 i686 i386 GNU/Linux
    */usr/lib/oracle/xe/app/oracle/product/10.2.0/server/hs/admin/initDB2DATABASE.init*
    #This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    #HS_FDS_CONNECT_INFO = ODBC_DSN
    HS_FDS_CONNECT_INFO = prueba
    HS_FDS_TRACE_FILE_NAME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/hs/admin/DB2DATABASE.log
    HS_FDS_CONNECT_INFO = DB2DATABASE
    #HS_FDS_TRACE_LEVEL = debug
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_SHAREABLE_NAME = /opt/ibm/iSeriesAccess/lib/libcwbodbc.so
    # ODBC specific environment variables
    set ODBCINI=/etc/odbc.ini
    # Environment variables required for the non-Oracle system
    set DB2INSTANCE=is400
    listener.ora_
    # listener.ora Network Configuration File:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = DB2DATABASE)
    (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    (PROGRAM =hsodbc)
    (ENVS = LD_LIBRARY_PATH = /opt/ibm/iSeriesAccess/lib:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.18.3.32)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.18.3.31)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    tnsnames.ora_
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = srvpdf)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    DB2DATABASE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost )(PORT=1521))
    (CONNECT_DATA =
    (SERVICE_NAME = DB2DATABASE)
    (HS=OK)
    odbc.ini_
    [prueba]
    Description = iSeries Access ODBC Driver
    Driver = iSeries Access ODBC Driver
    System = xxx.xx.3.2
    UserID = xxxxxx
    Password = xxxxxx
    Naming = 0
    DefaultLibraries = QGPL
    Database = CHERRYWEB
    ConnectionType = 0
    CommitMode = 2
    ExtendedDynamic = 0
    DefaultPkgLibrary = QGPL
    DefaultPackage = A/DEFAULT(IBM),2,0,1,0,512
    AllowDataCompression = 0
    MaxFieldLength = 32
    BlockFetch = 1
    BlockSizeKB = 128
    ExtendedColInfo = 0
    LibraryView = 0
    AllowUnsupportedChar = 0
    ForceTranslation = 0
    Trace = 0
    odbcinst.ini_
    [PostgreSQL]
    Description = ODBC for PostgreSQL
    Driver = /usr/lib/libodbcpsql.so
    Setup = /usr/lib/libodbcpsqlS.so
    FileUsage = 1
    [iSeries Access ODBC Driver]
    Description = iSeries Access for Linux ODBC Driver
    Driver = /opt/ibm/iSeriesAccess/lib/libcwbodbc.so
    Driver64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
    Setup = /opt/ibm/iSeriesAccess/lib/libcwbodbcs.so
    Setup64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
    UsageCount = 1
    CPTimeout =
    CPReuse =
    System = 172.18.3.2
    User = inf5mito
    Password = lonco3pue
    NOTE1 = If using unixODBC 2.2.11 or later and you want the 32 and 64-bit ODBC drivers to share DSN's,
    NOTE2 = the following Driver64/Setup64 keywords will provide that support.
    Threading = 2
    DontDLClose = 1
    ODBC Driver_
    -bash-3.2$ cd /opt/ibm/iSeriesAccess/lib
    -bash-3.2$ ls -ltr
    total 2260
    -r-xr-xr-x 1 root root 443939 Apr 5 2008 libcwbxda.so
    -r-xr-xr-x 1 root root 94504 Apr 5 2008 libcwbrc.so
    -r-xr-xr-x 1 root root 16636 Apr 5 2008 libcwbodbcs.so
    -r-xr-xr-x 1 root root 729572 Apr 5 2008 libcwbodbc.so
    -r-xr-xr-x 1 root root 998060 Apr 5 2008 libcwbcore.so
    and this is my error.
    SQL> /
    select from display@db2database*
    ERROR en línea 1:
    ORA-28500: la conexión de ORACLE a un sistema no Oracle ha devuelto este
    mensaje:
    *[Generic Connectivity Using ODBC][C077] Could not find symbol 'SQLAllocConnect'*
    in dynamic library
    *[C079] Failed to load dynamic library*
    *'/opt/ibm/iSeriesAccess/lib/libcwbodbc.so'*
    ORA-02063: 3 lines precediendo a DB2DATABASE
    Edited by: user6669081 on 07-jul-2010 6:31

  • [XI 3.1] BEST PRACTICE method of Oracle connection for RPTs on Linux

    Business Objects XI (3.1) - SP3.
    Running on Red Hat Enterprise Linux OS.
    7,000+ Crystal Reports 2008 *.rpt objects ONLY (No Universe / No WebI).
    All reports connecting to Oracle 10g databases.
    ==================
    In the past, all of this infrastructure was running on Windows Server OS and providing the database access via a Named ODBC connection (eg. "APP_DATA".)
    This made it easy to manage as all the Report Developers had a standard System DSN called "APP_DATA" which was the same as the System DSN name on all of our DEV, TEST/UAT, and PROD servers for Business Objects.
    When we wanted to move/promote a *.rpt file from DEV to PROD we did not have to change any "Database Connection" info as it was all taken care of by pointing the System DSN called "APP_DATA" a a different physical Oracle server at the ODBC level.
    Now, that hardware is moving from Windows OS to Red Hat Linux and we are trying to determine the Best Practices (and Pros/Cons) of using one of the three methods below to access the Oracle database for our *.rpts....
    1.) Oracle Native connection
    2.) ODBC connection
    3.) JDBC connection
    Here's what we have determined so far -
    1a.) Oracle Native connection should be the most efficient method of passing SQL-query to the DB with the fewest issues and best speed [PRO]
    1b.) Oracle Native connection may not be supported on Linux - http://www.forumtopics.com/busobj/viewtopic.php?t=118770&view=previous&sid=9cca754b468fc67888ab2553c0fbe448 [CON]
    1c.) Using Oracle Native would require special-handling on the *.rpts at either the source-file or the CMC level to change them from DEV -> TEST -> PROD connection. This would result in a lot more Developer / Admin overhead than they are currently used to. [CON]
    2a.) A 3rd-Party Linux ODBC option may be available from EasySoft - http://www.easysoft.com/products/data_access/odbc_oracle_driver/index.html - which would allow us to use a similar Developer / Admin overhead to what we are used to. [PRO]
    2b.) Adding a 3rd-Party Vendor into the mix may lead to support issues is we have problems with results or speeds of our queries. [CON]
    3a.) JDBC appears to be the "defacto standard" when running Oracle SQL queries from Linux. [PRO]
    3b.) There may be issues with results or speeds of our queries when using JDBC. [CON]
    3c.) Using JDBC requires the explicit-IP of the Oracle server to be defined for each connection. This would require special-handling on the *.rpts at either the source-file (and NOT the CMC level) to change them from DEV -> TEST -> PROD connection. This would result in a lot more Developer / Admin overhead than they are currently used to. [CON]
    ==================
    We would appreciate some advice from anyone who has been down this road before.
    What were your Best Practices?
    What can you add to the Pros and Cons listed above?
    How do we find the "sweet spot" between quality/performance/speed of reports and easy-overhead for the Admins and Developers?
    As always, thanks in advance for your comments.

    Hi,
    I just saw this article and I would like to add some infos.
    First you can quite easely reproduce the same way of working with the odbc entries by playing with the oracle name resolution on the server. By changing some files (sqlnet, tnsnames.ora,..) you can define a different oracle server for a specific name that will be the same accross all environments.
    Database name will be resolved differently regarding to the environment and therefore will access a different database.
    Second option is the possibility to change the connection in .rpt files by an automated way like the schedule manager. This tool is a additional web application to deploy that can change the connection settings of rpt reports on thousands of reports in a few clicks. you can find it here :
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80af7965-8bdf-2b10-fa94-bb21833f3db8
    The last option is to do it with a small sdk script, for this purpose, a few lines of codes can change all the reports in a row.
    After some implementations on linux to oracle database I would prefer also the native connection. ODBC and JDBC are deprecated ways to connect to database. You can use DATADIRECT connectors that are quite good but for volumes you will see the difference.

  • Migrate tables and data from ODBC datasource to Oracle 11.2

    Hiya
    I have a database file in Dynamics NAV 5.0 native format - about 200-300 tables totalling maybe 10 GB worth of data.
    My task is to migrate those tables with their data into a schema in our Oracle 11.2 database.
    No tools support the NAV format directly :-) But I have a windows ODBC driver for that format that works.
    The Oracle database runs on Linux and I have no ODBC transparent gateway and no linux ODBC driver that would let me access the NAV datafile directly from within Oracle.
    I tried migration wizard in SQL Developer, but it seems it cannot use a "generic ODBC" datasource (even with JDBC-ODBC bridge), it must be a supported database format?
    Then I have tried trial of product Altova MapForce, but it can't seem to read the schema (table/columns) from the ODBC datasource for some reason.
    I know reading the schema from the ODBC datasource is possible - I have used third party product "Database Browser" that reads the ODBC with no problems.
    And a colleague has read the schema of the ODBC in C# also.
    I am primarily a SQL developer. My colleague said he could write in C# a program that looped over the tables in the ODBC, read the columns, executed "create table" in Oracle, read data from the ODBC, inserted data in Oracle.
    But he is going on vacation right now :-( And I keep thinking that someone else must have written such a migration program ;-)
    I just can't seem to find it by googling? Altova Mapforce was my best bet, but it just seems to have problems with this specific ODBC datasource.
    Any ideas for a migration tool that can accept a generic ODBC datasource and not specifically SQL Server, MySQL, DB2, etc.?
    Thanks for any hints that might help ;-)
    Regards
    Kim Berg Hansen

    Hi Kim,
       The earlier 9i and 10g generic connectivity option - HSODBC - could only run as part of the RDBMS but the 11g DG4ODBC can be installed and run standalone without an RDBMS.  You then connect using database links from Linux using an entry in the RDBMS tnsnames.ora as you have said.
    See these notes depending if Windows is 32-bit or 64-bit -
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit to Connect to Non-Oracle Databases Post Install (Doc ID 466225.1)
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on 64bit Windows Operating Systems to Connect to Non-Oracle Databases Post Install (Doc ID 1266572.1)
    The latest 11.2 version is available from My Oracle Support as -
    Patch 13390677: 11.2.0.4.0 PATCH SET FOR ORACLE DATABASE SERVER
    and for the gateways you only need to download -
    p13390677_112040_WINNT_4of6.zip
    for 32-bit but
    p13390677_112040_MSWIN-x86-64_5of7.zip
    for 64-bit.
    The downloads have everything necessary for a gateway standalone install.
    Regards,
    Mike

  • BCP-style bulk insert from remote C++ ODBC Native client application

    I am trying to find documentation or sample code for performing bulk inserts into SQL Server 2012 from a remote client using the ODBC native client driver from Linux.  We currently perform INSERT statements on blocks of data, wrapping it in BEGIN/COMMIT,
    and achieving through approximately half of bcp reading from a delimited text file.  While there are many web pages talking about bulk inserts via the native driver, this page (http://technet.microsoft.com/en-us/library/ms130792.aspx) seems closest to
    what I'm after but doesn't go into any detail or give API calls.  The referenced header file is just a bunch of options and constants, so presumablyone gains access to bulk functions via the standard ODBC mechanism, the question is how.
    For clarity, I am NOT interested in:
    BULK INSERT: because it requires a server-side data file or a UNC path with appropriate permissions (doesn't work from Linux)
    INSERT ... SELECT
    * FROM OPENROWSET(BULK...): same problem as above
    IRowsetFastload: OLEDB, but I need ODBC on Linux.
    Basically, I want to emulate BCP.  I don't want to *run* BCP because it requires landing data to disk. 
    Thanks
    john
    John Lilley Chief Architect RedPoint Global Inc.

    Other than block inserts within BEGIN/COMMIT transaction blocks or running bcp, is there anything else that can be done on Linux?
    No other option from Linux that I am aware of.  The SQL Server Native Client ODBC driver also supports table-valued-parameters, which can be used to stream data but the Linux ODBC driver API doesn't have a way to do that either.  That said, I would
    still expect file-based BCP to significantly outperform inserts with large batches.  I've seen a rate of 100K/sec. with this technique, including the file create overhead but much depends on the particulars of your use case.
    Consider voting for this on Connect.  BCP is on the roadmap but no date yet: 
    https://connect.microsoft.com/SQLServer/SearchResults.aspx?SearchQuery=linux+odbc+bcp
    Also, I filed a Connect item for TVP support:
    https://connect.microsoft.com/SQLServer/feedback/details/874616/add-tvp-support-to-sql-server-odbc-driver-for-linux
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • Connection issue with 32 bit Linux OBIEE 10.1.3.4.1 with Postgres/Mysql

    I am having trouble running reports on 32 bit Linux OBIEE version 10.1.3.4.0 and 10.1.3.4.1 with Postgres or Mysql as data source . I can connect to same data source (postgres and Mysql) from presentation services on windows box and also run queries from nqcmd using 32 bit linux ODBC driver on linux box running OBIEE server. I turned on odbc trace and I see following failures from Postgres and Mysql.
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 12010] Communication error connecting to remote end point: address = ; port = 9703. (HY000)
    SQL Issued: SELECT test_obiee.c1 saw_0 FROM test_Postgre30 ORDER BY saw_0
    Mysql odbc trace file :
    ppid=1:pid=2908 719a:f4c1fb90 ENTER SQLSetConnectOption
    HDBC 0x08d4f170
    UWORD 1042
    UDWORD 4079342863
    ppid=1:pid=2908 719a:f4c1fb90 EXIT SQLSetConnectOption with return code 0 (SQL_SUCCESS)
    HDBC 0x08d4f170
    UWORD 1042
    UDWORD 4079342863
    ppid=1:pid=2908 719a:f4c1fb90 ENTER SQLErrorW
    HENV 0x00000000
    HDBC 0x08d4f170
    HSTMT 0x00000000
    WCHAR * 0xf4c1e140 (NYI)
    SDWORD * 0xf4c1e1a8
    WCHAR * 0xf4c1dd40
    SWORD 1022
    SWORD * 0xf4c1e1ae
    ppid=1:pid=2908 719a:f4c1fb90 EXIT SQLErrorW with return code 100 (SQL_NO_DATA_FOUND)
    HENV 0x00000000
    HDBC 0x08d4f170
    HSTMT 0x00000000
    WCHAR * 0xf4c1e140 (NYI)
    SDWORD * 0xf4c1e1a8
    WCHAR * 0xf4c1dd40
    SWORD 1022
    SWORD * 0xf4c1e1ae
    ppid=1:pid=2908 719a:f4c1fb90 ENTER SQLFreeConnect
    HDBC 0x08d4f170
    ppid=1:pid=2908 719a:f4c1fb90 EXIT SQLFreeConnect with return code 0 (SQL_SUCCESS)
    HDBC 0x08d4f170
    Postgres odbc trace file :
    ppid=1:pid=2951 734f:f4a56b90 ENTER SQLAllocConnect
    HENV 0x0a0cf8c8
    HDBC * 0x0a12f278
    ppid=1:pid=2951 734f:f4a56b90 EXIT SQLAllocConnect with return code 0 (SQL_SUCCESS)
    HENV 0x0a0cf8c8
    HDBC * 0x0a12f278 ( 0x0a12f398)
    ppid=1:pid=2951 734f:f4a56b90 ENTER SQLSetConnectOption
    HDBC 0x0a12f398
    UWORD 110
    UDWORD 0
    ppid=1:pid=2951 734f:f4a56b90 EXIT SQLSetConnectOption with return code 0 (SQL_SUCCESS)
    HDBC 0x0a12f398
    UWORD 110
    UDWORD 0
    ppid=1:pid=2951 734f:f4a56b90 ENTER SQLSetConnectOption
    HDBC 0x0a12f398
    UWORD 108
    UDWORD 2
    ppid=1:pid=2951 734f:f4a56b90 EXIT SQLSetConnectOption with return code 0 (SQL_SUCCESS)
    HDBC 0x0a12f398
    UWORD 108
    UDWORD 2
    ppid=1:pid=2951 734f:f4a56b90 ENTER SQLDriverConnectW
    HDBC 0x0a12f398
    HWND 0x00000000
    WCHAR * 0xf31ad2c0 [ -3] "******"
    SWORD -3
    WCHAR * 0xf31ad2c0
    SWORD 6
    SWORD * 0xf4a4d9de
    UWORD 0 <SQL_DRIVER_NOPROMPT>
    I am new to OBIEE and would appreciate any help . I have verified that data source names used in administration matches ODBC DSN in odbc.ini.

    Since the SP is on connection pool (and looks like expecting a input value), that may causing for error.
    Column in the report, pass PS variable and hide it if it not required in the report.
    Pls mark if helps

Maybe you are looking for

  • How can i permanently delete my Apple iCloud E-Mail from my Apple Account?

    I Have one Apple ID Account and bascily i want to delete my Apple iCloud E-Mail address permanently from my apple ID account. Please Help me. I am be very help to you.

  • Table fields to match pdf form

    I found this on my formscentral help file. Note: Some types of form fields aren't supported when you import a PDF form. For example, text fields with formatting applied, such as numeric or percentage fields, are converted to plain text fields. And, s

  • Best way to store info for Yellow Pages-type site?

    I'm working on a site that is similar in concept to a "Yellow Pages"-type setup, where you have a bunch of business listings with each of them able to customize their own profile. Each business will be able to save standard things like its tel, fax,

  • Record a speech signal and save as a wav file?

    Dear All: I'd like to record a speech signal using one microphone and write/save as a .wav file. Can anyone help me on this issue. I'm using 6024E PCI NI-DAQ 7.0. Thank you regards, Jeffrey

  • Create New Project and put photo in from another project folder

    This is what I thought was going to be a relative task. Move a batch of photos from one project folder into another new empty one. I can highlight and select the photos in question and select Edit and Copy. Go to new project folder,but No Paste funct