Connection to DB2 DB2 DRDA gateway error

Linux 2 node RAC system version 10.2.0.4. Installed DRDA for db2 LUW version 11.2 in a new House on the existing nodes of CARS. Installed and configured and followed notes 945879.1. Listener rebooted and tnsnames.ora configured successfully on both nodes. TNSPING works for the "SID" created dg4db2. Create a database link, and when I tested it by getting a simple count, I received the following error message:
select count(*) from schema.mydb2_table@db2_105
                                         *
ERROR at line 1:
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 DB2_105
Here is my config to the listener:
SID_LIST_LISTENER_NODE1 =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
      (PROGRAM = extproc)
      (SID_NAME=dg4db2)
      (ORACLE_HOME=/u01/app/oracle/gateway/11_2/)
      (ENVS=LD_LIBRARY_PATH=/u01/app/oracle/gateway/11_2/dg4db2/driver/lib;/u01/app/oracle/product/10.2.0/db_1/lib)
      (PROGRAM=dg4db2)
    )
  )
Here are my tnsnames.ora:
dg4db2 =
  (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=vip-node1)(PORT=1521))
    (CONNECT_DATA=(SID=dg4db2))
    (HS=OK)
  )
Here is the initdg4db2.ora - ip address and obscured:
HS_FDS_CONNECT_INFO=[the ip address]:theport/ips,LUW
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
HS_TRANSACTION_MODEL=COMMIT_CONFIRM
HS_FDS_TRANSACTION_ISOLATION=READ_COMMITTED
HS_FDS_SUPPORT_STATISTICS=TRUE
HS_FDS_RESULTSET_SUPPORT=FALSE
HS_FDS_PACKAGE_COLLID=ORACLEGTW
HS_IDLE_TIMEOUT=0
And my syntax of link db - name of the database with password masked:
CREATE DATABASE LINK db2_105
CONNECT TO THEDB2DB
IDENTIFIED BY somepassword
USING 'dg4db2'
tnsping output:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=vip-node1)(PORT=1521)) (CONNECT_DATA=(SID=dg4db2)) (HS=OK))
OK (0 msec)
Journal of listening port of the first node:
08-FEB-2010 13:36:30 * (CONNECT_DATA=(SID=dg4db2)(CID=(PROGRAM=)(HOST=node1_hostname)(USER=oracle))) * (ADDRESS=(P
ROTOCOL=tcp)(HOST=vip-node1)(PORT=55214)) * establish * dg4db2 * 12505
TNS-12505: TNS:listener does not currently know of SID given in connect descriptor
Don't know where to go from there, trouble shooting-wise. I understand that with 11.2, it is more necessary to bind the packages? Any help is very appreciated.

Published by: kellypw on February 8, 2010 12:06

Published by: kellypw on February 8, 2010 12:20

your listener.ora contains an error in the section of SID. you miss a closing clamp to the extproc SID and an another SID_DESC for the SID dg4db2:
SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = u01/app/oracle/product/10.2.0/db_1)
(= Extproc PROGRAM)
) #closing support is missing
(SID_DESC = # SID desc is missing
(SID_NAME = dg4db2)
(ORACLE_HOME = / u01/app/oracle/gateway/11_2 /)
(ENVS=LD_LIBRARY_PATH=/u01/app/oracle/gateway/11_2/dg4db2/driver/lib;/u01/app/oracle/product/10.2.0/db_1/lib)
(PROGRAM = dg4db2)
)

After changing the listener.ora, stop and start the listener.

Tags: Database

Similar Questions

  • Connect to DB2 with ODBC

    Someone at - it never connected to db2 with Coldfusion? I use 6 CF and trying to access DB2 via an odbc connection. The odbc connection is configured properly and the connection is checked. When I point CF datasource to him, I get the following error:

    Connection verification failed for data source: PORTALCI
    [] java.sql.SQLException: [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] internal error: driver SQLAllocHandle on SQL_HANDLE_ENV failed
    The root cause was that: java.sql.SQLException: [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] internal error: driver SQLAllocHandle on SQL_HANDLE_ENV failed

    Any ideas? That anyone can translate into a useful error?

    Alas, I finally got. It turns out that I had to restart my CF services after I installed the drivers for DB2. Once I did, it worked perfectly!

  • Construction of an APEX application that connects to DB2/UDB

    I have NO experience with APEX but - reviewed documentation for the review of its use as an application/dashboard web reporting utility.

    However - I wonder if it allows the opportunity to connect to DB2 and Oracle...

    know - create a form that allows a user to 'pull' data for the analysis of a DB2 instance and - generate results reports, which will then be stored in an Oracle instance.

    I apologize if this has been answered--or said clearly that I missed in the documentation.

    Any help is appreciated.

    Thank you

    It requires the use of an Oracle database. If you want to use heterogeneous services to communicate with a non-Oracle external database, you can do. But if you don't need an Oracle db and want just a solution of dashboard for DB2, this really isn't the product for you.

    I say that it requires the use of an Oracle database because it flows from the packages written in pl/sql database, so can not port to the other databases.

    In this case, you probably want to use php or something that can connect to multiple data sources.

  • verification failed - there was a connection to the Apple ID server error?

    I am signing in iCloud, but whenever I try, a message appears saying: "check failed, there was a connection to the Apple ID server error" I can't use all the apps, and I tried to restore my iPad and reset my network settings and nothing works. Help, please!

    Try to connect to iTunes and insert it again (I know you talk about audit iCloud, but the signature of and then back into iTunes will ensure that the password that is stored on your device for your ID Apple is correct: settings > iTunes, select Apple ID, click on Sign Out, and then sign.)

    See you soon,.

    GB

  • Apple TV 4th generation "audit failed there is a connection to the Apple ID server error."

    Can Hello someone please help me?

    I have a 4th generation Apple TV and I can't seem to accept my apple ID and password.

    That's what I've done so far:

    Chosen English (United Kingdom)

    Chosen UK

    Tried to associate a device with the establishment (iPhone 6s)

    Has no more than 10 times, even if the password is correct

    Error message that appears is "audit failed there is a connection to the Apple ID server error."

    Tried the manual log, same error message.

    Tried the manual paper but this time I skipped the Apple ID Login, to see if I could connect via iCloud and ITunes manually in the menu, same error message appeared.

    It recognize my wifi, so this isn't a problem. Restored to factory settings.

    Connected on my computer apple laptop not and connected on iTunes Music store to enter the password and verified it was OK, write down each letter/number, I typed the.

    Tried to pair the device several times over, has kept getting the same error message. The manual bit once again, same error, again restored factory settings.

    Went on my iTunes on my phone account and disconnected, and then reconnected in.

    Tried to pair the device several times with the same result.

    Tried to do the manual setting over 15 times. Same mistake. Restored the factory settings once again.

    Changed my password for my iPhone and laptop updated Apple.

    Because the Apple TV is now connected to my wifi that he decided to do an update. I waited 15 minutes for this, so I could try to use my new password for apple now.

    Tried to pair the device again. Still getting the same error message.

    Why is it so difficult? What I'm doing wrong here? I did this for 2.5hrs now. Can someone help me please?

    You are in the United Kingdom

  • There was a problem connecting to the server 'SERVER NAME' error guard appearing

    There was a problem connecting to the server 'SERVER NAME' error guard appearing even though the server is not on my current network.  I recently moved my iMac to a different location and a different network, and now he constantly tries to connect to the old server.  This message appears every 30 seconds and several of those who appear (see pictures) it's extremely frustrating because it makes the machine almost useless because I am constantly closing them.  No matter how many times I try to stop the activity monitor it it keeps reappearing, and I even tried a few terminal commands that I found online, then restarted the computer, but still had no success.  I would appreciate all the advice really.

    I hope that gives you an idea of what I got!

  • my iphone says verifivstion failed there is a connection to the apple id Server error

    my iphone says verification failed there is a connection to the apple id Server error

    What are you trying to do when you get this error? Sign in settings/iCloud?

  • I'm opening a Windows Live Messenger email account different everytime I try to connect I get WE cant connect to messenger due to the error Code 80048821

    How to get past error Code 80048821 for a fool to count

    I'm opening a Windows Live Messenger email account different everytime I try to connect I get WE cant connect to messenger due to the error Code 80048821. I'm a fool to computer I have not a clue as to what the words mean. Or how to follow instructions for geeks or people who understand computers. Sorry but people there are still a lot of people in the world who do not understand the computer speech. Can you help me Mx Easom

    Hello MaxEasom,

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums to www.windowslivehelp.com.

  • The remote access connection manager could not start. Error 2: cannot find the specified file.

    I've updated from vista to the most recent update.

    I have windows vista Home premium 32-bit.
    I want to get this matter resolved without having to reinstall as I have a few games installed it on this system.
    The modem is not the issue as other computers connect very well.
    Thanks for the help from Microsoft.
    Recently, I tried to connect to the internet but that was not possible, because no connection could be established. The remote access connection manager does not start 2 error: could not find the specified domain. the RasMan-dependent services are started, but Manager logins remote does not start.

    Hi Mundilfar,

    You can try the folliwng steps and see if it helps.

    Step 1:

    You can try to scan the file system [SFC] checker on the computer that will replace missing or corrupt files & check if the problem persists.

    For more information, you can consult the following link.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    Step 2:

    If you are always faced with the question, then you can try to give permission for the Rasman registry key and see if it helps.

    Important: The following steps show you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs.

    For more information about how to back up and restore the registry, follow the steps from the link below:

    Back up the registry

    a. Click Start, type regedit in the search box and press ENTER.

    b. Locate the following subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan

    c. right click on the key and click Permissions.

    d. Select Advanced, click on owner tab, click your user name, and check the 'Replace owner of subcontainers and objects', click Apply - click OK.

    e. click the user or group name that you want to work with.

    f. check allow total control. Click apply and then click OK.

    g. restart the computer and check.

    Hope this information is useful.

  • Unable to connect to remote PowerShell and get error message.

    I have two computer to Windows 7.

    Unable to connect to remote PowerShell and this error message

    nvoke-command - computername XXXXXX - scriptblock {}
    get-process} - administrator credentials
    [XXXXXXX] failed to connect to the remote server XXXXXX with the
    error message: WinRM client cannot process the request. If the
    authentication scheme is different from Kerberos, or if the client computer is
    not joined to a domain, then HTTPS transport must be used or the destination
    machine must be added to the TrustedHosts configuration. Use winrm.cmd
    to configure TrustedHosts. Note that computers in the TrustedHosts list might
    do not be authenticated. You can get more information about it by running the
    following command: winrm help config. For more information, see the
    about_Remote_Troubleshooting help topic.
    + CategoryInfo: OpenError: [XXXXXX], PSRemotingT
    ransportException
    + FullyQualifiedErrorId: ServerNotTrusted, PSSessionStateBroken
    PS C:\windows\system32 >

    PS C:\Users\Administrator > Invoke-Command - ComputerName XXXX - ScriptBlock {get-process} - administrator credentials
    [XXXXXX] failed to connect to the remote server XXXXX with the following
    error message: the client cannot connect to the specified destination in the
    request. Verify that the service on the destination is running and that he accepts the
    applications. Consult the logs and documentation for running management service
    on the destination, most IIS or WinRM. If the destination is the WinRM
    service, run the following command on the destination to analyze and configure the
    WinRM service: "winrm quickconfig". For more information, see the
    about_Remote_Troubleshooting help topic.
    + CategoryInfo: OpenError: (XXXXX:String)], PSRemotingTranspo
    rtException
    + FullyQualifiedErrorId: CannotConnect, PSSessionStateBroken

    # Outgoing connection is fine because I can connect to a different machine here. However incoming connection does not work

    # Tried several things like "Enable-PSRemoting - Force." and it starts Properperly

    # And since I put the machine in workgroup, as well run "Set-Item WSMan: \localhost\Client\TrustedHosts * ' (it is running successfully as well)

    # Infact WinRM QuickConfig will not work.

    # And tried with and without firewall. and also applied several patches, but has not solved the problem

    Please notify

    Original title: WinRM

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)

    If you give us a link to the new thread we can point to some resources it
  • http connection goes through the WAP gateway and not through BIS/BES

    How can I check that an http application connection passes by the WAP gateway and no BIS/BES.

    I do not have the source code of the application and need to build my own app to connect http connection made by the unit.

    I only have the jad file.

    Thank you very much for the help.

    at this point the man, you must understand a few things on your own.  Get the cod, and put the cod in the same folder as the Simulator, they will then work in the sim card.  Or you can browse to a deployment for application with the sim ota and download the cod in this way.

  • When I connect broadband connection. a blue screen appears with error driver_irql_not_less_or_equal

    When I connect broadband connection. a blue screen appears with error driver_irql_not_less_or_equ

    . DMP files ar bellow:

    https://onedrive.live.com/?CID=BF931C2E054B2BA5&ID=BF931C2E054B2BA5%21105

    Original title: driver_irql_not_less_or_equal

    Accidents were not conclusive.

    BugCheck D1, {29, 2, 0, fffff880018b9f2a}

    Probably caused by: ndis.sys (ndis! ndisXlateReturnNetBufferListToPacket + 2 a).

    Follow-up: MachineOwner

    DRIVER_IRQL_NOT_LESS_OR_EQUAL (d1)
    An attempt was made to access an address pageable (or completely invalid) to a
    application interrupt level (IRQL) that is too high.  It is usually
    caused by drivers using a wrong address.
    If the kernel debugger is available, get a stack backtrace.
    Arguments:
    Arg1: 0000000000000029, memory referenced
    Arg2: 0000000000000002, IRQL
    Arg3: 0000000000000000, value 0 = read operation, 1 = write operation
    Arg4: fffff880018b9f2a, address memory

    Debugging information:

    Update your network drivers, preferably from the support page of the manufacturer of your computer, which is strangely not available at this time. If you can't find a version update at Dell, try Realtek, linked below

    Identification information of the machine [of Smbios 2.3, DMIVersion 35, size = 2590]
    BiosVendor = Dell Inc.
    BiosVersion = A11
    BiosReleaseDate = 30/11/2006
    SystemManufacturer = Dell Inc.
    SystemProductName = OptiPlex GX520
    BaseBoardManufacturer = Dell Inc.
    BaseBoardProduct =
    BaseBoardVersion =

    OptiPlex GX520

    http://www.Dell.com/support/home/us/en/04/product-support/product/OptiPlex-GX520/drivers

    Note: This machine is pretty old and I see no driver support beyond Windows XP.

    Image path: \SystemRoot\system32\DRIVERS\Rtnic64.sys
    Image name: Rtnic64.sys
    Timestamp: Fri 30 mai 11:12: 23 2008 (48401957)

    Description of the driver: Realtek Ethernet NIC driver

    Driver update site: http://www.Realtek.com.tw/downloads/downloadsView.aspx?langid=1&PNid=7&PFID=10&level=3&Conn=2

  • I am unable to connect to creative cloud. The error that says Unable to get on the Adobe servers

    I am unable to connect to creative cloud. The error that says Unable to get on the Adobe servers

    Please see:

    1. Creative cloud activation and login troubleshooting
    2. Adobe Download Manager cannot happen on the Adobe servers
    3. Cloud cannot create arrived on Adobe servers.

    You can try to remove creative cloud app and reinstall it.

    Install the cloud creative app - https://helpx.adobe.com/creative-cloud/help/install-apps.html

  • I can't connect to Adobe Creative Cloud. (Error code: 201) Help "."

    I am unable to connect to the VAC. This error keeps coming up when I open the VAC and it loads in 2% and stops: "there seems to be a problem with the download of the file. For troubleshooting tips, please visit our customer service page. (Error code: 201) Help "."

    If anyone can help?

    uninstall your office cc application. »

    Restart your computer

    clean through the use of the Adobe Creative Cloud cleaning tool to solve installation problems

    Restart your computer

    install the cc desktop application, use of the desktop application cloud creative to manage your applications and services

  • How to check if the database for DRDA gateway is installed and configured.

    Hi all

    How can we check if the database for DRDA gateway is installed and configured.

    Our operating system is AIX 5 L 64 bit OS.
    RDBMS: 11.2.0.3

    Kind regards

    Duplicated
    How to check if the database for DRDA gateway is installed and configured.

    + - locked thread-+.

    Nicolas.

Maybe you are looking for

  • How to play music through the bluetooth earpiece/headset

    Original title:I HAVE CONNECTED MY HEADPHONE BLUEDIO AV890 WITH MY PC... BUT HOW CAN I HEAR MUSIC FORM MY PC THROUGH IT... I CANNECT THE BT HEADSET USING PASSKEY... BUT I DON'T KNOW HOW TO PLAY SONGS VIA HEADPHONE BLUETOOTH, SOMEONE CAN HELP ME

  • graphics card for windows vista

    I upgraded my computer to Windows Vista, and I can't find a compatible graphics adapter

  • Cannot access internet after downloading Adobe Reader.

    original title: why my internet quit working because I downloaded Adobe Reader. When I downloaded the adobe reader software troubleshoot my internet stop when I clicked on it said it was because of the adobe reader software. Are there other programs

  • 0 x 80070001

    Impossible to reinstall Windows vista on my dell vostro A860 laptop. the message I get is can not the device driver and when I insert the device driver CD it does not find the drivers

  • Error code Ox80041006 sting

    Please Microsoft- Please - when your server is down- just to recognize the fact