Tnsping Test in BI 7.0

Hi,
  I recently established a DB Connect with a Oracle Database to BW.
Now i want to check the Database connection from BW
How can i do a TNSPING test in BW to check the connection
Thanks

Hi Anjali,
There is post with the same issue which is not closed, please don't open the duplicate posts .
Re: BI Statistics
Please Close this thread...
Regards
KP

Similar Messages

  • How to Do TNSPING test in BI 7.0 to test the DB Connect

    Hi,
      I recently established a DB Connect with a Oracle Database to BW.
    Now i want to check the Database connection from BW
    How can i do a TNSPING test in BW to check the connection
    Thanks

    Check here
    http://help.sap.com/saphelp_nw04/helpdata/en/67/576f39ff1ee32ce10000000a114084/frameset.htm
    Reporting agent -> Batch printing
    Here you set how your reports to be printed in batches.

  • Test data corrupted issue while re-opening the Test in PTF8.53

    Hi,
    While re-opening the test case in PTF8.53,there is a pop up message displaying test data is corrupted.
    Ran successfully yesterday,trying to reopen however getting this issue.
    Any solution to retreive it back?

    Actually....iam opening the form from windows xp.Means what? Are u opening in the browser or in the Forms Builder?
    ----in the browser
    when i create a new form in windows xp using developer suite (i have installed developer suite) i am able to connect the database. i checked the tnsping in server its working.....
    This means developer suite has been configured for database.---i configured the developer suite(172.16.7.123) to 9idb(172.16.7.2)
    but i am not able to open the form.What error are u getting when u open the form?
    ---when i open the form in the browser (http://appsworld.ncc.com:7778/forms/frmservlet?config=test)
    its asking me the username,password,database.
    i gave username=ncc password=nccpwd database=test
    In the db server's tnsnames.ora...i have given the db details under test.
    if i do "tnsping test" the result is ok. but when i open the form in the browser im getting the ora-12514 error after giving the above said details of username.
    But....when i give the username,password and database of infrastructure i.e.,
    username=system password=oradba database=orcl then the form is opening in the browser.

  • Tnsping error in OEM Grid

    I have installed fresh 10G R3 Grid on Windows 2003 server.
    step1> Installed Grid 10g R2 in following homes
    d:/oracle/product/oms10g
    d:/oracle/product/agent10g
    d:/oracle/product/db10g
    step2> Upgrade to 10g R3
    Installed a new database home 10.2.0.3
    d:/oracle/product/10.2.0/db_1
    Every thing is fine up and running but I have problems logging in from command prompt:
    I have set following environment variables
    ORACLE_SID=emprep
    ORACLE_HOME=d:/oracle/product/10.2.0/db_1
    TNS_ADMIN=d:/oracle/product/10.2.0/db_1/NETWORK/ADMIN
    C:\Documents and Settings\admgb>set
    ALLUSERSPROFILE=C:\Documents and Settings\All Users
    APPDATA=C:\Documents and Settings\admgb\Application Data
    CLIENTNAME=HO6691
    ClusterLog=C:\WINDOWS\Cluster\cluster.log
    CommonProgramFiles=C:\Program Files\Common Files
    COMPUTERNAME=HOAPPS08
    ComSpec=C:\WINDOWS\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Documents and Settings\admgb
    invPtr=D:\oracle\product\agent10g\oraInst.loc
    LOGONSERVER=\\HOWIN10
    NUMBER_OF_PROCESSORS=4
    ORACLE_HOME=D:\oracle\product\10.2.0\db_1
    ORACLE_SID=emprep
    OS=Windows_NT
    Path=D:\oracle\product\agent10g\jlib;D:\oracle\product\agent10g\bin;D:\oracle\pr
    oduct\oms10g\bin;D:\oracle\product\oms10g\jlib;D:\oracle\product\10.2.0\db_1\bin
    ;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PERL5LIB=D:\oracle\product\10.2.0\db_1\perl\lib\5.8.3\MSWin32-x86;D:\oracle\prod
    uct\10.2.0\db_1\perl\lib\5.8.3;D:\oracle\product\10.2.0\db_1\perl\5.8.3\lib\MSWi
    n32-x86-multi-thread;D:\oracle\product\10.2.0\db_1\perl\site\5.8.3;D:\oracle\pro
    duct\10.2.0\db_1\perl\site\5.8.3\lib;D:\oracle\product\10.2.0\db_1\sysman\admin\
    scripts
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 33 Stepping 2, AuthenticAMD
    PROCESSOR_LEVEL=15
    PROCESSOR_REVISION=2102
    ProgramFiles=C:\Program Files
    PROMPT=$P$G
    SESSIONNAME=RDP-Tcp#43
    SystemDrive=C:
    SystemRoot=C:\WINDOWS
    TEMP=C:\DOCUME~1\admgb\LOCALS~1\Temp\1
    TMP=C:\DOCUME~1\admgb\LOCALS~1\Temp\1
    TNS_ADMIN=D:\oracle\product\10.2.0\db_1\NETWORK\ADMIN
    USERDNSDOMAIN=NEWSTAR.AD
    USERDOMAIN=NEWSTAR
    USERNAME=admgb
    USERPROFILE=C:\Documents and Settings\admgb
    windir=C:\WINDOWS
    C:\Documents and Settings\admgb>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.3.0 - Production on 26-SEP-2007 16:41
    :23
    Copyright (c) 1991, 2006, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.3.0 - Produ
    ction
    Start Date 26-SEP-2007 16:27:16
    Uptime 0 days 0 hr. 14 min. 11 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\oracle\product\10.2.0\db_1\network\admin\listener.o
    ra
    Listener Log File D:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hoapps08.NEWSTAR.AD)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "emrep.NEWSTAR.AD" has 2 instance(s).
    Instance "emrep", status UNKNOWN, has 1 handler(s) for this service...
    Instance "emrep", status READY, has 1 handler(s) for this service...
    Service "emrep_XPT.NEWSTAR.AD" has 1 instance(s).
    Instance "emrep", status READY, has 1 handler(s) for this service...
    The command completed successfully
    C:\Documents and Settings\admgb>tnsping emprep
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production on 26-SEP-2
    007 16:41:34
    Copyright (c) 1997, 2006, Oracle. All rights reserved.
    Used parameter files:
    D:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\sqlnet.ora
    TNS-03505: Failed to resolve name
    C:\Documents and Settings\admgb>
    C:\Documents and Settings\admgb>tnsping test
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production on 26-SEP-2
    007 16:44:45
    Copyright (c) 1997, 2006, Oracle. All rights reserved.
    Used parameter files:
    D:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\sqlnet.ora
    TNS-03505: Failed to resolve name
    C:\Documents and Settings\admgb>
    listener.ora:
    # listener.ora Network Configuration File: D:\oracle\product\db10g\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = emrep.NEWSTAR.AD)
    (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
    (SID_NAME = emrep)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hoapps08.NEWSTAR.AD)(PORT = 1521))
    tnsnames.ora
    # tnsnames.ora Network Configuration File: D:\oracle\product\db10g\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    EMREP =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hoapps08.NEWSTAR.AD)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = emrep.NEWSTAR.AD)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    TEST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hoapps08.NEWSTAR.AD)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = emrep)
    sqlnet.ora
    # sqlnet.ora Network Configuration File: D:\oracle\product\db10g\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    NAMES.DEFAULT_DOMAIN= NEWSTAR.AD
    Grid server is saying to update listener.ora location
    LISTENER_hoapps08.NEWSTAR.AD Listener 26-Sep-2007 16:18:34 The listener is down: Although a Listener with name "LISTENER", is running on this host at port: "1521", it was not started using this target's "LISTENER.ORA" file. CORRECTIVE ACTION: To monitor this "EM Listener Target" with its present configuration, you must stop the currently running listener process, and start it again using the Listener Parameter file: D:\oracle\product\db10g\network\admin/listener.ora . Alternatively, you can update this target's "LISTENER.ORA Location" parameter with the location of the currently running Listener, which was started using: D:\oracle\product\10.2.0\db_1\network\admin\listener.ora.
    Can some one help me to resoleve this problem... tns_admin is already set... does things needs to be changed in registry.

    LISTENER_hoapps08.NEWSTAR.AD Listener 26-Sep-2007 16:18:34 The listener is down: Although a Listener with name "LISTENER", is running on this host at port: "1521", it was not started using this target's "LISTENER.ORA" file. CORRECTIVE ACTION: To monitor this "EM Listener Target" with its present configuration, you must stop the currently running listener process, and start it again using the Listener Parameter file: D:\oracle\product\db10g\network\admin/listener.ora . Alternatively, you can update this target's "LISTENER.ORA Location" parameter with the location of the currently running Listener, which was started using: D:\oracle\product\10.2.0\db_1\network\admin\listener.ora.
    Can I get help in locating page on grid control to change LISTENER.ORA Location
    as it is pointing to wrong home.

  • Tnsping failed in 10g@RHEL5

    platform: Oracle 10.2.0.1.0 on RHEL5.
    Issue: tnsping failed from client (successful from the server itself)
    Brief: I can tnsping and sqlplus to the test1 db from the RHEL5 db server itself, no issue. But when I tried to tnsping from a client, I get the error.
    ** In both db selver and the client, I am using same tnsnames.ora.
    ** checked etc/hosts , /etc/sysconfig/network , /proc/sys/net/ipv4/ip_local_port_range - all OK.
    Pl help.
    =======listener file======
    LISTENER_TEST1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = abc.com)(PORT = 1523))
    SID_LIST_LISTENER_TEST1 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = test1)
    (ORACLE_HOME = /app/oracle/product/10.2.0/db_1)
    (SID_NAME = test1)
    ====================
    =====tnsnames.ora=====
    TEST1.ABC.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dbserver.abc.com)(PORT = 1523))
    (CONNECT_DATA =
    (SERVICE_NAME = test1)
    ====================
    ====================
    ----following is a tnsping test (SUCCESSFUL) from the db server itself----
    dbserver> tnsping TEST1.ABC.COM
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 19-APR-2008 00:13:24
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    /app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = dbserver.abc.com)(PORT = 1523))) (CONNECT_DATA = (SERVICE_NAME = test1)))
    OK (0 msec)
    ====================
    ====================
    ~~~~~Followin g is a tnsping test (FAILED) from a client~~~~~~~~~~
    clientbox> tnsping test1.abc.com
    TNS Ping Utility for Linux: Version 10.2.0.4.0 - Production on 19-APR-2008 00:22:09
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/10.2.0/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = dbserver.abc.com)(PORT = 1523))) (CONNECT_DATA = (SERVICE_NAME = test1)))
    TNS-12560: TNS:protocol adapter error
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ====================

    I have correct ip and hostname defined in /etc/hosts.
    the actual listener and tns looks like this (earlier was a typo)
    =======listener file======
    LISTENER_TEST1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = abc.com)(PORT = 1523))
    SID_LIST_LISTENER_TEST1 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = test1)
    (ORACLE_HOME = /app/oracle/product/10.2.0/db_1)
    (SID_NAME = test1)
    ====================
    =====tnsnames.ora=====
    TEST1.ABC.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = abc.com)(PORT = 1523))
    (CONNECT_DATA =
    (SERVICE_NAME = test1)
    ====================

  • Tnsping failed from client

    platform: Oracle 10.2.0.1.0 on RHEL5.
    Issue: tnsping failed from client (successful from the server itself)
    Brief: I can tnsping and sqlplus to the test1 db from the RHEL5 db server itself, no issue. But when I tried to tnsping from a client, I get the error.
    ** In both db selver and the client, I am using same tnsnames.ora.
    ** checked etc/hosts , /etc/sysconfig/network , /proc/sys/net/ipv4/ip_local_port_range - all OK.
    Pl help.
    =======listener file======
    LISTENER_TEST1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = abc.com)(PORT = 1523))
    SID_LIST_LISTENER_TEST1 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = test1)
    (ORACLE_HOME = /app/oracle/product/10.2.0/db_1)
    (SID_NAME = test1)
    ====================
    =====tnsnames.ora=====
    TEST1.ABC.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dbserver.abc.com)(PORT = 1523))
    (CONNECT_DATA =
    (SERVICE_NAME = test1)
    ====================
    ====================
    ----following is a tnsping test (SUCCESSFUL) from the db server itself----
    dbserver> tnsping TEST1.ABC.COM
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 19-APR-2008 00:13:24
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    /app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = dbserver.abc.com)(PORT = 1523))) (CONNECT_DATA = (SERVICE_NAME = test1)))
    OK (0 msec)
    ====================
    ====================
    ~~~~~Followin g is a tnsping test (FAILED) from a client~~~~~~~~~~
    clientbox> tnsping test1.abc.com
    TNS Ping Utility for Linux: Version 10.2.0.4.0 - Production on 19-APR-2008 00:22:09
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/10.2.0/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = dbserver.abc.com)(PORT = 1523))) (CONNECT_DATA = (SERVICE_NAME = test1)))
    TNS-12560: TNS:protocol adapter error
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ====================

    Duplicate thread.
    Re: tnsping failed in 10g@RHEL5
    It's always advisable to open one post instead of multiple with the same contents on different forums.
    Regards,
    Sabdar Syed.

  • TNS error while opening the form in IE 6

    Friends,
    DB OS: RHEL AS 3 (oracle 9iR2)
    OAS OS: RHEL AS 4
    Client OS: windows xp sp2
    when i try to open the form from windows xp......
    it ask me the username/password/database
    when i enter....
    username: system
    password: oradba
    database: orcl
    its connecting no problem.....but the db connecting is Oracle application Server's 10g db.
    but i want to connect the 9i DB
    when i give the username/password/database for 9i db like....
    username: scott
    password: tiger
    database: test
    its giving me the below error.....
    ORA-12514: TNS could not resolve the connect identifier specifiedIn the OAS /u01/app/oracle/product/10.1.2/infrahome/network/admin/tnsnames.ora contains...
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/10.1.2/infrahome/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = appsworld.ncc.com)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl.ncc.com)
    test =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.7.2)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = ncc)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = appsworld.ncc.com)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = PLSExtProc)
      )Am i have to add any other entry in listener.ora?
    please point me where im making mistake.
    thanks

    Actually....iam opening the form from windows xp.Means what? Are u opening in the browser or in the Forms Builder?
    ----in the browser
    when i create a new form in windows xp using developer suite (i have installed developer suite) i am able to connect the database. i checked the tnsping in server its working.....
    This means developer suite has been configured for database.---i configured the developer suite(172.16.7.123) to 9idb(172.16.7.2)
    but i am not able to open the form.What error are u getting when u open the form?
    ---when i open the form in the browser (http://appsworld.ncc.com:7778/forms/frmservlet?config=test)
    its asking me the username,password,database.
    i gave username=ncc password=nccpwd database=test
    In the db server's tnsnames.ora...i have given the db details under test.
    if i do "tnsping test" the result is ok. but when i open the form in the browser im getting the ora-12514 error after giving the above said details of username.
    But....when i give the username,password and database of infrastructure i.e.,
    username=system password=oradba database=orcl then the form is opening in the browser.

  • Not able to access the 10g RAC DB

    Hi All,
    I have installed 10G RAC on WIN2K box with 2 nodes. The installation was fine. I created a database with name "test". It created 2 instances "test1 on node1" and "test2 on node2". Now if i am trying to connect to "test", it fails. but if i use "test1" i am able to connect. How does the failover come into picture when i am using the instance "test1" which is running on node1 and it(node1) goes down. I am new to these, please help me.
    Thanks in advance
    Regards
    Kavitha

    All connections should be using the failover TNS entry which should look something like this in your tnsnames.ora file:
    TEST=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=test1-vip.us.oracle.com)(PORT=1521))
    (ADDRESS=(PROTOCOL=tcp)(HOST=test2-vip.us.oracle.com)(PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=TEST)
    When you do a tnsping of the service, you should see the failover configuration, similar to:
    tnsping TEST
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=test1-vip.us.oracle.com)(PORT=1521)) (ADDRESS=(PROTOCOL=tcp)(HOST=test2-vip.us.oracle.com)(PORT=1521)) (CONNECT_DATA= (SERVICE_NAME=TEST)))
    There are many different configurations for RAC failover and TAF. This is a basic example.
    Marg.

  • Help!? wierd sqlnet problem with linux 8.0.5

    I installed Oracle for Linux 8.0.5 on RHL 6.0
    and also applied the glibc patches. Database
    is up and running... and my pc clients can connect
    to the database...
    So my problem is:
    I can connect to the local linux database just fine but,
    I'm having problems using sqlplus to connect to another database.
    For example, suppose I am in sqlplus and do:
    connect scott/[email protected]
    (assume prod.world is a 7.3.4 database on a separate machine and
    the listener and everything is fine)
    I get: ORA-01017:invalid username/password; logon denied
    The username/password is valid because...
    If I use svrmgrl to connect to prod.world:
    and do a connect scott/[email protected]
    It connects!
    tnsping test.world and prod.world and I get ok... so I know that
    the /network/admin/tnsnames.ora is okay... especially since it
    connects with svrmgrl...!?
    Any ideas anyone???
    Thanks in advance...
    Phil Adams
    null

    Phil,
    I would be suspicious of the svrmgrl connect , I have tested
    this myself and found that it ignores the "@sqlnet-alias" string
    completely ! I suspect that the user scott exists in both the
    local and remote databases and that remote scott has a different
    passwd from the local scott !
    One way to convince yourself of this :
    1 create a user in the remore database
    2 ensure that there is no user of the same name in the local
    database
    3 try your test again with this user
    Cheers
    Mark
    null

  • Unable to select from Oracle to SQL Server

    Hi group,
    I am having some issues while trying to select a SQL Server table from Oracle.
    Oracle version is 10.2.0.4 64 bits on Solaris 64 bits too, this database connects to Oracle Client (with dg4odbc) on Windows 64 bits installation (Oracle Cient version is 11.2.0.1), and finally SQL Server is running right on a Windows 2000 server on 32 bits.
    When I try to select the SQL Server table from Oracle, I am getting the next error message:
    SQL> select * from "interfaceinventarios"@TEST;
    select * from "interfaceinventarios"@TEST
    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 TEST
    tnsping TEST is working well.
    On the Windows Server (64 bits) I used: C:\Windows\System32\odbcad.exe executable to create the datasource.
    Any help or advice will be really appreciated.
    Thanks in advance.
    Kind regards,
    Francisco

    Hi,
    If your server is of 64 bit then the oracle client needs to be 64 bit.

  • ORA-28500 and ORA-02063 while connecting MySQL from Oracle-

    Dear All,
    My Database is Oracle 11gR2 Rac of 2 nodes and on Linux 64-Bit operating system.
    Version of my MySQL database is 5.5.17 it is on Linux 32-Bit operating system.
    I am trying to connect MySQL database from Oracle database using a database link.
    These are the step by step process that I am following to achieve my target. All my processes are on one node of Oracle RAC.
    1)
    Yum install mysql-connector-odbc
    Yum install unixODBC
    2)
    Edit file /etc/odbc.ini
    [test]
    Driver = /usr/lib64/libmyodbc3.so
    Description = MySQL ODBC 3.51 Driver DSN
    SERVER = 10.0.0.1
    PORT = 3306
    USER = test
    Password = test
    Database = test
    OPTION = 3
    SOCKET =
    3)
    Edit file /etc/odbcinst.ini
    [MySQL]
    Description = ODBC for MySQL
    Driver = /usr/lib64/libmyodbc3.so
    Setup = /usr/lib64/libodbcmyS.so
    FileUsage = 1
    4) test connection
    isql –v test test test
    Returns:
    | Connected! |
    | |
    | sql-statement |
    | help [tablename] |
    | quit |
    | |
    SQL>
    5) Now I edit listener.ora file and add the entry. After entry my listener.ora file is like this:
    LISTENER =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = LISTENER))
    (ADDRESS = (PROTOCOL = TCP)(HOST=testnode1)(PORT = 1521))
    # line added by Agent
    LISTENER_SCAN1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = LISTENER_SCAN1))
    # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1 = ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON # line added by Agent
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (PROGRAM = dg4odbc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = test)
    (ENVS=LD_LIBRARY_PATH = /usr/local/lib:/u01/app/oracle/product/11.2.0/dbhome_1/lib)
    6) After these entries the listener status after RESTART is as following:
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 27-DEC-2011 01:19:32
    Uptime 0 days 9 hr. 31 min. 12 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File /u01/app/grid/diag/tnslsnr/racnode1/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=testnode1)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "test" has 1 instance(s).
    Instance "test", status UNKNOWN, has 1 handler(s) for this service...
    Service "testdb" has 1 instance(s).
    Instance "testdb1", status READY, has 1 handler(s) for this service...
    Service "racdbXDB" has 1 instance(s).
    Instance "testdb1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    7) Then in the tnsnames.ora file I added the following entry:
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = EXTPROC1521)
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    test =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SID = test)
    (HS = OK)
    When i tnsping test, it works.
    8) I edit the .bash_profile file for Oracle
    ORACLE_HOME, ORACLE_BASE were already pointing to the correct destination, I added:
    LD_LIBRARY_PATH=/usr/local/lib:/u01/app/oracle/product/11.1.0/db_1/lib:/u01/app/oracle/product/11.2.0/dbhome_1/hs/lib:/usr/lib64:/usr/lib
    export LD_LIBRARY_PATH
    ODBCINI=/etc/odbc.ini
    export ODBCINI
    ODBCINSTINI=/etc/odbc.ini
    export ODBCINSTINI
    ODBCSYSINI=/etc
    export ODBCSYSINI
    9) Then i configured $ORACLE_HOME/hs/admin/inithsodbc.ora
    And Modified these lines:
    HS_FDS_CONNECT_INFO = test
    HS_FDS_TRACE_LEVEL = ON
    HS_FDS_TRACE_FILE_NAME = odbc_test.log
    HS_FDS_TRACE_LEVEL = 4
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
    HS_FDS_SUPPORT_STATISCTICS = FALSE
    HS_LANGUAGE = AMERICAN_AMERICA.WE8ISO8859P1
    set ODBCINI = /etc/odbc.ini
    10) Then i created a database link with the following command:
    Create public database link test connect to test identified by test using ‘test’;
    I tried username and password in database link with double quotes also.
    11) Now Finally when I try to select records from mysql table:
    select count(*) from "table"@"test"; -- I have tried with and without double quotes
    I get the following error:
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from TEST
    How to get through this error, and how to check logs for HS?
    Your help is required.
    Regards, Imran
    Edited by: misterimran on Dec 27, 2011 1:21 PM

    Hi,
    In your listener.ora for the DG4ODBC entry you had -
    (ENVS=LD_LIBRARY_PATH = /usr/local/lib:/u01/app/oracle/product/11.2.0/dbhome_1/lib)
    but this should also include the path for the driver manager directory which in your case is /usr/lib64 so could you add this ?
    The error -
    Failed to load ODBC library symbol: /usr/lib64/libmyodbc3.so(SQLSetDescRec)
    indicates the /usr/lib64 directory cannot be accessed.
    The entry should then look like -
    (SID_DESC =
    <space>(PROGRAM = dg4odbc)
    <space>(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    <space>(SID_NAME = test)
    <space>(ENVS=LD_LIBRARY_PATH = /usr/local/lib:/usr/lib64:/u01/app/oracle/product/11.2.0/dbhome_1/lib)
    <space>)
    The spaces may have bene lost when posting but there should be at least one space in the file as indicated by the <space>.
    After making the change then stop and start the listener.
    If you still have problems then please post again the current versions of the configuration files, the full errors shown in SQLPLUS for a select and the output from a debug trace showing the errors.
    The information shows you are using the 3.51 MySQL ODBC driver so could you also try with the latest version of the 5.1 driver and see if you have the same problem ?
    Regards,
    Mike

  • SSL authentication

    Hello
    I am configuring ssl authentication ( document oracle support 736510.1)
    But when doing tnsping from client side i have an tns-12560
    [oracle@testrac3 admin]$ tnsping TEST
    TNS Ping Utility for Linux: Version 11.2.0.3.0 - Production on 17-JUN-2013 10:04:14
    Copyright (c) 1997, 2011, Oracle.  All rights reserved.
    Used parameter files:
    /opt/app/oracle/product/11.2.0.3/db/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCPS)(HOST = testrac1.XX.XX)(PORT =2484)) (SECURITY= (SSL_SERVER_CERT_DN=CN=dbasecurityRoot,O=dbasecurity,C=US)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME= TEST.XXX.XXX)))
    TNS-12560: TNS:protocol adapter error
    Can someone give me an help
    Best regards

    Hi, djoloff,
    I already answered in this thread, may be it will help.
    https://forums.oracle.com/thread/2527585

  • Problem about RMAN-06023: no backup or copy of datafile 5 found to restore

    here is the error info when i duplicate database use rman
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 08/19/2011 09:33:39
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 5 found to restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    and following my operate steps
    ==================
    auxiliary instance configure
    1, create password file
    $ orapwd file=/opt/app/oracle/product/10.2.0/db_1/dbs/orapwslavedb password=Myss123456 entries=30
    2,edit tnsname.ora on auxilary so i can connect primary db and auxiliary
    $ vi tnsname.ora (tnsping test pass)
    PRIDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.40.214)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = pridb)
    3,create pfile for auxiliary instance
    $ vi initslavedb.ora
    *.DB_BLOCK_SIZE=8192
    *.DB_NAME=slavedb
    *.CONTROL_FILES='/opt/app/oracle/oradata/slavedb/control01.ctl','/opt/app/oracl
    e/oradata/slavedb/control02.ctl','/opt/app/oracle/oradata/slavedb/control03.ctl'
    *.DB_FILE_NAME_CONVERT='/opt/app/oracle/oradata/primaryd','/opt/app/oracle/oradata/slavedb'
    *.LOG_FILE_NAME_CONVERT='/opt/app/oracle/oradata/primaryd','/opt/app/oracle/oradata/slavedb'
    4,start auxiliary instance nomount and create spfile,then shutdown it,and startup to nomount status again
    5,backup target database
    RMAN> backup database;
    6, create directory on slavedb,and transforer target backupset and archlog to salvedb
    $ mkdir -p /opt/app/oracle/flash_recovery_area/PRIDB/backupset/2011_08_19
    $ mkdir -p /opt/app/oracle/flash_recovery_area/PRIDB/archivelog/2011_08_19
    7,run duplicate commandline on auxiliary
    [oracle@localhost admin]$ rman target sys/Myss123456@pridb auxiliary /
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Aug 19 10:46:05 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: PRIDB (DBID=969477968, not open)
    connected to auxiliary database: SLAVEDB (not mounted)
    RMAN> duplicate target database to 'slavedb'
    2> nofilenamecheck;
    Starting Duplicate Db at 19-AUG-2011 10:46:15
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=35 devtype=DISK
    contents of Memory Script:
    set until scn 490864;
    set newname for datafile 1 to
    "/opt/app/oracle/oradata/slavedb/system01.dbf";
    set newname for datafile 2 to
    "/opt/app/oracle/oradata/slavedb/undotbs01.dbf";
    set newname for datafile 3 to
    "/opt/app/oracle/oradata/slavedb/sysaux01.dbf";
    set newname for datafile 4 to
    "/opt/app/oracle/oradata/slavedb/users01.dbf";
    set newname for datafile 5 to
    "/opt/app/oracle/oradata/slavedb/example01.dbf";
    restore
    check readonly
    clone database
    executing Memory Script
    executing command: SET until clause
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 19-AUG-2011 10:46:16
    using channel ORA_AUX_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 08/19/2011 10:46:16
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 5 found to restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    anyone can help?

    use format command with backup.
    eg:-
    backup as compressed backupset database format '/u01/db/backup/%d_%I_%s_%T';
    if it is archivelog mode then
    backup as compressed backupset database format '/u01/db/backup/%d_%I_%s_%T' plus archivelog format '/u01/db/backup/%d_%I_%s_%T';
    then copy the backup to the auxiliary instance server.
    then try again the duplicate command.

  • Netasst on Redhat 6.1

    I am a beginner. I have a problem with netasst on oracle8.1.5i for linux(Redhat6.1).
    After running netasst,I followed these step:
    1.Create Listener
    listener name : TEST
    2.Add address
    Displayed: Protocol: TCP/IP
    HOST: future_linux.gdpita
    PORT: 1521
    3.Create "Net Service Names"
    a.Net Sevice Name: TestNSN
    b.select "TCP/IP(internet Protocol)"
    c.HOST NAME: 12.104.72.21 --(My computer's IP)
    Port Number: 1521
    d.Oracle8i Release 8.1 Service Name: v8i815
    -- (I have created the oracle database whose global database name is "future" and System Identifier(SID) is "v8i815".
    e: test
    -----ERROR ( The Program exit )!
    Displayed Information:
    " Thread Alarm Q:
    sys_thread_t 0x4147ae0c [Timeout in 240 ms]
    sys_thread_t 0x419fde0c [Timeout in 240 ms] "
    pls. help me and tell me why and the advice .

    My netasst also crashes when I try to test.
    So, I don't test at all. Just click the
    Finish button.
    Then at the prompt you can do the following
    to make sure that your connection is setup
    and working:
    tnsping TEST
    If you get an OK message then everything is fine. Make sure the database instance is up
    and running before you do that.
    Sergey
    null

  • Configuring hetrogeneous services in Oracle 10g database

    Hello all,
    Oracle database 10.2.0.4
    Windows XP
    I am trying to configure the Oracle hetrogeneous services in Oracle database to transfer data from SQL server database.
    For eg:
    I have *"A"* machine and *"B"* machine. SQL server database is in *"A"* machine and Oracle database is in *"B"* machine.
    I have configured the Hetrogeneous services in Oracle (machine B) database as per the document
    http://www.databasejournal.com/features/oracle/article.php/10893_3442661_1/Making-a-Connection-from-Oracle-to-SQL-Server.htm
    I have done the same things..
    After configuring i restarted the listener and it was ok.. but when i tnsping its giving No listener error.
    Whether i need to configure anything in the SQL server database side ?
    Please advice...
    TIA,

    Hello Sir,
    Thank you for your reply..
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=C202878)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Start Date 24-SEP-2009 08:53:59
    Uptime 0 days 0 hr. 40 min. 22 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Listener Log File D:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=C202878)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\PNPKEYipc)))
    Services Summary...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orcl_XPT" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "test" has 1 instance(s).
    Instance "test", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfullyHere test is the service HS agent i created for the SQL server connection
    Lisener.ora file
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = C202878)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=test)
    (ORACLE_HOME=D:\oracle\product\10.2.0\db_1)
    (PROGRAM=hsodbc)
    tnsname.ora file
    test =
    (DESCRIPTION=
    (CONNECT_DATA=(SID=test))
    (ADDRESS = (PROTOCOL = TCP)(HOST = K300948v12)(PORT = 1521))
    (HS=OK)
    inittest.ora file present in D:\oracle\product\10.2.0\db_1\hs\admin\ location
    # 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 = TEST
    HS_FDS_TRACE_LEVEL = OFF
    i have created the ODBC connection for SQL server in the B machine. The above configurations are done in the B machine that is where the Oracle database is present.
    When i try to tnsping
    U:\>tnsping test
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 24-SEP-2009 09:30:22
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    D:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (CONNECT_DATA=(SID=test)) (ADDRESS = (PROTOCOL = TCP)(HOST = >K300948v12)(POR
    T = 1521)) (HS=OK))
    TNS-12541: TNS:no listenerPlease advice where i am going wrong...
    TIA,

Maybe you are looking for