ORA-12545: Connect failed
Hi,
I have configured Standby database for our 11.5.10.2 instance using Doc: 216212.1
Now, after completing all the steps, when I am trying to connect to apps schema from application tier it give me below error
SQL*Plus: Release 8.0.6.0.0 - Production on Tue Feb 8 10:41:47 2011
(c) Copyright 1999 Oracle Corporation. All rights reserved.
ERROR:
ORA-12545: Connect failed because target host or object does not existPlease suggest
Regards
Bilal
Hi;
What is Db version?
Please check below notes:
Troubleshooting ORA-12545 / TNS-12545 Connect failed because target host or object does not exist [ID 12545.1]
Troubleshooting ORA-12545 / TNS-12545 Connect failed because target host or object does not exist [ID 553328.1]
Regard
Helios
Similar Messages
-
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.
RobertHi 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 -
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
Lucienothi,
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
FarooqHi,
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,
Kiransuggestions
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 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,
Vinod910575 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:connect failed because target host or object not exist
Dear DBA's
I am getting this error message when i want to connect oracle by using internet explorer browser.
ORA-12545:connect failed because target host or object not exist
I already started services: oracleservicesSID,OracleOraDb10g_home1TSNListener,
and OracleOraDb10g_home1HTTPServeryou should try to startup the Enterprise manager console.
emctl start dbconsole
regards -
Oracle8i ora-12545: connect failed because target or object does not exist
I am trying to get a Oracle8i database working on a Windows 2000
platform for use on a single computer. I created the database
using the Database Configuration Assistant. But cannot access
it. I try and connect through SQLPlus but receive the following
error: ora-12545: connect failed because target or object does
not exist. Any ideas?I think ur not configured or installed directory server..
Do this then it will work fine. -
ORA-12545 : Connect failed because target host or object does not
hi all ,
i have very rare problem .i have a RAC setup working on linux and all client machines connected to it .we are using client/server software .there is not firewall,all the clients and the servers are in static ip .there is only one client machine having problem connecting to the server it sometimes takes it and sometimes it does not and gives this error .
i did all the test i know .ping ,tnsping dbname it all works fine and i am able to ping that db server.i have check the tnsnames.ora files all are correct.
how should i troubleshoot this . there is no hardware problems also ...
can you guys tell me how to enable tracing to trouble shoot this rare problemTry to check listener.log file.
-
Ora:12545 connect failed bcoz target host or object does not exist
hi
I am facing strage issue with oracle 11g R2 (11.2.0.1) RAC it is installed pefactly
I have configured scan.
and i am able to see the output for the srvctl status for scan
# ./srvctl status listener
Listener LISTENER is enabled
Listener LISTENER is running on node(s): jkvatdb1,jkvatdb2
# ./srvctl status scan_listener
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is running on node jkvatdb2
SCAN Listener LISTENER_SCAN2 is enabled
SCAN listener LISTENER_SCAN2 is running on node jkvatdb1
SCAN Listener LISTENER_SCAN3 is enabled
SCAN listener LISTENER_SCAN3 is running on node jkvatdb1
$ lsnrctl service LISTENER_SCAN1
LSNRCTL for HPUX: Version 11.2.0.1.0 - Production on 26-DEC-2010 20:41:34
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
Services Summary...
Service "jkvatdb" has 2 instance(s).
Instance "jkvatdb1", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:13 refused:0 state:ready
REMOTE SERVER
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=jkvatdb1-vip)(PORT=1521)))
Instance "jkvatdb2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:7 refused:0 state:ready
REMOTE SERVER
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=jkvatdb2-vip)(PORT=1521)))
Service "jkvatdbXDB" has 2 instance(s).
Instance "jkvatdb1", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:2046 state:ready
DISPATCHER <machine: jkvatdb1, pid: 4259>
(ADDRESS=(PROTOCOL=tcp)(HOST=jkvatdb1)(PORT=49754))
Instance "jkvatdb2", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:2046 state:ready
DISPATCHER <machine: jkvatdb2, pid: 4167>
(ADDRESS=(PROTOCOL=tcp)(HOST=jkvatdb2)(PORT=49709))
The command completed successfully
$
from server i can get connect to the database and sqlplus fine
from client i can get tnsping but not able to connect to thru sqlplus or any third party tool.
My client version is 10g release 1
please help me to short out this.
Thanks
ShefaliYour client do not "see" server actually.Does from client ping <server> or tnsping servicename commands work?
-
TNS-12545: Connect failed because target host or object does not exist
Hi all, I have a bit of a problem, I have gone thru the posts and tried out suggestions but it didn't work. When i type in
LSNRCTL> services
I get this error:
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mattlek2)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.1.162.8)(PORT=1521)))
TNS-01189: The listener could not authenticate the user
When I type in : LSNRCTL> start
I get this:
Starting tnslsnr: please wait...
TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production
System parameter file is C:\oracle\product\10.1.0\Db_2\network\admin\listener.ora
Log messages written to C:\oracle\product\10.1.0\Db_2\network\log\listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mattlek2.ifactory.co.za)(PORT=1521)))
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.1.162.8)(PORT=1521)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
32-bit Windows Error: 49: Unknown error
This is my tnsnames.ora file:
# tnsnames.ora Network Configuration File: C:\oracle\product\10.1.0\Db_2\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
GPGWL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.162.8)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = GPGWL)
ORCL_LIVE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 196.36.116.218)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORCL)
APPS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 196.36.116.219)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = VIS)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
EXEL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.162.8)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = idev)
EXEL_IDEV =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.162.8)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = idev)
This is my listener.ora file:
# listener.ora Network Configuration File: C:\oracle\product\10.1.0\Db_2\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = GPGWL)
(ORACLE_HOME = C:\oracle\product\10.1.0\Db_2)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = mattlek2)(PORT = 1521))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.162.8)(PORT = 1521))
Any help would be greatly appreciated.
Thank youjust check the string key it should be
key=extproc_for_xe
Try -
TNS-12545: Connect failed because target host or object
We are getting this error when we are connecting to a remote database. We are getting the following error. In the tnsnames we have mentioned procotcol as TCP and also we have mentioned the IP name of the remote database server but in the log it is showing something else. Please help
Fatal NI connect error 12545, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/oracle/product/9.2.0.5/bin/oracle)(ARGV0=oracleUAT)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=)(HOST=myhostname)(USER=uat))))
VERSION INFORMATION:
TNS for Solaris: Version 9.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for Solaris: Version 9.2.0.1.0 - Production
Time: 09-OCT-2004 17:56:50
Tracing not turned on.
Tns error struct:
nr err code: 0
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
Even the file specified does not exits. PROGRAM=/oracle/product/9.2.0.5/bin/oracle
We have installed oracle 9i client in the machine and trying to contact remote server. Both are in sun solaris machine SUN OS 5.8What is the output of:
tnsping <remote_tns_entry>Do you have TNS_ADMIN environment variable defined?
Do you have any other copies of tnsnames.ora file other than the default $ORACLE_HOME/network/admin?
Do you have more than one ORACLE_HOME created on the machine from where you are trying to connect? -
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,
Ben676d3153-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). -
Issues while connecting databases-ORA-12545!
hi,
We have new set of environments ,for which we have faced the firewall rule missing isssue and it gets resolved(able to telnet the ip address now).When we tried to connect those oracle databases(version 11.2.0.3),we are getting ORA-12545: Connect failed because target host or object does not exist error,i have added all the entiries in hostfile and tns file as well,but still i am getting the issue.can anyone assist to fix this issueError: ORA-12170 (ORA-12170)
Text: TNS:Connect timeout occurred
Cause: The server shut down because connection establishment with a
client failed to complete within the allotted time interval. This
may be a result of network/system delays; or this may indicate
that a malicious client is trying to cause a Denial of Service
attack on the server.
Action: If the error occurred because of a slow network/system,
reconfigure the SQLNET.INBOUND_CONNECT_TIMEOUT parameter in
sqlnet.ora to a larger value. If a malicious client is suspected,
use the address in sqlnet.log to identify the source and restrict
access. Note that logged addresses may not be reliable as they can
be forged (e.g. in TCP/IP).
///////////////////////////////////////////////////////////////////////// -
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 BhatiaDBCA 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.
Maybe you are looking for
-
[Pt-BR] Comprei um Macbook PRO e veio um Macbook
Desde que trabalho com informática, utilizo sistemas Linux e em algunscasos, Windows. Há pouco tempo, meu velho notebook deu problema equando resolvi comprar um novo, decidi ceder-me ao encanto da tãofalada qualidade dos produtos Apple. Assim o fiz e
-
Problem to establish good connection via ms sql jdbc on ms sql server expre
Hi , I had error below in testing connection on stand alone db server ms sql server 2005 express edition: Method=cursor; java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]End of stream was detected on a read. at com.microsoft.jdbc.bas
-
LabVIEW program for HP 4194A Impedance/Gain-Phase analyzer
Hi All, I was wondering if anyone has a labview program already written for a HP 4194A Impedance/Gain-Phase analyzer.This instrument measures the impedance,capacitance,dielectricloss etc as a function of frequency.The problem is I have to write down
-
Hi, I work on below version of oracle. SQL> select * from v$version; BANNER Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi PL/SQL Release 10.2.0.5.0 - Production CORE 10.2.0.5.0 Production TNS for IBM/AIX RISC System/6000: V
-
Weird issue (can't see all video after importing to FCP)
Dear board members! I have a number of files, which were digitized with FCP. Due to a high number of timecode breaks, they were digitized with "abort ETT/PTV on dropped frames" and "abort capture on dropped frames" checked off. Also "on timecode brea