Services Oracle heterogeneous unixODBC DG4ODBC

Morning

I have a challenge please help if you have lived and it is solved. I am trying to connect to SQL server from Oracle to help

1 UnixODBC

2 Microsoft ODBC Driver for SQL Server 11.0.2270.0 11

3.DBversion:11.2.0.3.0

4.LSN:11.2.0.3.0

5.[Oracle@XXXXX]:/Oracle > odbcinst - q d

[11 for SQL Server ODBC driver]

6.[Oracle@xxx]:/Oracle > odbcinst - q s

[SQLEXPRESS]

7.[Oracle@XXXX]:/Oracle > odbcinst-j

unixODBC 2.3.0

DRIVERS...: /etc/odbcinst.ini

SYSTEM DATA SOURCES: /etc/odbc.ini

FILE DATA SOURCES... : / etc/ODBCDataSources

USER DATA SOURCES.. : /etc/odbc.ini

SQLULEN size...: 8

SQLLEN size...: 8

Size SQLSETPOSIROW. : 8

8.[Oracle@XXXX]:/Oracle > cat /etc/odbcinst.ini

[11 for SQL Server ODBC driver]

Description = 11 of the Microsoft SQL Server ODBC driver

Driver=/opt/Microsoft/msodbcsql/lib64/libmsodbcsql-11.0.so.2270.0

= 1 thread

UsageCount = 1

9.[Oracle@XXXX]:/Oracle > cat /etc/odbc.ini

[SQLEXPRESS]

Driver=/opt/Microsoft/msodbcsql/lib64/libmsodbcsql-11.0.so.2270.0

Server = 10.201.239.39, 1433

Database = ARsystem

User = nmcmonitor

Password=M@puto4321

= 1 thread

UsageCount = 1

10.[Oracle@XXXXX]:/etc/ODBCDataSources > isql - v SQLEXPRESS xxxxx xxxxxxxx

+---------------------------------------+

| Connected!                            |

|                                       |

| SQL query |

| help [tablename] |

| quit                                  |

|                                       |

+---------------------------------------+

11.[Oracle@XXXXX]:/Oracle/app/product/11.2.0.3/HS/Admin > ls

extproc.ora initdg4odbc.ora inithsmssql.ora.sample listener.ora.sample tnsnames.ora.sample

12.[Oracle@xxxxxx]:/Oracle/app/product/11.2.0.3/HS/Admin > cat initdg4odbc.ora

# This is an example of initialization file of the agent that contains the HS settings

# necessary for the database to ODBC gateway

#

# HS init parameters

#

HS_FDS_CONNECT_INFO = SQLEXPRESS

# < odbc data_source_name >

HS_FDS_TRACE_LEVEL = off

# < trace_level >

HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so

# < name of the full path to the driver or the odbc driver manager >

HS_FDS_FETCH_ROWS = 1

HS_DB_NAME = ARsystem

HS_FDS_SUPPORT_STATISTICS = FALSE

#

# ODBC specific environment variables

#

Set ODBCINI=/etc/odbc.ini

# < name of the full path to the odbc initialization file of the >

#

# Required for the non-Oracle system environment variables

#

#set < varenv > = < value >

===================================================================================================

[oracle@xxxx]:/oracle/app/product/11.2.0.3/network/admin > ls]

Listener.ora samples shrept.lst tnsnames.ora

[oracle@xxxxx]:/oracle/app/product/11.2.0.3/network/admin > cat listener.ora]

listener.ora # Network Configuration file: /oracle/app/product/11.2.0.3/dbhome_1/network/admin/listener.ora

# Generated by Oracle configuration tools.

LISTENER =

(DESCRIPTION_LIST =

(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = optimadb) (PORT = 1521)))

)

ADR_BASE_LISTENER = / oracle/app

SID_LIST_LISTENER =

(SID_LIST =

(SID_DESC =

(SID_NAME = DG4ODBC)

(ORACLE_HOME = oracle/app/product/11.2.0/dbhome_1)

(PROGRAM = / oracle/app/product/11.2.0/dbhome_1/bin/dg4odbc)

(ENVS=LD_LIBRARY_PATH=/usr/lib64:/usr/local/lib:/oracle/app/product/11.2.0/dbhome_1/lib/)

)

)

[oracle@xxxxxx]:/oracle/app/product/11.2.0.3/network/admin > lsnrctl status]

LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 6 October 2014 10:45:41

Copyright (c) 1991, 2011, Oracle.  All rights reserved.

Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=optimadb) (PORT = 1521)))

STATUS of the LISTENER

------------------------

Alias LISTENER

Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production

Start date October 5, 2014 13:18:35

Uptime 0 days 21 h 27 min 5 s

Draw level off

Security ON: OS Local Authentication

SNMP ON

Parameter Listener of the /oracle/app/product/11.2.0.3/network/admin/listener.ora file

The listener log file /Oracle/app/diag/tnslsnr/optimadb/listener/alert/log.XML

Summary of endpoints listening...

(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=optimadb) (PORT = 1521)))

Summary of services...

Service "DG4ODBC" has 1 instance (s).

"DG4ODBC" instance, status UNKNOWN, has 1 operation for this service...

Service 'OPTPROD' has 1 instance (s).

'OPTPROD' instance, State LOAN, has 1 operation for this service...

The command completed successfully

[oracle@xxxxx]:/oracle/app/product/11.2.0.3/network/admin > tnsping DG4ODBC]

AMT Ping utility for Linux: Version 11.2.0.3.0 - Production on 6 October 2014 10:46:22

Copyright (c) 1997, 2011, Oracle.  All rights reserved.

Use settings files:

TNSNAMES adapter used to resolve the alias

Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=10.201.239.39) (PORT = 1433)) (CONNECT_DATA = (SID = DG4ODBC)) (HS = OK))

AMT-12537: TNS:connection closed

How can I solved this problem TNS-12537: TNS:connection closed

Thank you

Hello

It looks like on line 7 is -.

HS_DB_NAME = ARsystem

What happens if you comment on this point?

If you still have problems then just include these lines and all the rest - comment

HS_FDS_CONNECT_INFO = SQLEXPRESS

HS_FDS_TRACE_LEVEL = off

HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so

Set ODBCINI=/etc/odbc.ini

and try again a new SQLPLUS session.

Kind regards

Mike

Tags: Database

Similar Questions

  • Problem with Oracle heterogeneous Services

    Hi all

    I try to access SQL Server database using Oracle heterogeneous Services and I get the following error in my tarce file:


    ***********************
    Heterogeneous Agent release
    10.2.0.3.0


    HS agent received unexpected disconnection of CPP
    Network error 1003: NCR-01003: DND: read error.
    ***********************

    I checed the tnsnames.ora / listener.ora and they seems OK

    also tnsping works well on HS

    Thses are the steps I followed:

    1 Setup DNS system
    2 configure the HS Oracle initialization file under $ORACLE_HOME/hs/admin
    3 configuration tnsnames.ora in $TNS_ADMIN
    4 configure the listener.ora under $TNS_ADMIN
    5 craete db link
    6 mark db link gives the following error
    "No data more to read from socket".
    7 trace file under $ORACLE_HOME/hs/log shows the following error

    Heterogeneous Agent release
    10.2.0.3.0

    HS agent received unexpected disconnection of CPP
    Network error 1003: NCR-01003: DND: read error.


    Please advice
    Concerning
    Omer

    After the support ticket logging Web conference showed that has been ORA_NLS10. It disable, stop/start the listener has solved the problem.

  • In the clouds of Service Oracle data mapping


    Hello

    Can someone help me on below scenario.

    We strive to update the interview data in the database from the screens of the OPA for Cloud Service Oracle tables.

    We created screens using OPM and created corresponding tables in Oracle cloud Service then mapped the required attributes. When we try to save the data by clicking on the "submit button", thrown an error message as "an error occurred during the recording of the data. For further assistance please contact support.

    Thank you

    Vivek

    Hi Vivek,

    Have you tested with an example of out-of-the-box OPA (student, benefits)? It is set up for the Portal customer registered users. Are you able to get this example working?

    You will see there are two examples of services student (http://documentation.custhelp.com/euf/assets/devdocs/february2015/PolicyAutomation/en/Default.htm#Guides/Policy Modeling User Guide/Projects/Example_policy_models.htm). I want to talk about one called "student services", not "student (field office).

    To test with your own instance of the demo site, you must change the connection in the map settings to your own instance of RightNow. This demo has a few attributes mapped / output, but they are all fields RN of out-of-the-box, so this should work very well with your site of RN.

    See you soon,.

    Jasmine

  • service Oracle script does not...

    a newbie question...
    I installed oracle 11g R2 on Suse 11 and I created /etc/init.d/oracle script:
    ORA_HOME=/opt/oracle/product/11.2.0/dbhome
    ORA_OWNER=oracle
    
    if [ ! -f $ORA_HOME/bin/dbstart ]
    then
            echo "Oracle startup: cannot start"
            exit
    fi
    
    case "$1" in
            'start')
            #start oracle database
            su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl LISTENER11 start"
            su - $ORA_OWNER -c $ORA_HOME/bin/dbstart
            ;;
            'stop')
            # Stop the Oracle databases:
            su - $ORA_OWNER -c $ORA_HOME/bin/dbshut
            su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl LISTENER11 stop"
            ;;
            'Required-Stop')
            #aaa
            ;;
    esac
    also, I changed the permission chmod 750 on this
    When I type chkconfig--add oracle, I received a message:
    insserv: script jexec is broken: incomplete LSB comment.
    insserv: missing `Required-Stop:'  entry: please add even if empty.
    insserv: script jexec is broken: incomplete LSB comment.
    insserv: missing `Required-Stop:'  entry: please add even if empty.
    insserv: script jexec is broken: incomplete LSB comment.
    insserv: missing `Required-Stop:'  entry: please add even if empty.
    insserv: script jexec is broken: incomplete LSB comment.
    insserv: missing `Required-Stop:'  entry: please add even if empty.
    insserv: warning: script 'S12oracle' missing LSB tags and overrides
    insserv: script jexec is broken: incomplete LSB comment.
    insserv: missing `Required-Stop:'  entry: please add even if empty.
    insserv: script jexec is broken: incomplete LSB comment.
    insserv: missing `Required-Stop:'  entry: please add even if empty.
    insserv: script jexec is broken: incomplete LSB comment.
    insserv: missing `Required-Stop:'  entry: please add even if empty.
    insserv: script jexec is broken: incomplete LSB comment.
    insserv: missing `Required-Stop:'  entry: please add even if empty.
    insserv: script jexec is broken: incomplete LSB comment.
    insserv: missing `Required-Stop:'  entry: please add even if empty.
    insserv: warning: script 'oracle' missing LSB tags and overrides
    insserv: script oracle: service oracle already provided!
    insserv: script jexec is broken: incomplete LSB comment.
    insserv: missing `Required-Stop:'  entry: please add even if empty.
    insserv: warning: script 'catalina.sh' missing LSB tags and overrides
    insserv: Default-Start undefined, assuming default start runlevel(s) for script `catalina.sh'
    insserv: warning: script 'setclasspath.sh' missing LSB tags and overrides
    insserv: Default-Start undefined, assuming default start runlevel(s) for script `setclasspath.sh'
    insserv: warning: script 'tomcat' missing LSB tags and overrides
    insserv: Default-Start undefined, assuming default start runlevel(s) for script `tomcat'
    insserv: exiting now!
    /sbin/insserv failed, exit code 1
    oracle                    0:off  1:off  2:off  3:on   4:off  5:off  6:off
    What did I miss?

    Salvation;

    Please close this thread as answered and update your other post which is available at:
    service Oracle script does not...

    Respect of
    HELIOS

  • With the help of Oracle heterogeneous access table to sql server database services

    I created a dblink "POC_HS" of oracle to sql (heterogeneous services implemented) and I can't go out data from the default database to which the DSN (for sql server) is connected successfully.

    So, this ' select * from ' Test@POC_HS is works perfectly well on the Oracle database as 'Test' table resides in the default database (that the system DSN is connected to).

    But when I do ' select * Abc.Test@POC_HS' where the Test table resides in the 'ABC' database which is not the default survey database an error as follows:

    ORA-00942: table or view does not exist the name of incorrect [generic object using ODBC Connectivity] [Microsoft] [ODBC SQL Server driver] [SQL Server] 'Abc.Test '. [Microsoft] [ODBC SQL Server driver] [SQL Server] Instructions could not be prepared. (SQL State: S0002;) SQL code: 208)

    I also tried "select * from Abc.dbo.Test@POC_HS' but oracle throws this exception" ORA-00933: not correctly completed SQL command "."

    The dblink and system DSN user account has access to database 'Abc '.

    Thoughts?

    No, this is not possible.

  • List of web services Oracle Obiee

    Hello

    in a dashboard Oracle, I would like to know how to upgrade an existing Oracle Obiee web services list?

    Let's say I have a new webService and I want to add to the list of Web services when the user tries to call a webService for action.

    I tried to change the ActionFrameWorkConfig.xml file but it seems that I am not correct location.

    middleware_home/user_projects/domains/bifoundation_domain/config/fmwconfig/biinstances/coreapplications

    Did you reboot after the ActionFrameWorkConfig.xml?

    It's the only place you should update.

    Thank you

    Vincent

  • Get the following error message when you try to create a database by using the data Cloud Service Oracle (trial version)

    I followed the video provided and online documentation:

    Commissioning service [1] attempt (off [2]) failed.

    Computing resources created for the database server...

    A expired after 120 minutes of waiting to start computing resources...

    The orchestration / Compute-yyyyyyyy/[email protected] /dbaas/AU-12 c-EA/DB/VM-1/Resources is in a State of "error" since Sun Sep 10 2015 13:41:06:000...

    OPlan [boot]: Image list or list of image - 1 entry /oracle/public/db12_15.3.3.0.0_dbcs_psu_150715 does not exist to create the boot volume / Compute-yyyyyyyy/[email protected] /dbaas/au-12 c-EA/db/vm-1/boot.

    Opening end of database Service...

    Stopped all computing resources...

    Deleting computing resources...

    Service database record complete removal...

    Attempt of commissioning service [2] (off [2]) failed.

    Computing resources created for the database server...

    A expired after 120 minutes of waiting to start computing resources...

    The orchestration/Compute-yyyyyyyy/[email protected] /dbaas/AU-12 c-EA/1/dB/VM-1/Resources is in a State of "error" since Sun Sep 10 2015 15:44:43:000...

    OPlan [boot]: Image list or list of image - 1 entry /oracle/public/db12_15.3.3.0.0_dbcs_psu_150715 does not exist to create the boot volume/Compute-yyyyyyyy/[email protected] /dbaas/au-12 c-EA/1/db/vm-1/boot.

    Opening end of database Service...

    Stopped all computing resources...

    Deleting computing resources...

    Service database record complete removal...

    Thanks for the help on this. I'm updating the community just in case someone else runs into this problem.

    It seems that I chose an option that I have not for when you ask for the trial.  So if the above happens to you, you will need to request a new trial and do not select the option of CALCULATING GROSS.

    That's all

    -Danny

  • Is it possible to record the interview in cloud Service Oracle table data before submitting

    Hello

    We use customer portal application and would like to save data in Oracle Service cloud tables between interview, before submitting.

    Y at - it an option to save the data?

    the cloud of 12.2 current supports, pre loading data and submitted data. Please help on this.

    Thank you

    Vivek

    Thanks for the inputs.

    We strive to implement save button and button Save & continue on each page, because we have many issues to be resolved.

    In our scenario, a folder must be created for all the session data.

    Thank you
    Vivek

  • Service Oracle starts do not

    Hello world

    I'm on a 9.2.0.4.0 database,

    We got powercuts over the weekend and now when I try to start the service SID Oracle database I get error;

    Error 1053: the service did not initially at the request of timely control (this happens instantly)

    The AMT listener is running,

    Nothing has changed on the machine.

    If someone could point me in the right direction where to look, I would be extremely grateful.

    Thank you and best regards,

    Gavin

    Hello

    Thanks for your help in this matter,

    Just to let you know that it was because the anti-virus had removed ORAWWG9.dll when I replaced this all began,

    Thanks help for all the world.

    Gavin

  • To access the Oracle Postgres using DG4ODBC and very slow psqlodbc

    I've set up DG4ODBC a base of Oracle 11 g Windows 2003 32-bit to access a Windows 2008 64 bit 9.1 database Postgres, you use the psqlodbc (32-bit) driver.

    I can't do it because of the queries, but they are very slow. The reason is that the place where clause of the query is deleted somewhere along the line (I've seen actual queries run by Postgres using pgAdmin server status screen) and all the rows of the table are extracted from Postgres. Naturally with tables bigger than the few lines which means do a full table in Postgres scan, so that transfer a lot of bytes through the network.

    "For example, if I mark from Oracle like this: select * of" dps_user"@pg where 'id' = '2423', run the sql in Postgres is: select * from dps_user, which retrieves all the rows of the table! When I get the result of the query in Oracle, I get only the row with id 2423, so I guess that Oracle Gets the entire table and that he not filtering at its end.

    In a separate 32-bit Windows XP machine I have implemented the same psqlodbc driver, and ran the same query by using Microsoft Query. In this case, the query to run in Postgres contains a where clause and, therefore, it is much faster because a unique index scan is performed in Postgres, and that a line is transferred to Microsoft Query.

    Could you help me, please?

    Thank you very much

    Carlos

    Hi Carlos,
    Yes - he manipulated me the SR ;-)
    Sometimes they have a little more time and information to study can throw up the answer.

    Kind regards
    Mike

  • How do I stop the service Oracle on Windows

    Hello!

    I got a simple mobile win XP that I use for many purposes.

    I use it a few times for Java with Oracle 10 g development.

    But a lot of time I use it just for surfing.

    I realized that it's pretty slow, and my guess is that oracle uses a lot of RAM and CPU.

    I wonder if there is way to easy to stop and start the service/s managing the Oracle 10 g.

    It would be great if I could put to the service of won't start not at first and only started manually when I need it.

    I found a couple of Oracle-services in respect of services, maybe it is the way to define these manuelly but I hope for some better manage this software Oracle which came with Oracle 10 g.

    Best regards
    Fredrik

    c:\>net stop oracleservice * YourSidName * (without * and all the space) I just used to make "BOLD"
    c:\>net start oracleservice * YourSidName * (without * and all the space) I just used to make "BOLD"

    Other service controller commands and help is:

    c:\>SC help

    Concerning
    Girish Sharma

    Published by: Girish Sharma January 31, 2012 20:55
    * has no "BOLD", then edited.

  • Change the name of the Service Oracle XE

    Hello

    How can I change the default service name "XE" Oracle XE?
    I found how to change the SID, but not the name of the Service.

    Thank you to

    Lucas Vizza

    Hello

    Try to run as a SYS

    ALTER SYSTEM SET SERVICE_NAMES = 'SOMETHINGELSE'
    

    Kind regards
    Jari

  • Turn on the Trace of the OSB without using the Test Console in the Bus of Service Oracle 10 g

    In our application, we must capture and inspect the OSB (these lines [OSB Tracing]) trace log. It is possible to generate these logs using the Console of the Test of Proxy provided by OSB by clicking on the option "Include Tracing". Given that us not the console test to use java client code instead of calling the proxy services, is possible to activate tracking without testing through Proxy Test Console logs?
    PL let me know if it is possible and how to do the same.

    Thank you

    Yes. turn on tracing for the proxy
    http://download-llnw.Oracle.com/docs/CD/E13159_01/OSB/docs10gr3/operations/tracing.html

  • Procurement Services Oracle is not enabled

    Hello
    in 11.5.10 on Linux, a user receives the following:
    Oracle Services Procurement is not enabled
    Where and how to activate it?
    Thank you.

    Hello

    How the user does not receive this error? Thanks for mentioning the steps to reproduce the problem.

    Please see if (Note: 295455.1 - error: You Cannot Access this Page because Oracle Procurement Services is not activated after Select 'Contractor request' TAB) help.

    Kind regards
    Hussein

  • citing security service oracle bus serivce?

    ?

    Outbound security

    Outbound Security secures communications between an attorney and a business service. Most of the work you do for outbound security are for the configuration of the proxy services to conform to the requirements of the transport or message level security that specify commercial services.

    For example, if a business service requires tokens to name and user password, you create a service account, which either directly contains the user name and password, pass along the username and password which appear in the incoming request, or provide a user name and password that are based on the username in the incoming request. For more information, see Service using the Console of the Bus of the Oracle Service accounts.

    If a business service requires the use of PKI technology for digital signatures or SSL authentication, you create a key service provider, which provides private key paired with certificates. For more information, see key providers using the Console of the Bus of the Oracle Service.

Maybe you are looking for

  • iPhoto and photo library on hard drive storage

    I'm trying to free up space on my HD, and I've got this huge 'other' file.  Further investigation, it seems that he might actually reflect my pictures on my computer, despite photos apparently only 12.42 GB of space. But then my pictures folder conta

  • HP 280 MT G1: PCI\VEN_8086

    Hello I'm looking for a driver for PCI simple communication control. My hardware ID PCI\VEN_8086 & DEV_8C3A & SUBSYS_2B34103C & REV_04PCI\VEN_8086 & DEV_8C3A & SUBSYS_2B34103CPCI\VEN_8086 & DEV_8C3A & CC_078000PCI\VEN_8086 & DEV_8C3A & CC_0780 Thanks

  • Details of the hard drive

    Hello I wonder if there is a way to understand the details of the hard drives that I can choose when I shop using Lenevo online store? I would like to know the name of the manufacturer and the size of the cache. Is this possible? Thank you Pawel

  • FrontPage 98 asks username and password whenever it is open

    I use Frontpage 98, asking me my username and password everytime I open the program.  I've set up a Web site, but when the client is referred to my site after paying download their product, because they went on the Web site, he asked my user name and

  • Error BSOD System_Service_Exception also the Memory_Management BSOD error

    Last year, I built a new computer to coincide with the launch of Windows 7. Specifications are the following: CPU: core intel i7 920 RAM: Corsair Dominator TR3X6G1600C8D 3x2GB GPU: ATi 5850HD Mobo: Asus P6T SE OS: Windows 7 Home Premium 64-bit For a