Occasionally got ORA-12545 error
I have 2-node Oracle 10g RAC set up. From a remote client, i run my sample program to retrieve scott.emp data. Occasionally i got ORA-12545 connection error. Using cpp app and Perl DBI app for tested it. And I got the same problem.
./mysample
Environment and Connection created
Result Set:
7369 SMITH CLERK 7902 17-DEC-80 800 0 20
7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
7566 JONES MANAGER 7839 02-APR-81 2975 0 20
7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30
7698 BLAKE MANAGER 7839 01-MAY-81 2850 0 30
7782 CLARK MANAGER 7839 09-JUN-81 2450 0 10
7788 SCOTT ANALYST 7566 19-APR-87 3000 0 20
7839 KING PRESIDENT 0 17-NOV-81 5000 0 10
7844 TURNER SALESMAN 7698 08-SEP-81 1500 0 30
7876 ADAMS CLERK 7788 23-MAY-87 1100 0 20
7900 JAMES CLERK 7698 03-DEC-81 950 0 30
7902 FORD ANALYST 7566 03-DEC-81 3000 0 20
7934 MILLER CLERK 7782 23-JAN-82 2300 0 10
Environment and Connection terminated
./mysample
Aborted
./select.pl
DBI connect('lot','scott',...) failed: ORA-12545: Connect failed because target host or object does not exist (DBD ERROR: OCIServerAttach) at ./select.pl line 6
Here is the sqlnet.log:
Fatal NI connect error 12545, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=XXXXXXXX)(PORT=1521))(LOAD_BALANC
VERSION INFORMATION:
TNS for Linux: Version 10.1.0.2.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 10.1.0.2.0 - Production
Time: 15-NOV-2004 10:30:22
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
Anyone knows what went wrong?
thanks,
qicheng
I have same problem :-( When I try to connect from client station, but when Im connecting from one of nodes it is OK :-(
Ales
Similar Messages
-
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 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. -
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 -
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 -
ORA-12545 error in rac, local&remote listener
Hi,
We have an 10g Release 2 RAC system. We usually take
ORA-12545 Connect failed because target host or object does not exist tips
error message. I think tnsnames.ora file is correct, I can achieve to send tnsping message. And I think the host file is alaso correct, I am successful to send ping message to the ip in the host file. And we are noticed that cpu utilization of one RAC node is very bad. Do you that these two problem can be related? I searched the error message on internet. I think this link is interesting:
http://www.ardentperf.com/2007/04/02/local_listener-and-ora-12545/
But I do not fully understand the article. Because I do not know the local&remote listeners.
Can you help me?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.While logged onto the target system issue the following commands:
lsnrctl status
lsnrctl service
CUT commands & results and PASTE back here
Generate another error & then CUT the last 20 - 30 records from listener.log & PASTE back here -
I have a problem connecting to the host.
I am able to ping successfully to the server.
When I execute tnsping from the client machine, the operation runs successfully.
TNS Ping Utility for 32-bit Windows: Version 2.3.2.1.0 - Production on 21-JUN-01 10:45:50
Copyright , 1996(c) Oracle Corporation 1995. All rights reserved.
Attempting to contact (ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(Host=150.140.130.35)(Port=1521))
OK (50 msec)
However when I use SQL Plus or Forms Application to connect to this database, I get the following error :
SQL> connect armada/armada@orants
ERROR: ORA-12545: TNS:name lookup failure
My TNSnames extract for this database is as follows :
orants.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = 150.140.130.35)
(Port = 1521)
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = 150.140.130.35)
(Port = 1526)
(CONNECT_DATA = (SID = ORANTS)
A quick reply will be appreciated.Hi
Just thought I'd tell the list that I had to add
disable_oob = on
to the client sqlnet.ora and it worked like a charm.
Try this
Good Luck
r@m@ -
ORA-12545 error in deploy server
Hi
In my development environment, we are having a Domain per application and each
domain will have one AdminServer and one DeployServer. Admin Server will be used
by administrator and DeployServer will be used by developers. All the user developed
application will be deployed in deploy server.
I wrote a small jsp which connects to database and retrieves some data. I've
used type-2 driver for this purpose. This jps works fine in AdminServer but do
not work in DeployServer. It throws the following error
java.sql.SQLException: Error while trying to retrieve text for error ORA-12545
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:1597)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:354)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:246)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at jsp_servlet._jsp.__bachu1._jspService(__bachu1.java:95)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:304)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2456)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
But if I use thin driver then I works fine in both the servers.
I am using SunSolaris 2.8, Weblogic 6.1. Also I have added classes12.zip in the
begining of the CLASSPATH to avoid the oracle 8.1.6 and 8.1.7 conflict.
Please advise me why this error is coming and how to solve the problem.
Thanks & Regards,
Kiran BachuHi Kiran,
Your oracle client on the managed server has not been
set up properly. Make sure you have identical tnsnames.ora
files both on Admin and managed servers.
Regards,
Slava Imeshev
"Kiran Bachu" <[email protected]> wrote in message
news:[email protected]...
>
Hi
In my development environment, we are having a Domain per application andeach
domain will have one AdminServer and one DeployServer. Admin Server willbe used
by administrator and DeployServer will be used by developers. All theuser developed
application will be deployed in deploy server.
I wrote a small jsp which connects to database and retrieves some data.I've
used type-2 driver for this purpose. This jps works fine in AdminServerbut do
not work in DeployServer. It throws the following error
java.sql.SQLException: Error while trying to retrieve text for errorORA-12545
>
atoracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:1597)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:354)
atoracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:246)
atoracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at jsp_servlet._jsp.__bachu1._jspService(__bachu1.java:95)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:265)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:304)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:200)
atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2456)
atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
But if I use thin driver then I works fine in both the servers.
I am using SunSolaris 2.8, Weblogic 6.1. Also I have added classes12.zipin the
begining of the CLASSPATH to avoid the oracle 8.1.6 and 8.1.7 conflict.
Please advise me why this error is coming and how to solve the problem.
Thanks & Regards,
Kiran Bachu -
Oracle 10gr2 rac, ora-12545 error when configured in shared server mode
Hi i have fresh installation on two node rac on linux, with oracle 10gr2. It is running successfully, when i configure it in shared server mode and try to connect from client it gives error ora_12545:
I have referred the oracle metalink notes and configured the local_listener as well as the remote_listener,
still it is giving the error. I am able to tnsping all the entries on tnsnames.ora,
i m also able to ping the hostnames,
It connects most of the times succeessfully but some times it gives the error.
how to solve this problem,
please help meBasically this error means you misspelled the hostname or typed a wrong IP Address.
Oracle Error :: TNS-12545+
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.
I suggest you to check the dispatcher instance parameter.
~ Madrid
http://hrivera99.blogspot.com -
Hi, every body, I got ORA-28000 error account locked.
Hi, team and fellow(s);
I got an error that my account is locked, i try my best but do not understand what to do to upon my account to connect database I mean to Oracle SQL Developer.
Would some body help me please.
I.A.Bangash
([email protected])I got an error that my account is locked, i try my best but do not understand what to do to upon my account to connect database I mean to Oracle SQL Developer.
Sql Developer doesn't 'lock' accounts, the database does.
Connect as a user with DBA privileges and issue an ALTER statement to unlock the account. For example for HR use:
alter user hr account unlock; -
Dear All,
I have changed the PWD file on oracle 9.2.04 under linux redhat advance server 2.1. but when i start to open database by issuing dbstart, i get
ORA-01990: Error opening password file '/home/oracle/OraHome1/dbs/orapw'
ORA-27037: unable to obtain file status
Linux Error: 2 : no such file or directory
additional information: 3
How to solve the problems?
thanks and regard
ERHai all...
I did it all..
but still I got
ORA-01990: Error opening password file '/home/oracle/OraHome1/dbs/orapw'
ORA-27037: unable to obtain file status
Linux Error: 2 : no such file or directory
additional information: 3
Help me...
Thanks
regard
ER -
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 -
Hi,
I got ora-00023 error during sqlloader.
OS version AIX 5.3.11
DB version 10.2.0.3
Thanks,What are you doing with SQLLOADER? May we know?
regards -
I got ORA-02270 Error when tried to add foreign key on a detail table:
CREATE TABLE supplier
( supplier_id numeric(10) not null,
supplier_name varchar2(50) not null,
contact_name varchar2(50) ,
insertedate date not null,
CONSTRAINT supplier_pk PRIMARY KEY (supplier_id, insertedate );
CREATE TABLE sub_supplier
( supplier_id numeric(10) not null,
sub_supplier_id numeric(10) not null,
insertedate date not null,
other_details varchar2(10),
CONSTRAINT product_pk (supplier_id , sub_supplier_id, insertedate )
CONSTRAINT fk_supplier FOREIGN KEY (supplier_id)
REFERENCES supplier (supplier_id)
insertedate is actual system timestamp. I don't think it can be used as a reference.
Any idea how can I resolve this error?
Thank you.What is insertedate in sub_supplier? Not null, and part of another constraint.
ORA-02270: no matching unique or primary key for this column-list
Cause: A REFERENCES clause in a CREATE/ALTER TABLE statement gives a column-list
for which there is no matching unique or primary key constraint in the referenced table.
Action: Find the correct column names using the ALL_CONS_COLUMNS catalog view -
Hi,
i have created a new procedure to import a file on the machine to the database BLOB object. the procedure ran succesfully in the SQL prompt. In the Oracle forms builder, I created a new button and on the WHEN_BUTTON_PRESSED PL/SQL logic, i pasted the same procedure. But I got ORA-00439 error while running the form and clicked on the button. Could anyone of you help me out? Is that something to do with any restrictions on Forms?
Below is the code that i used in the PL/SQL logic of WHEN_BUTTON_PRESSED event.
declare
src_file BFILE; -- source file
dst_file BLOB; -- designation file
lgh_file BINARY_INTEGER; -- file length
pdname VARCHAR2(255) := '/appl/pce/d1/eai/informatica/Temp/';
pfname VARCHAR2(255) := 'router.cfg';
file_readonly CONSTANT BINARY_INTEGER := 0;
BEGIN
src_file := bfilename('RNDVPVOUS', pfname);
-- insert a NULL record to lock
INSERT INTO temp1
(name, file_1)
VALUES
(pdname, EMPTY_BLOB())
RETURNING file_1 INTO dst_file;
-- lock record
SELECT file_1
INTO dst_file
FROM temp1
WHERE name = pdname
FOR UPDATE;
-- Open the file
dbms_lob.fileopen(src_file, file_readonly);
-- Determine length
lgh_file := dbms_lob.getlength(src_file);
-- read the file
dbms_lob.loadfromfile(dst_file, src_file, lgh_file);
-- Update the blob field
UPDATE temp1
SET file_1 = dst_file
WHERE name = pdname;
commit;
-- Close file
dbms_lob.fileclose(src_file);
END load_file;
I'm also sending the version details of Forms Builder below.
Forms [32 Bit] Version 6.0.8.18.3 (Production)
Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.6.0 - Production
Oracle Toolkit Version 6.0.8.18.0 (Production)
PL/SQL Version 8.0.6.3.0 (Production)
Oracle Procedure Builder V6.0.8.17.0 Build #863 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 6.0.7.1.0 - Production
Oracle Virtual Graphics System Version 6.0.5.38.0 (Production)
Oracle Tools GUI Utilities Version 6.0.5.32.0 (Production)
Oracle Multimedia Version 6.0.8.18.1 (Production)
Oracle Tools Integration Version 6.0.8.17.0 (Production)
Oracle Tools Common Area Version 6.0.5.32.1
Oracle CORE Version 4.0.6.0.0 - Production
Please help me out in this regard as I have an urgent release this weekend.
Cheers
SarmaThank you very much. This problem is now solved as I have used FORMS_DDL to execute the procedure from database and not from Forms. But could anyone of you tell me if we can have a link in Forms for BLOB object, where if there is a word document in the database BLOB object, by clicking on that link, that document should open in word. Similarly if there is an image file in the BLOB object, then clicking on that link in Forms should open it some Image processing software which that OS has. Is this really possible? Please let me know. If we update the contents of the document opened, they should get reflected in the database BLOB object. Is this really a HERCULIAN task?
Maybe you are looking for
-
Migration from PowerMac G5 to new Thunderbolt only MacBook Air
The loss of FireWire never bothered me until I encountered this problem: I can't use FireWire or USB to bring data (like an iTunes library) out of a PowerMac G5 into a non-FireWire MacBook Air. I remember somewhere that it's possible to run FireWire
-
Can I boot and install Tiger on a G4 running 9.2.2 from an external DVD
I have a Power Mac G4 (PCI Graphics) computer running OS 9.2.2. Firmware version I believe is 3.2.8. I purchased OS X Tiger DVD. I do not have a DVD drive on this Mac. I cannot seem to start up the Power Mac in Target mode via firewire. When I checke
-
Decimate.vi doesn't work for me
Hello, I am using two NI9237-modules and a NI9219 in a NIcDAQ-9174 chasis. The NI9237's are used to measure strains and the NI9219 is used for currents. I want to measure both with a frequence of 100 Hz. I already know that the min sample rate of the
-
After update ,itunes cant play video
hi ,every body! , i ve got a problem & deffinitely need help with. The problem: After i install update , itune crashes when i click play video does anyone have the sa
-
my database function; f_yetki (username in varchar2,depono in number) return number and i use this function in obiee; EVALUATE('F_YETKI(%1,%2)' AS FLOAT ,USER(), "Stok Hareketleri"."Depo No") [nQSError: 42015] Cannot function ship the following expre