Oracle RM failing to connect: ORA-12545
Hi,
I am trying to run my application which uses Oracle client 8.0.6 on NCR MPRAS.
I am connecting to DB version. 8.1.7 running on Solaris box
Following are working fine for me which means there is no problem with TNSNAMES.ORA:
1) TNSPING
2) SQLPLUS
3) Applications using embedded SQL calls
But my recent application which uses the Resource Manager ORACLE_XA is failing at xa_open call. It give the error ora-12545.
Am I missing something here? Please help.
Vikram
I don't know Crystal Reports and what it sends to and requests from the database, but that's the formal description of this error:
Error: ORA 8001
Text: maximum number of sequences per session exceeded
Cause: An operation requested a resource that was unavailable.
The maximum number of user sequences per session is specified by the
initialization parameter DC_SEQUENCES.
When this maximum is reached, no more requests are processed.
Action: Try the operation again in a few minutes.
If this error occurs often, shut down Oracle, increase the
DC_SEQUENCES parameter in the initialization parameter file, and
restart Oracle.
Similar Messages
-
Can't connect (ORA-12545)
When I run servlet(Application server is Websphere,and it is in the same machine with Oracle 8.1.7/ifs1.1), it can not get LibrarySession.Verbose error message is:
oracle.ifs.common.IfsException: IFS-10620: Unable to construct connection pool
oracle.ifs.common.IfsException: IFS-10633: Unable to create library connection
oracle.ifs.common.IfsException: IFS-10600: Unable to construct library connectio
n
java.sql.SQLException: Error while trying to retrieve text for error ORA-12545
If I run in command line(terminal of the machine), it has no problem.
I have set LD_LIBRARY_PATH env variable in WebSphere and all set all required classpath in WebSphere. Any thing is missing?
My code is:
LibraryService ifsService = new LibraryService();
CleartextCredential me = new CleartextCredential("system",
"manager");
ConnectOptions connectOpts = new ConnectOptions();
connectOpts.setServiceName("IfsDefault");
connectOpts.setServicePassword("ifssys");
System.out.println("after setservicepassword: "
+ (System.currentTimeMillis() - startTime) + "\n");
session = ifsService.connect(me,connectOpts);
System.out.println("Connect done: "
+ (System.currentTimeMillis() - startTime) + "\n");
It throws IfsException in ifsService.connect.
Thanks,
Dinggang
nullHi,
Please search tnsnames.ora file in your computer. I hope you can find two copy of it. if so please make sure the tns name parameters are correct in both file.
hope you can solve this problem,
Jagal ([email protected]) -
Existing client (Oracle 8) fail to connect to its server after installed
After installed Oracle 10g XE, my existing client does not work.
I checked its tnsnames.ora, it's still there and the content didn't get changed.
If I uninstall the 10g XE, the existing client works again.
What should I do to avoid this?I have the following configuration:
OS: Windows 2000 Professional in spanish language
ram=512 MB
Oracle databases: Oracle 8i 8.1.7 on HP-UX servers
Number of databases: 2
Number of instances: 6 (production, test and developers)
transport: TCP
1. Before install Oracle 10g XE:
Oracle Developer 6.0,in C:\ORANT, in english language
- Oracle Forms 32-bit (6.0.35.3)
- Oracle Reports 32-bits (6.0.5.35)
PATH=C:\C:\ORANT\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
TNSNAMES.ORA in C:\ORANT\NET80\ADMIN points to the enterprise databases in my company
Registry: HKLM\Software\Oracle\Oracle_home=C:\ORANT
2. After Installed Oracle 10g XE (beta 1)
the path now is:
path=C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\ORANT\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
The web interface of XE works oK
the C:\oraclexe\app\oracle\product\10.2.0\server\BIN\sqlplus.exe can connect to Oracle 10g XE but NOT to the enterprises databases.
but now, all tools from Oracle Developer (Forms, Reports, PLUS80W.EXE) and third party tools like SQLTools, DreamCoder) cann't connect to the enterprise databases
neither to Oracle 10g XE.
In the registry, the ORACLE_HOME says C:\ORANT
Solution:
1. Modified the path so c:\orant is before the path to XE so:
path=C:\ORANT\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
2. Copy from C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN\tnsnames.ora,
the lines:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = mycomputer.domainname.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
and copied into C:\ORANT\NET80\ADMIN\TNSNAMES.ORA as
XE.world =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = mycomputer)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
and Now:
1.The Developer tools third party tools can connect to the enterprise databases.
2.The develper tools and third party tools can connect to Oracle 10g XE
3.C:\oraclexe\app\oracle\product\10.2.0\server\BIN\sqlplus.exe can connect to Oracle 10g XE
Bye
Alvaro Alonso_G
OCP
Bogota, Colombia (South America) -
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 -
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
BilalHi;
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 -
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. -
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. -
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). -
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 BhatiaWhat 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 -
Error Could not connect to the database - ora-12545: tns:name lookup failure
Hi,
I am a tech at a failing company. Unfortuneatly some users still need ADI installed and working with very limited resources to troubleshoot oracle. I am getting the error - ( Could not connect to the database - ora-12545: tns:name lookup failure )when the user tries to log on to ADI. Any suggestions? I would really appreciate it. We are on Windows NT on an NT network. Oracle 8.05 client installed and ADI 6.0.
Thanks, MaryCopy the tnsname.ora file from Oracle Database serve onto the client PC.
Path: %Oracle_home%\net80\admin\
Send me a mail if there is any other issues
Regards
Oluseyi Funmi Oduberu
Oracle Consultant
Email:[email protected]
Hi,
I am a tech at a failing company. Unfortuneatly some users still need ADI installed and working with very limited resources to troubleshoot oracle. I am getting the error - ( Could not connect to the database - ora-12545: tns:name lookup failure )when the user tries to log on to ADI. Any suggestions? I would really appreciate it. We are on Windows NT on an NT network. Oracle 8.05 client installed and ADI 6.0.
Thanks, Mary
Maybe you are looking for
-
I can't seem to get the swipe listener in my flex mobile project to recognize a multitouch swipe. I have tested this on an iPad and a Galaxy tab. I can get multitouch working, because pinching is recognized, but swipes are only recognized when I only
-
My contact list has disappeared. how do I restore it from a past backup?
My contact list on my iPod touch just disappeared today... for no reason that I can figure out. No other apps seem to have been affected. I tried sync-ing to my computer, but that didn't change anything. I would like to find out if I can get ahold of
-
Problem in oracle form3.0(plz reply soon)
i m getting following error in oracle form 3.0 after trying to generate executable corresponding to .inp thru form designer Error is as follows--> PL/SQL error 356 at line 18, column 6: 'BANKACC' must name a table to which the user has access SQL Sta
-
The Cable Closet Contest: How Messy is your Cabling?
Unfortunately I don't have the time or space to put time into this, but this is a great resurrection of an old contest. May the best (worst) closet win.
-
All: Recently completed the drill of upgrading to a new primary work computer, using all of the latest technology: Windows 7, Intel I7 processor, 6 gigs ram, you get the idea. Part of the upgrade was to Adobe Acrobat Pro Extended. It took about 1.