ORA-12545 on dblink

Dear all,
Db : 10.2.0.3.
Solaris 10
In Toad, When querying a table data over DBLInk, am getting the error :
ORA-12545 Connect Failed because target host or object does not exist
but,the same query works fine when directly logging into the server..
What could be the reason ?
Kai

hello,
have you checked the tnsnames .ora on client??? is it pointing to right server and database (service_name)??
can you post content of tnsnames.ora??you can also refer to this
http://otn.oracle.com/pls/db10g/db10g.show_toc?which=main&partno=b10744&maxlevel=2&section=&expand=131418
thanks and regards
VD
Edited by: Dixit on Sep 7, 2009 4:55 AM

Similar Messages

  • Random Occurrence of ORA-12545

    Hi,
    We are having trouble connecting to an Oracle 10g database. We receive an ORA-12545 error at what seems like random intervals.
    We are trying to connect from 2 different places. 1) Using a DBLink in a Sql Client tool called AquaData and 2) On an Informatica server using an Informatica provided ODBC connection .
    A) Below are the details in the TNSName.ORA file used by Aqua Data and Informatica:
    PROD_SERVICE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = IP_XXX_1)(PORT = YYY))
    (ADDRESS = (PROTOCOL = TCP)(HOST = IP_XXX_2)(PORT = YYY))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = PROD_SERVICE)
    Where the XXX's are IP address for two different servers and YYY are port numbers.
    B) The prod service goes down for 30 minutes, every 90 minutes. However, the server and the listener port are "UP" all the time.
    C) We are able to ping, tnsping, telnet from the Informatica server to the oracle server as well as from the Client machine. We are able to telnet and tnsping when the Oracle service is down. (In the 30 minute window), from the Client machine. We have not tried this yet from the Informatica server.
    Details/ Observations about Place 1 (Sql Client/ Aqua Data):
    1. We have created an DB Link connection to the database causing issues and used that to query from our factory database in Aqua Data.
    2. Few times (very random) we have encountered "ORA-12545" error when we run a query.
    3. We have observed that when we run a query in the 30 minute window (when the database service is down), we get ORA-01033 or ORA-12545 error randomly.
    Details/ Observations about Place 2 (Informatica Server):
    1. We have made the same TNS name entry in Informatica server and we have created a ODBC connection, exactly in the same way we configured the connection for SQL Client.
    2. When the server is UP, and we kick off the jobs, we get the ORA-12545 error 80% of the time.
    We have tried to correlate the occurrence of the error with the number of parallel connections/ different times during the 90minute window, but we were unable to find any conclusive relationship.
    Can someone please help us understand the error and resolve the issue?
    Thanks!!

    From the error docs, an ora-12545 is "Connect failed because target host or object does not exist".
    Don't know how that can be made any more plain, the client software is not communicating with the specified host. Verify that the IP addresses are correct.
    Three bits of information are required for a client to connect with a database- host, the listener port number, and the ORACLE_SID or instance SERVICE_NAME. Looks like RAC with load balancing so you'll be needing the service name.
    The load balance part could be misleading, even with client "try an address in random order" check box enabled, it could very well be always trying the first entry of the ADDRESS_LIST stanza.
    So its possible the "random" part is when one of the nodes is down. Or could be another cause, a large batch or some other kind of job blocking or some other pinch point is getting scratched.
    Start with trying one client using just one of the IP address, another client specifying just the other. A "random" problem can be impossible to pinpoint.
    Examine the symptoms, list possible problems, then test and discover the cause.

  • Error while installing Oracle 8i on RHEL 3.0, ORA-12545

    Hi,
    I am trying to install oracle 8.1.7 on redhat EL 3.0. Earlier i installed the same oracle i.e 8.1.7 on redhat 8.0/9.0 and it installed sucesfully. The proceudre
    i follow for installtion was :
    ####### some settings
    groupadd dba
    groupadd oinstall
    groupadd oracle
    useradd -g dba -G oinstall,oracle -m oracle
    passwd oracle
    mkdir /ora8
    cd /ora8
    mkdir -p m01 m02 m03/oradata/ora8
    chown -R oracle.dba /ora8
    ###### login as oracle. changes in .bash_profile(setting up of parameters)
    export ORACLE_BASE=/ora8/m01/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/8.1.7
    export PATH=$PATH:$ORACLE_HOME/bin
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    export ORACLE_SID=perfdb
    export ORACLE_TERM=vt100
    export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    umask 022
    LD_ASSUME_KERNEL=2.2.5
    ##### thereafter i run installer
    ./runInstaller
    It goes smoothly and later it gives linking error. I ignore them at this stage.
    #### thereafter I apply the patch
    tar xzf /tmp/glibc2.1.3_stub.tgz
    ./setup_stubs
    #### Therafter i run dbassist and I create the db and all went well.
    When i followed the same procedure in RHEL 3.0 it goes smooth till applying patch glibc2.1.3_stub.tgz but thereafter when i try to create db using dbassist it gives me error like :
    ORA-12545 Connect failed because target host or object does not exist.
    Even if i tried to run svrmgrl it gives me error
    :ORA-12545 Connect failed because target host or object does not exist
    Could anyone help me in resolving that ? the same installation procedure works well for Redhat 8.0/9.0
    Thanks
    Harsh Bhatia

    DBCA calls svrmgrl.exe in order to make a startup nomount of the new database and svrmgrl.exe fails during the hostname resolution.
    Try to give ipaddress rather than hostname in the tnsnames.ora file.

  • Java.sql.SQLException: Error while trying to retrieve text for error ORA-12545

    Hi,
    I am getting the following error when i tried to connect to Oracle database from
    a servlet. This exception is coming at the time of getting connection. And the
    same code is working when i used in the standalone java program.
    Oracle 8i database and WLS 6.0 are on the same UNIX machine.
    ---------attempting to connect ------
    java.sql.SQLException: Error while trying to retrieve text for error ORA-12545
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java, Compiled
    Code)
    at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled C
    ode)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, Compiled Code)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java, Com
    piled Code)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va, Compiled Code)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java, Compiled C
    ode)
    at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
    e)
    at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
    e)
    at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java, Compiled Code
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
    e)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
    e)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java, Compiled Code)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java, Compiled Code)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java, Compiled Code)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, Compiled Co
    de)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    Can any one help me out.
    Durga

    The problem is solved after exprting the parameter ORACLE_SID=<database_name>
    in Weblogic startup script.
    thank u for the suggestions.
    Durga
    Joseph Weinstein <[email protected]> wrote:
    >
    >
    Durga wrote:
    Hi Joe,
    I have checked the ORACLE_HOME parameter. There was a differnce. Ichanged to
    /oracle/app/product/8.1.7
    Now i am getting different exception. But still the standalone codeis working.
    any clues why I am getting this exception. I will send the code andthe weblogic
    properties file for reference if u need.Good. No, I don't need it. Now make sure the library path that the OS
    uses to find
    Oracle libraries, and our driver libraries etc., is in the same order
    for the
    server as for the shell that is successful on it's own. Make sure your
    Oracle
    client stuff is ahead of any weblogic libraries.
    Joe
    java.sql.SQLException: ORA-12547: TNS:lost contact
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java,Compiled
    Code)
    at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java,Compiled
    C
    ode)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, CompiledCode)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java,Com
    piled Code)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java,Compiled
    C
    ode)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java,Compiled
    C
    ode)
    at java.sql.DriverManager.getConnection(DriverManager.java,Compiled Cod
    e)
    at java.sql.DriverManager.getConnection(DriverManager.java:177)
    at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java,Compiled Code
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.getRuntimeName(ServletStubI
    mpl.java, Compiled Code)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java, Compiled Code)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:1631)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java,Compiled
    Co
    de)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, CompiledCode)
    Joseph Weinstein <[email protected]> wrote:
    The environment for the server probably doesn't have the same ORACLE_HOME
    setting as your shell when you succeed in a standalone.
    Also, you should be using our connection pools, and you should avoid
    making DriverManager calls in any multithreaded app such as WebLogic.
    Joe
    Durga wrote:
    Hi,
    I am getting the following error when i tried to connect to Oracledatabase from
    a servlet. This exception is coming at the time of getting connection.And the
    same code is working when i used in the standalone java program.
    Oracle 8i database and WLS 6.0 are on the same UNIX machine.
    ---------attempting to connect ------
    java.sql.SQLException: Error while trying to retrieve text for errorORA-12545
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java,
    Compiled
    Code)
    at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, CompiledC
    ode)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, Compiled
    Code)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java,Com
    piled Code)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va, Compiled Code)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java, CompiledC
    ode)
    at java.sql.DriverManager.getConnection(DriverManager.java, CompiledCod
    e)
    at java.sql.DriverManager.getConnection(DriverManager.java, CompiledCod
    e)
    at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java, CompiledCode
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, CompiledCod
    e)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, CompiledCod
    e)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java, Compiled Code)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java, Compiled Code)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java, Compiled Code)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, CompiledCo
    de)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
    Code)
    Can any one help me out.
    Durga

  • ORA-12545: Connect failed because target host or object does not exist

    Hey Guys,
    I know this particular query has been pinging around for ages now, but i cannot seem to get a good answer from anywhere :)
    Oracle 10g Database RAC installation- installed/ and running
    Oracle 10g Client on different box.
    Problem:
    [user@myserver ~]$ sqlplus
    SQL*Plus: Release 10.2.0.3.0 - Production on Fri Apr 4 16:14:11 2008
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Enter user-name: user
    Enter password:
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    All env variables are set in user .profile:
    export ORACLE_HOME=/space/oracle/oracle/product/10.2.0/client_1
    export ORACLE_SID=MSRAC
    PATH=$PATH:$ORACLE_HOME/bin:$JAVA_HOME/bin
    export PATH
    Full contents of tnsnames.ora on client machine:
    LISTENER_ORCLTELE =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.3.9)(PORT = 1521))
    ORCLTELE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.3.9)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcltele)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    MSRAC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.3.12)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.3.13)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = MSRAC)
    (failover_mode =
    (type=select)
    (method=basic)
    (retries=180)
    (delay=5))
    I am not sure if the first 3 connection entries are even needed in here, are they?
    The last entry is the connect info for the live database.
    What buggs me is that this works:
    [user@myserver ~]$ sqlplus 'user/user@msrac'
    SQL*Plus: Release 10.2.0.3.0 - Production on Fri Apr 4 16:19:40 2008
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Release 10.2.0.3.0 - 64bit Production
    With the Real Application Clusters option
    SQL>quit
    BTW: This is the error catpured in sqlnet.log
    Fatal NI connect error 12545, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/space/oracle/oracle/product/10.2.0/client_1/bin/oracle)(ARGV0=oracleMSRAC)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=sqlplus)(HOST=myserver.me.com)(USER=user))))
    VERSION INFORMATION:
    TNS for Linux: Version 10.2.0.3.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 10.2.0.3.0 - Production
    TCP/IP NT Protocol Adapter for Linux: Version 10.2.0.3.0 - Production
    Time: 04-APR-2008 16:14:16
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12545
    TNS-12545: Connect failed because target host or object does not exist
    ns secondary err code: 12560
    nt main err code: 515
    TNS-00515: Connect failed because target host or object does not exist
    nt secondary err code: 2
    nt OS err code: 0
    I have a funny feeling that the problem lies with either:
    PROTOCOL=beq
    and/or
    ARGV0=oracleMSRAC
    I have tried everything to remedy this, this is why i am now turning to you guys.
    Any and all help is always greatly appreciated.
    Robert

    Hi Guys,
    Thank you both for your responses, my findings are as follows:
    1. HOST=X.X.COM, ensure host is reachable : PING works and host(s) are reachable.
    2. In RAC Env, ensure TNS Name is correctly spelled, spelling fine, i can connect with the tns name (is TNS name same as SERVICE_NAME?) by: sqlplus 'user/user@racenv'; but my efforts still will not allow me to use:
    sqlplus 'user/user' it tells me that the host or object is does not exist, does this refer to the actual physical machine or the service name, or the instance name?
    All host entries in my tnsnames.ora file refer to the vip addresses of both servers holding the rac installation, and both are resolved just fine, testing with ping; any other way to test this?
    tnsnames file contains CONNECTION strings in the following order (does the listener entry need to be in the file? on the machine that i am trying to connect from?):
    LISTENER_ORCLTELE =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.3.9)(PORT = 1521))
    ORCLTELE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.3.9)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcltele)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    I tried removing all entries but the entry for MSRAC, but still no joy:
    MSRAC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.3.12)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.3.13)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = MSRAC)
    (failover_mode =
    (type=select)
    (method=basic)
    (retries=180)
    (delay=5))
    Thanks again,
    Robert..
    In the sqlnet.log file the error is as follows:
    Fatal NI connect error 12545, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/space/oracle/oracle/product/10.2.0/client_1//bin/oracle)(ARGV0=oracleMSRAC)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=sqlplus)(HOST=x.x.com)(USER=oracle))))
    VERSION INFORMATION:
    TNS for Linux: Version 10.2.0.3.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 10.2.0.3.0 - Production
    TCP/IP NT Protocol Adapter for Linux: Version 10.2.0.3.0 - Production
    Time: 07-APR-2008 11:03:12
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12545
    TNS-12545: Connect failed because target host or object does not exist
    ns secondary err code: 12560
    nt main err code: 515
    TNS-00515: Connect failed because target host or object does not exist
    nt secondary err code: 2
    nt OS err code: 0
    It mentions PROTOCOL=BEQ, this should be TCP, is there a way to enforce TCP or disable BEQ??
    Rob
    Message was edited by:
    DobSun

  • 8.1.5 installs on Redhat 6.1, but ORA-12545 error

    I carefully followed all of the installation instructions, and the installation procedure seemed to go as expected. But when I attempt to create a database with dbassist, I get an error:
    ORA-12545 Connect failed because target host or object does not exist
    Note: This is not a networked machine, but there are two network cards installed in the machine. The hostname is currently set to "localhost.localdomain".
    Any ideas?
    Thanks,
    J.R. Belding
    [email protected]
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by jrbelding ([email protected]):
    I carefully followed all of the installation instructions, and the installation procedure seemed to go as expected. But when I attempt to create a database with dbassist, I get an error:
    ORA-12545 Connect failed because target host or object does not exist
    Note: This is not a networked machine, but there are two network cards installed in the machine. The hostname is currently set to "localhost.localdomain".
    Any ideas?
    Thanks,
    J.R. Belding
    [email protected]<HR></BLOCKQUOTE>
    Also, I did notice that there seemed to be some errors during execution of the ./linux.sh and ./linux_815patches.sh scripts.
    null

  • Cannot connect to DB from remote computer (ORA-12545)

    Hello all,
    Please help, I am stumped.  I am trying to connect to a database located at my work from at home.
    I am running into the following issue (see command and error below):
    ansichart@ansivm:~/src/perl$ sqlplus aspxdba/********@aspxp2
    SQL*Plus: Release 11.2.0.3.0 Production on Thu Jul 18 21:15:09 2013
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    Here is my tnsnames.ora file (I have the service_name censored out for privacy reasons):
    ansichart@ansivm:~/src/perl$ cat $ORACLE_HOME/network/admin/tnsnames.ora
    aspxp2 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = orarac9-scan)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = *****************)(UR=A)
    I have verified that I can establish a TCP connection to this DB server on the port specified, using the same info from the TNSnames.ora file (see below):
    ansichart@ansivm:~/src/perl$ nmap -sT -p 1521 orarac9-scan
    Starting Nmap 5.21 ( http://nmap.org ) at 2013-07-18 20:53 CDT
    Nmap scan report for orarac9-scan (10.1.13.115)
    Host is up (0.0088s latency).
    PORT     STATE SERVICE
    1521/tcp open  oracle
    Nmap done: 1 IP address (1 host up) scanned in 0.09 seconds
    ansichart@ansivm:~/src/perl$
    I have another terminal opened up to a server at work and I can connect to the DB with sqlplus just fine.  I verified that the record for this database on the tnsnames.ora file is the same as it is at work.
    In conclusion, I can connect to the Database at work, but I cannot at home, even though I am using the same connection information and verified that port 1521 is accessible on this Database server from at home.  So why can't I establish a DB connection?
    Any ideas?
    Thanks,
    Ben

    676d3153-d812-4300-9e6a-b1dc87a2ebfe wrote:
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    This simply means "hostname unknown". In other words, the hostname used for the connection could not be resolved to an IP address.
    I have verified that I can establish a TCP connection to this DB server on the port specified, using the same info from the TNSnames.ora file (see below):
    You are verifying hostname orarac9-scan only. You are not verifying that the hostname supplied by the Oracle SCAN Listener can be resolved by your platform.
    As you are connecting to a SCAN listener, it will do its magic (load balancing/round robin/whatever) and return a redirect to your client driver - telling it where to find the service name the client requested.
    So your client driver gets a hostname and port in return. It then attempts to connect to that to establish your Oracle client-server session. If the RAC has been setup with the typical RAC hostnames, your client will get hostnames like orarac9-vip1 and orarac9-vip2 returned. Likely as FQDN too.
    This means your platform needs to be able to resolve these hostnames. It does not. Thus the error.
    In your platform's /etc/hosts file, define the complete list of RAC hostnames (SCAN, Public and VIP hostnames).

  • Get  ORA-12545: Connect failed because target host or object does not exist

    Hi all,
    My database is in RAC on a RHEL 5 and oracle 10.2.0.4 release, when i connect from client at the first time it's connected and after exit and connect again it gives the error ORA-12545: Connect failed because target host or object does not exist. and trying to tnsping i can reach the server and connect again it's connected and after disconnect and reconnect it gives the same error.
    Here is my tnsnames from windows client:
    CDRMGRAC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.116)(PORT = 1522))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.117)(PORT = 1522))
    (LOAD_BALANCE = yes)
    (FAILOVER = ON)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = cdrmg)
    In this tnsnames , i'm using the virtual ip address.
    Thanks for your help
    Lucienot

    hi,
    check the ping trace.. for how long the connection establish..
    check whether its breaking ,.
    regards,
    Deepak

  • ORA-12545: Connect failed because target host or object does not exist(EBS)

    Hi All,
    We are using Oracle EBS R12 on Linux x86 Enterprise Server.
    We have installed vision database (both apps and db on same machine)
    Host name: ERPDEV
    IP:192.168.1.211
    We can connect from client machines to our database using sqlplus i.e.
    sqlplus apps/****@vision
    Similarly tnsping is also successfully returning results.
    Also following commands are returning results
    ping erpdev
    ping 192.168.1.211
    ping erpdev.domainname.com
    All above commands are running fine.
    However we are trying to create new "Legal Address Entry" through "Legal Entry Manager". After filling all the details like Location,Country,City etc, when I push the apply button, getting following error messages:
    ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1674 ORA-12545: Connect failed because target host or object does not exist in Package xle_legal_address_swi Procedure create_legal_address
    I dont know why this ORA-12545 error is occuring through application although all of the above tests are running fine from client terminals.
    Do any one have any solution for this???
    Thanks
    Farooq

    Hi,
    I really am new to this application.
    I could not get this document.
    Can you pls guide me, how can i fix this problem.
    It's really imp to me to fix this.
    --Satish                                                                                                                                                                                                                                                                                                                                                   

  • ORA-12545: Connect failed because target host or object doen not exist

    Hi All,
    Please help.I am getting "ORA-12545: Connect failed because target host or object doen not exist" frequently while connect to database. My production DB is in RAC.
    some times it will connect successfully and some times it is giving the above error. Can any body help in this case. I am here by providing my listener files and tnsnames.ora file.
    Node1:
    # listener.ora.etefs-db1 Network Configuration File: /u01/app/oracle/product/10.
    2.0/db_1/network/admin/listener.ora.etefs-db1
    # Generated by Oracle configuration tools.
    LISTENER_ETEFS-DB1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = ETEFS-DB1-vip)(PORT = 1521)(IP = FIRST)
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.10.160.11)(PORT = 1521)(IP = FIRST))
    prefer_least_loaded_node_listener_edtdr1rac1a=off
    node2:
    # listener.ora.etefs-db2 Network Configuration File: /u01/app/oracle/product/10.
    2.0/db_1/network/admin/listener.ora.etefs-db2
    # Generated by Oracle configuration tools.
    LISTENER_ETEFS-DB2 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = ETEFS-DB2-vip)(PORT = 1521)(IP = FIRST)
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.10.160.12)(PORT = 1521)(IP = FIRST))
    prefer_least_loaded_node_listener_edtdr1rac1a=off
    tnsnames.ora from client machine:
    prod =
    (DESCRIPTION =
    (LOAD_BALANCE=ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.10.160.10)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.10.160.13)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = prod)
    Regards,
    Kiran

    suggestions
    ok VIPs
    can client access the server(TNSPING utility).
    or simply ping the server.
    if client able to communicate server then check HOSTNAME in listener.ora
    is represting correctly your Host.
    is hostname map with virtual ip in host file of Operating System if not using DNS.
    check ur hostname with command hostname.
    regards,
    ikhlaq

  • ORA-12545 .... host or object does not exi

    Hi there.
    Im tiered from that Trying install 8.1.7 on Red Hat 7.0. Not working. (I read all from what I cud from this group, but still dont know what to do )
    I installed glibc 2.1.3. After that I was able to create a database. I can open it, connect using sqlplus or sqlnet and netca on server side. But as soon as I run Net8 Easy config and try connect I couldnt do it. When I try do it, I receive error:
    ORA-12545
    The test did not succeed.
    ORA-12545: Connect failed because target host or object does not exist
    There may be an error in the fields entered
    or the server may not be ready for a connection.
    You can check the server and retry, or continue.
    Im stack. Where my problem? Network? Adapter? Listener? Anything else ????
    Server side? Client side?
    Anybody have any idea about this case?
    Thanks a lot.

    Well, i have the same problem and i believe the trouble is due to your instance name is diferent from your hostname.
    you can edit the sqlnet.ora file and comment the names.default_domain , check you do insert the listener_name service in the /etc/services file
    and retry the operation
    After this, however i can keep just a few connections and the problem is still present, I think the problem is the listener but i don't have the solution on it.
    good luck.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Alex Vasiliev ([email protected]):
    Hi there.
    Im tiered from that Trying install 8.1.7 on Red Hat 7.0. Not working. (I read all from what I cud from this group, but still dont know what to do )
    I installed glibc 2.1.3. After that I was able to create a database. I can open it, connect using sqlplus or sqlnet and netca on server side. But as soon as I run Net8 Easy config and try connect I couldnt do it. When I try do it, I receive error:
    ORA-12545
    The test did not succeed.
    ORA-12545: Connect failed because target host or object does not exist
    There may be an error in the fields entered
    or the server may not be ready for a connection.
    You can check the server and retry, or continue.
    Im stack. Where my problem? Network? Adapter? Listener? Anything else ????
    Server side? Client side?
    Anybody have any idea about this case?
    Thanks a lot. <HR></BLOCKQUOTE>
    null

  • Ora-12545 connect failed because target host does not exist(plsql develper)

    Hi,
    I am using Oracle 10g version, and i am using plsql developer.
    I am able to connect Oracle through sql*plus, But i am not able to connect Oracle through plsql developer from past few days, it is giving me error like:
    ora-12545 connect failed because target host does not exist
    I have not done any changes in setting though i am getting this problem, earlier i was able to work with plsql developer very good.
    I am sending the TNS file for your reference.
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = vnod-PC)(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)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    Please help me in this.
    Thanks,
    Vinod

    910575 wrote:
    Hi,
    I am using Oracle 10g version, and i am using plsql developer.There are numerous products with similar names.
    Which vendor provides your software & which version of the software do you have?
    Is the Oracle database server system installed on the same system as your client software?
    post results from following SQL
    SELECT * FROM V$VERSION;
    Handle:     910575
    Email:     [email protected]
    Status Level:     Newbie
    Registered:     Jan 26, 2012
    Total Posts:     42
    Total Questions:     20 (18 unresolved)
    Why so many unanswered questions?
    Edited by: sb92075 on May 18, 2012 9:30 PM

  • ORA-12545 error after changing the host name as IP address in Tnsnames.ora

    HI,
    I tried to connect PHP and oracle in Red Hat linux. I got error ORA-12545 after changing the host name as IPAddress in Tnsnames.ora file. In sqlnet.ora file also i have entry for tnsnames in Directory_Path. I struggled so much but i couldnt solve that. Please give me ur valuable suggestions....

    12545, 00000, "Connect failed because target host or object does not exist"
    // *Cause: The address specified is not valid, or the program being
    // connected to does not exist.
    // *Action: Ensure the ADDRESS parameters have been entered correctly; the
    // most likely incorrect parameter is the node name. Ensure that the
    // executable for the server exists (perhaps "oracle" is missing.)
    // If the protocol is TCP/IP, edit the TNSNAMES.ORA file to change the
    // host name to a numeric IP address and try again.
    Seems you specified wrong IP address.

  • Re:ORA-12545 error (host target)

    Can anyone shed some light on this... I have just installed red hat linux 9 and have been trying install Oracle 9.2 (i have followed many instructions from sites and have done all the export cmds etc...). But i keep getting a ORA-12545 error when trying to connect (no target host found)i have looked at the listener.ora file and cant seem to see anything wrong. What else can i do to solve my problem??? Ian.

    There are several issues that you have to check out.
    ORA-12545: TNS:name lookup failure
    Cause: The listener on the remote node cannot be contacted.
    Action: Perform these steps:
    Verify that the ADDRESS in the tnsnames.ora file and the listener.ora file is correct.
    Verify that the listener on the remote node has been started. Enter:
    lsnrctl
    LSNRCTL> STATUS [listener_name]
    listener_name is the name of the listener defined in the listener.ora file. It is not necessary to identify the listener if you are using the default listener, named LISTENER.
    If the output indicates the listener is not running, try starting it with the command:
    LSNRCTL> START [listener_name]
    First than nothing :
    1.- Can you get connection locally in the Server ?
    Joel P�rez

  • ORA-12545 error while installing Oracle 8i on RHEL 3.0

    Hi,
    I am trying to install oracle 8.1.7 on redhat EL 3.0. Earlier i installed the same oracle i.e 8.1.7 on redhat 8.0/9.0 and it installed sucesfully. The proceudre
    i follow for installtion was :
    ####### some settings
    groupadd dba
    groupadd oinstall
    groupadd oracle
    useradd -g dba -G oinstall,oracle -m oracle
    passwd oracle
    mkdir /ora8
    cd /ora8
    mkdir -p m01 m02 m03/oradata/ora8
    chown -R oracle.dba /ora8
    ###### login as oracle. changes in .bash_profile(setting up of parameters)
    export ORACLE_BASE=/ora8/m01/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/8.1.7
    export PATH=$PATH:$ORACLE_HOME/bin
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    export ORACLE_SID=perfdb
    export ORACLE_TERM=vt100
    export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    umask 022
    LD_ASSUME_KERNEL=2.2.5
    ##### thereafter i run installer
    ./runInstaller
    It goes smoothly and later it gives linking error. I ignore them at this stage.
    #### thereafter I apply the patch
    tar xzf /tmp/glibc2.1.3_stub.tgz
    ./setup_stubs
    #### Therafter i run dbassist and I create the db and all went well.
    When i followed the same procedure in RHEL 3.0 it goes smooth till applying patch glibc2.1.3_stub.tgz but thereafter when i try to create db using dbassist it gives me error like :
    ORA-12545 Connect failed because target host or object does not exist.
    Even if i tried to run svrmgrl it gives me error
    :ORA-12545 Connect failed because target host or object does not exist
    Could anyone help me in resolving that ? the same installation procedure works well for Redhat 8.0/9.0
    Thanks
    Harsh Bhatia

    What version of gcc are you using?
    Check out this link: http://www.redhat.com/archives/taroon-list/2004-June/msg00030.html
    All 8i and 9i releases are built with 2.9x versions of gcc, so you might have to downgrade gcc in order to get 8i running.
    -Antti

Maybe you are looking for

  • Learning Photoshop CS2 - Books, tutorials courses ?

    Hi everyone! I would firstly like to apologise if this topic has been covered in depth but i am desperately looking for the right book/s as a Christmas present to ensure that my girlfriend learns Photoshop CS2 with ease. I have some experience in Pho

  • To Access AME for iProcurement, does the user needs to be set up as a buyer ?

    Hello, We are on Oracle R12.1.3. We are switching on the Approval Management Engine (AME) for iProcurement and Purchasing. we are about to assign the AME responsibilities "Approvals Management Administrator" and "Approvals Management Business Analyst

  • Loosing the Internet.

    Hi, I had a wired network and my Router(Model WRT54G2  with firmware v. 1.0.03) worked fine for a long time until I recently bought and setup Wireless HP Office Jet Printer. After that my Network starts experience problem losing the Internet connecti

  • HT1918 Impact of Apple ID Change on iTunes Account Balance-Transfer

    If I change my Apple ID (email address change) will an existing iTunes Store account balance be transferred to the new Apple ID?I

  • I believe I found an import bug in LR 5.4

    I believe I've uncovered an import bug in Lightroom 5.4 under Mavericks.  I noticed a folder with 19 photos and videos, but LR was only showing 18.  So I tried synchronizing the folder, and still only 18 were found.  So, in the import screen I unchec