ORA-29273: HTTP request failed ORA-12535: TNS:operation timed out
SQL*Plus: Release 11.2.0.3.0
Solaris 10 SPARC
Hi,
I get the following error when trying to make an HTTP request. Below is the snippet of code I run. I get the error after exactly 60 seconds(default timeout?). I searched through the forums and found many similar errors but nothing that helped me resolve this issue. The problem does not exist in the rest of our environments, only our test environment.
Help is greatly appreciated. Thanks.
DECLARE
p_mid_tier VARCHAR2 (500);
responsestr VARCHAR2 (500);
BEGIN
SELECT *****
INTO p_mid_tier
FROM *****
WHERE profile_type = '*****';
UTL_HTTP.set_wallet ('file://$ORACLE_HOME/network/admin/wallets');
UTL_HTTP.set_transfer_timeout (6000);
UTL_HTTP.set_response_error_check (TRUE);
responsestr :=
UTL_HTTP.request (
UTL_URL.ESCAPE (p_mid_tier || '*****'));
DBMS_OUTPUT.put_line (responsestr);
END;
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1722
ORA-12535: TNS:operation timed out
ORA-06512: at line 15
1001371 wrote:
SQL*Plus: Release 11.2.0.3.0
Solaris 10 SPARC
Hi,
I get the following error when trying to make an HTTP request. Below is the snippet of code I run. I get the error after exactly 60 seconds(default timeout?). I searched through the forums and found many similar errors but nothing that helped me resolve this issue. The problem does not exist in the rest of our environments, only our test environment.
Help is greatly appreciated. Thanks.
DECLARE
p_mid_tier VARCHAR2 (500);
responsestr VARCHAR2 (500);
BEGIN
SELECT *****
INTO p_mid_tier
FROM *****
WHERE profile_type = '*****';
UTL_HTTP.set_wallet ('file://$ORACLE_HOME/network/admin/wallets');
UTL_HTTP.set_transfer_timeout (6000);
UTL_HTTP.set_response_error_check (TRUE);
responsestr :=
UTL_HTTP.request (
UTL_URL.ESCAPE (p_mid_tier || '*****'));
DBMS_OUTPUT.put_line (responsestr);
END;
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1722
ORA-12535: TNS:operation timed out
ORA-06512: at line 15
the most frequent cause for TIMEOUT is a FireWall on or between client & server.
when was last time this worked without error?
what changed since then?
Similar Messages
-
I am trying to call a web service using apex_web_service.make_request function.
It works fine when all the parameters are correct. However, when something is wrong in the request XML, it throws an exception instead of returning the soap:fault message:
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1369
ORA-29269: HTTP server error 500 - Internal Server Error
ORA-06512: at "APEX_040200.WWV_FLOW_WEBSERVICES_API", line 130
ORA-06512: at line 37
I need to get back the soap:fault and parse it to display a proper error message to the users (e.g. what was wrong with the input), yet the call throws an exception instead of returning it.
I am trying the exact same request from soapUI and it returns me the soap:fault below:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Body>
<soap:Fault>
<soap:Code>
<soap:Value>soap:Receiver</soap:Value>
</soap:Code>
<soap:Reason>
<soap:Text xml:lang="en">Fault occurred while processing.</soap:Text>
</soap:Reason>
<soap:Detail>
<ns1:RegisterFault xmlns:ns1="http://www.exchangenetwork.net/wsdl/register/1">
<description xmlns:ns2="http://www.exchangenetwork.net/wsdl/register/1">The security token has expired.</description>
<errorCode xsi:type="ns2:RegisterErrorCode" xmlns:ns2="http://www.exchangenetwork.net/wsdl/register/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">E_TokenExpired</errorCode>
</ns1:RegisterFault>
</soap:Detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
How do I get this back from APEX?
Thanks!Hi,
I've just run into this.
If the webservice returns a fault, such as:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>INVALID_REQUESTER_INFO</faultstring></soap:Fault></soap:Body></soap:Envelope>
then the user gets presented with an unfriendly error message and there's no chance to output a more friendly one.
The response above is seen when testing the webservice, when run from the Form/Report page, we get something like:
soap:ServerINVALID_REQUESTER_INFO
Contact your application administrator.
OK
When OK button is clicked everything is rolled back and we don't even get the fault XML.
It would be good if Apex could be optionally set to not give the unfriendly messages, so that we could code such a message ourselves.
Unless anybody has a workaround for this, I guess that I'll have to see if I can code this in PLSQL.
Regards,
Chris -
ORA-12535: TNS:operation timed out on a win2000 Oracle instance
Hi,
i have a Oracle 8.1.5 instance on a WIN2000 PC.
I can connect me to this database with sqlplus
as long i stay on the PC (means i started the sqlplus
on the same machine).
When i try to connect from an other (unix-)system
i get after a while (ca. 90 sec.) the error:
ORA-12535: TNS:operation timed out
tnsping works fine (answer comes back in one second)
There are no firewalls or other "strange" things between
the database and the failing client (on an other PC,
also win2000, Oracle 8.1.5 everything works fine).
Below you see the log with debug of the listener.
I have also a trace on level SUPPORT but this is more
than 1000 lines for just 1 or 2 TNSPINGs and one SQLPLUS
connect. Due to this volume i decided not to attach it to
this initial mail.
Does any one have some advice or experiences ?
Please advice.
Best regards,
[email protected]
======================================================================
TNSLSNR for 32-bit Windows: Version 8.1.5.0.0 - Production on 19-APR-01 09:07:26
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Die System-Parameterdatei ist D:\Oracle81\network\admin\listener.ora
Log-Meldungen wurden geschrieben in: D:\Oracle81\network\log\listener.log
Listen auf: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=driller-nb)(PORT=1521))(PROTOCOL_STACK=(PRESENTATION=TTC)(SESSION=NS)))
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
19-APR-01 09:07:28 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=mdriller))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=135286784)) * status * 0
19-APR-01 09:08:04 * service_register * MDR50 * 0
19-APR-01 09:08:11 * trc_level * 0
19-APR-01 09:08:16 * trc_level * 0
---------------- BEGIN TNSLSNR DEBUG ---------------------
*** ENDPOINT #1 **
Name:
Address: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=driller-nb)(PORT=1521))(PROTOCOL_STACK=(PRESENTATION=TTC)(SESSION=NS)))
Presentation: ttc
Session: NS
Info = <none>
Display: <none>
Load: 0
Handler ID = 80FFE377148D-41F8-AAC2-09A8BD4BE682
Oracle SID = <none>
Flags:
** INSTANCE #1 **
INSTANCE_NAME: MDR50
SERVICE_NAMEs: MDR50
INSTANCE LOAD: 0
INSTANCE ID: 4CC2FCDA6819-40D2-839D-F1628CC0BCA2
FLAGS: LOCAL
VERSION: 81500
NUM. HANDLERS: 2
Handler Matrix: (NS):
tcp nmp spx raw ipc beq lu62 tcps ANY
ttc 0 0 0 0 0 0 0 0 0
giop 0 0 0 0 0 0 0 0 0
http 0 0 0 0 0 0 0 0 0
ro 0 0 0 0 0 0 0 0 0
ANY 0 0 0 0 0 0 0 0 2
Handler Matrix: (RAW):
tcp nmp spx raw ipc beq lu62 tcps ANY
ttc 0 0 0 0 0 0 0 0 0
giop 0 0 0 0 0 0 0 0 0
http 0 0 0 0 0 0 0 0 0
ro 0 0 0 0 0 0 0 0 0
ANY 0 0 0 0 0 0 0 0 0
SERVICE HANDLERS:
Name: DEDICATED
Address: (ADDRESS=(PROTOCOL=beq)(PROGRAM=oracle)(ENVS=)(ARGV0=oracleMDR50)(ARGS='(LOCAL=NO)'))
Presentation: <none>
Session: <none>
Info = LOCAL SERVER
Display: DEDICATED SERVER
Load: 0
Handler ID = 83CB008C17A3-4E48-94DA-2765A62AAD7E
Oracle SID = <none>
Flags: BEQUEATH
Name: DEDICATED
Address: (ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleMDR50)(ARGS='(DESCRIPTION=(LOCAL=no)(ADDRESS=(PROTOCOL=BEQ)))'))
Presentation: <none>
Session: NS
Info = LOCAL SERVER
Display: DEDICATED SERVER
Load: 0
Handler ID = D9E0EC298D16-40FA-935F-7B989D139666
Oracle SID = MDR50
Flags: BEQUEATH CONNECTED DYNAMIC
** INSTANCE #2 **
INSTANCE_NAME: PLSExtProc
SERVICE_NAMEs: PLSExtProc
INSTANCE LOAD: 0
INSTANCE ID: 000000000000-0000-0000-000000000000
FLAGS: LOCAL
NUM. HANDLERS: 1
Handler Matrix: (NS):
tcp nmp spx raw ipc beq lu62 tcps ANY
ttc 0 0 0 0 0 0 0 0 0
giop 0 0 0 0 0 0 0 0 0
http 0 0 0 0 0 0 0 0 0
ro 0 0 0 0 0 0 0 0 0
ANY 0 0 0 0 0 0 0 0 1
Handler Matrix: (RAW):
tcp nmp spx raw ipc beq lu62 tcps ANY
ttc 0 0 0 0 0 0 0 0 0
giop 0 0 0 0 0 0 0 0 0
http 0 0 0 0 0 0 0 0 0
ro 0 0 0 0 0 0 0 0 0
ANY 0 0 0 0 0 0 0 0 0
SERVICE HANDLERS:
Name: DEDICATED
Address: (ADDRESS=(PROTOCOL=beq)(PROGRAM=extproc)(ENVS=)(ARGV0=extprocPLSExtProc)(ARGS='(LOCAL=NO)'))
Presentation: <none>
Session: <none>
Info = LOCAL SERVER
Display: DEDICATED SERVER
Load: 0
Handler ID = 56D4DAD11082-4097-992C-AF7F8067D858
Oracle SID = <none>
Flags: BEQUEATH
---------------- END TNSLSNR DEBUG ---------------------
19-APR-01 09:08:28 * debug * 0
19-APR-01 09:08:41 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=mdriller))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=135286784)) * status * 0
19-APR-01 09:09:57 * ping * 0
19-APR-01 09:10:16 * (CONNECT_DATA=(SID=MDR50)(CID=(PROGRAM=)(HOST=slarti)(USER=mdriller))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.34)(PORT=55678)) * establish * MDR50 * 0
19-APR-01 09:14:39 * trc_level * 0
19-APR-01 09:14:58 * trc_level * 0
19-APR-01 09:15:06 * trc_level * 0
19-APR-01 09:16:16 * trc_level * 0
19-APR-01 09:16:20 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=mdriller))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=135286784)) * status * 0
19-APR-01 09:16:33 * trc_level * 0
19-APR-01 09:17:09 * ping * 0
19-APR-01 09:17:51 * (CONNECT_DATA=(SID=MDR50)(CID=(PROGRAM=)(HOST=slarti)(USER=mdriller))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.34)(PORT=55695)) * establish * MDR50 * 0
19-APR-01 09:18:06 * MDR50 * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.34)(PORT=55695)) * service_update * MDR50 * 0
19-APR-01 09:23:33 * (CONNECT_DATA=(SID=MDR50)(CID=(PROGRAM=)(HOST=deep-thought)(USER=mdriller))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.22)(PORT=42006)) * establish * MDR50 * 0
19-APR-01 09:28:09 * MDR50 * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.22)(PORT=42006)) * service_update * MDR50 * 0
19-APR-01 09:28:25 * ping * 0
nullRather than
MyDB.10gXE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = MYSERVER)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
why not go with the bulk standard tnsnames entry as follows:-
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = MYSERVER)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
I don't think the qualified MyDB.10gXE name is adding any value and may well confuse things.
Although setting it for my environment does work
C:\Documents and Settings\mtownsen.ST-USERS>tnsping myDB.10gXE
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-NOV-2
005 18:06:48
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = mtownsen
-lap.us.oracle.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_
NAME = XE)))
OK (40 msec)
OK - when I use your entry pasted directly from the above, with my server name, I get the following problem:-
C:\Documents and Settings\mtownsen.ST-USERS>tnsping myDB.10gXE
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-NOV-2
005 18:07:43
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION =
TNS-12533: TNS:illegal ADDRESS parameters
I added back some spaces, as indicated by the . below, and it works fine
MyDB.10gXE =
(DESCRIPTION =
.(ADDRESS = (PROTOCOL = TCP)(HOST = mtownsen-lap.us.oracle.com)(PORT = 1521))
.(CONNECT_DATA =
.(SERVER = DEDICATED)
.(SERVICE_NAME = XE)
.) -
TNS-12535: TNS:operation timed out with ORA-609
Hi All,
In 11gR2 Database on Linux ,I am getting the below error for one client only -
This is a c++ application which is accessing database from different linux machines with Oracle Client installed on each machine(OCI).
C++ application is working fine from all linux machines except the one which in mentioned in the below alert log error.
But from this client I can connect to the database using sql*client -
The Error is
====================================
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.3.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
Time: 07-AUG-2013 18:19:51
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=xx.xx.xxx.55)(PORT=57181))
Wed Aug 07 18:22:02 2013
piodr aborting process unknown ospid (29122) as a result of ORA-609
Port Number in client address is keep changing.
====================================
C++ application captures below error messages on client -
Error - ORA-03135: connection lost con
Error - ORA-12636: Packet send failed
=======================================
I have tried to increase the
SQLNET.INBOUND_CONNECT_TIMEOUT and
Listener.ora: INBOUND_CONNECT_TIMEOUT_listener_name
But it is not working.
I have also tried the steps mentioned in the document id Doc ID 119706.1 and Doc ID 1116960.1 but no luck.
Please suggest any other things that I can check.
Thanks,
Abhijitplease, refer to:
https://forums.oracle.com/thread/2434970 -
UTL_HTTP & ORA-12535: TNS:operation timed out
Hi ,
I have written the following piece of code to validate if the Web Service is accessible using UTL_HTTP. If I schedule this procedure from Unix (as a cron job) OR try the modified version through Oracle Portal
I get intermittent Timeout errors (Exception - -12535-ORA-12535: TNS:operation timed out).
However if I schedule the same package as a dbms_job it always seems to work fine.
Does anyone have any idea as to what/where the problem could be?
create or replace procedure abc
as
v_ret varchar2(4000);
begin
SELECT UTL_HTTP.Request('https://some_external_url', NULL,'correct_wallet_path', 'correct_wallet_password') into v_ret FROM dual;
end;
Edited by: ricky90897 on Oct 9, 2008 5:37 AMIt looks like you won't be able to test web service calls on apex.oracle.com. see this WebService on apex.oracle.com
Edited by: tfa on Mar 18, 2013 9:59 AM -
Urgent help please : ORA-12535: TNS:operation timed out
Hi,
We have 3 jobs scheduled at 6am accesing the same procedure.
2 jobs are succesful when one job is failing with this error always for more than 3 weeks at same time
ORA-12535: TNS:operation timed out
The same job is executed fine at the other times.
Can this be a failure due to a job conflict.
2 jobs which pass are purging.
The job which is failing is a select statement
Please help usthere is no sqlnet.log in the server the error came
But there is sqlnet.ora from the other opponent server where
Fatal NI connect error 12535, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=equinox-ia.nat.bt.com)(Port=1541))(CONNECT_DATA=(SID=iap)(CID=(PROGRAM=oracle)(HOST=dygkr01)(USER=webman))))
VERSION INFORMATION:
TNS for HPUX: Version 9.2.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for HPUX: Version 9.2.0.7.0 - Production
TCP/IP NT Protocol Adapter for HPUX: Version 9.2.0.7.0 - Production
Time: 28-JAN-2009 15:29:30
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 238
nt OS err code: 0
Fatal NI connect error 12535, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=equinox-ia.nat.bt.com)(Port=1541))(CONNECT_DATA=(SID=iap)(CID=(PROGRAM=oracle)(HOST=dygkr01)(USER=webman))))
VERSION INFORMATION:
TNS for HPUX: Version 9.2.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for HPUX: Version 9.2.0.7.0 - Production
TCP/IP NT Protocol Adapter for HPUX: Version 9.2.0.7.0 - Production
Time: 28-JAN-2009 15:30:46
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 238
nt OS err code: 0
nt secondary err code: 238
nt OS err code: 0
nt secondary err code: 238
nt OS err code: 0
nt secondary err code: 238
nt OS err code: 0
DBTIDY will cleanup log in 1 days from 28/01/09
Fatal NI connect error 12535, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=equinox-ia.nat.bt.com)(Port=1541))(CONNECT_DATA=(SID=iap)(CID=(PROGRAM=oracle)(HOST=dygkr01)(USER=webman))))
VERSION INFORMATION:
TNS for HPUX: Version 9.2.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for HPUX: Version 9.2.0.7.0 - Production
TCP/IP NT Protocol Adapter for HPUX: Version 9.2.0.7.0 - Production
Time: 29-JAN-2009 09:05:39
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 238
nt OS err code: 0
Fatal NI connect error 12535, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=equinox-ia.nat.bt.com)(Port=1541))(CONNECT_DATA=(SID=iap)(CID=(PROGRAM=oracle)(HOST=dygkr01)(USER=webman))))
VERSION INFORMATION:
TNS for HPUX: Version 9.2.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for HPUX: Version 9.2.0.7.0 - Production
TCP/IP NT Protocol Adapter for HPUX: Version 9.2.0.7.0 - Production
Time: 29-JAN-2009 09:06:55
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 238
nt OS err code: 0 -
"ORA-12535:TNS:operation timed out" error
hi,
I want to connect to my oracle server.If I try to connect my client means"ORA-12535:TNS:operation timed out" error is shown.What should i do to the rectify this problem.Pls give me a solution.
Thanks in advance.
-reg
Lakshman.We are using wiondows XP and oracle 8i.
I am able to ping the host where the database resides.
this problem occurs only when we try to connect this server form the client.I able to connect other servers without any problem.
I able to establish local connections.
I am trying tnsping database service.
client and the server are in same LAN only.
Pls give me a solution.
Thanks in advance.
-regs,
Lakshman. -
ORA-12535: TNS:operation timed out (during DBLINK testing)
Hi,
I have created a database link using the follwoing script :
create database link UIIODS.WORLD
connect to <user_id>
identified by <pwd>
using '(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 147.147.3.41)(PORT = 1552))
(CONNECT_DATA =
(SERVICE_NAME = uiiods)
But when I am executing the sql : select * from [email protected]
it gives the error : ORA-12535: TNS:operation timed out.
I am trying to create the database link from a 9.2.0.5 database server and sid of this service_name is R2SRVR5.world.
Please find below TNS,sqlnet and listener entries of the server R2SRVR5.WORLD :
R2SRVR5_DBSRC.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 157.227.6.39)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = R2SRVR5.WORLD)
UIIODS.PROD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 147.147.3.41)(PORT = 1552))
(CONNECT_DATA =
(SERVICE_NAME = uiiods)
# SQLNET.ORA Network Configuration File: C:\oracle\ora92\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# NAMES.DEFAULT_DOMAIN = tcskolkata.co.in
SQLNET.AUTHENTICATION_SERVICES= (NONE)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
# LISTENER.ORA Network Configuration File: C:\oracle\ora92\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = tcs061243)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora92)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = R2SRVR5.WORLD)
(ORACLE_HOME = C:\oracle\ora92)
(SID_NAME = R2SRVR5)
(SID_DESC =
(GLOBAL_DBNAME = dbsrc.world)
(ORACLE_HOME = C:\oracle\ora92)
(SID_NAME = dbsrc)
(SID_DESC =
(GLOBAL_DBNAME = NEWDBSRC.WORLD)
(ORACLE_HOME = C:\oracle\ora92)
(SID_NAME = NEWDBSRC)
PING and TNSPING working fine,but DBLINK is not working.
Please provide a solution.
Thanks in Advance,
KoushikHi,
Sorry for late response. Please find below the timing for TNSPING.
C:\>ping 147.147.3.41
Pinging 147.147.3.41 with 32 bytes of data:
Reply from 147.147.3.41: bytes=32 time=246ms TTL=247
Reply from 147.147.3.41: bytes=32 time=242ms TTL=247
Reply from 147.147.3.41: bytes=32 time=237ms TTL=247
Reply from 147.147.3.41: bytes=32 time=227ms TTL=247
Ping statistics for 147.147.3.41:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 227ms, Maximum = 246ms, Average = 238ms
C:\>tnsping 147.147.3.41
TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 29-DEC-2005 15:03:49
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
C:\Oracle10g_Home\network\admin\sqlnet.ora
Used EZCONNECT adapter to resolve the alias
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=147.147.3.41))(ADDRESS=(PROTOCOL=TCP)(HOST=147.147.3.41)(PORT=1521)))
OK (700 msec)
C:\>tnsping uiiods.prod
TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 29-DEC-2005 15:04:02
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
C:\Oracle10g_Home\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 147.147.3.41)(PORT = 1552))) (CONNECT_DATA = (SERVICE_NAME = uiiods)))
OK (580 msec)
Please suggest any solution.
Regards,
Koushik -
ORA-12535: TNS:operation timed out on other pc
After installing the XE edition on a server, I can connect fine on the server itsself. But when I try to connect from a client machine, I get ORA-12535: TNS:operation timed out.
My tnsnames on the client holds this string for the XE db:
MyDB.10gXE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = MYSERVER)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
any ideas???Rather than
MyDB.10gXE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = MYSERVER)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
why not go with the bulk standard tnsnames entry as follows:-
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = MYSERVER)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
I don't think the qualified MyDB.10gXE name is adding any value and may well confuse things.
Although setting it for my environment does work
C:\Documents and Settings\mtownsen.ST-USERS>tnsping myDB.10gXE
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-NOV-2
005 18:06:48
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = mtownsen
-lap.us.oracle.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_
NAME = XE)))
OK (40 msec)
OK - when I use your entry pasted directly from the above, with my server name, I get the following problem:-
C:\Documents and Settings\mtownsen.ST-USERS>tnsping myDB.10gXE
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-NOV-2
005 18:07:43
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION =
TNS-12533: TNS:illegal ADDRESS parameters
I added back some spaces, as indicated by the . below, and it works fine
MyDB.10gXE =
(DESCRIPTION =
.(ADDRESS = (PROTOCOL = TCP)(HOST = mtownsen-lap.us.oracle.com)(PORT = 1521))
.(CONNECT_DATA =
.(SERVER = DEDICATED)
.(SERVICE_NAME = XE)
.) -
ORA-12535 TNS:operation timed out from SQLPlus and Enterprise Manager Conso
I keep getting a ORA-12535 TNS:operation timed out error, when I try to start my Database.
I know its a timeout error, but I would like to know what is timing out and why. All I want is the database its self to run to allow me to connect to it via SQLPlus and JDBC.
Is there any information on what the following services do and which ones I need to have running to use the database.
Oracle OLAP 9.0.101
Oracle OLAP Agent
Oracle oraHome90Agent
Oracle oraHome90ClientCache
Oracle OraHome90PagingServer
OracleOra90SNMPPeerEncapsulator
OracleOra90SNMPPeerMasterAgent
OracleOra90STNSListener
Thanks for any help TonyEither reconfigure CONNECT_TIMEOUT to be 0, which means wait indefinitely, or reconfigure CONNECT_TIMEOUT to be some higher value. Or, if the timeout is unacceptably long, turn on tracing for further information.
If you have oracle metalink, then read the following note;
Note:119706.1 - Troubleshooting Guide TNS-12535 & ORA-12535 Errors -
I installed Oracle 9i (9.2.0.1.0) on a Windows XP machine (the machine is in a domain). There were no errors during the instalation, but I have problems connecting from the same machine using the sid. Here are some examples from a command promt:
D:\>tnsping orcl9i
TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 31-OCT-20
08 17:43:22
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = timisoara01)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl9i)))
TNS-12560: TNS:protocol adapter error
D:\>sqlplus "sys/pass@orcl9i as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 31 17:54:54 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-12535: TNS:operation timed out
Enter user-name:If I don't use the sid I can connect:
D:\>sqlplus "sys/pass as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 31 18:05:46 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL>If I go to services I see that the service is running: OracleServiceORCL9I Started.
Thx.Yes, the XP firewall is running. During the Oracle instalation it poped up twice, but I selected 'Unblock'. I can't turn it off because it is running using the domain settings, but I can add exceptions (programs or ports). Port 1521, tnsping or sqlplus are not blocked and there is an option 'Display a notification when Windows Firewall blocks a program' witch is checked.
-
We have an OLTP db server with oracle 11g(11.1.0.7) installed on Linux 64bit OS.
Client : Dotnet application running on win2003 server
oracle client version on webServer 9.2.0.4
Work load on system is
Avg Executions Per Sec 1273.35
Avg Executions Per Txn 42.1
Avg Response Time Per Txn (secs) .13
Avg User Transaction Per Sec 30.4
Avg Concurrent Sessions on server 350 processes 600
memory_target 13gb
we are experiencing "ORA-12535: TNS:operation timed out" while users access the application from webserver.per day around 200 errors.
To get rid of the above error we set SQLNET.INBOUND_CONNECT_TIMEOUT=0 in server side sqlnet.ora and
in Listener.ora inbound_connect_timeout=120 but of no use, even we observed for few days with inbound_connect_timeout=0.
There is Only one listener configured on server.
The similar set up with lesser workload working fine without any errors.
Please let me know your thoughts....
--Pandey
Edited by: user12204025 on Feb 10, 2010 8:14 AM
Edited by: user12204025 on Feb 12, 2010 2:52 PMBut I am seeing this errors in listener alert file.
<msg time='2010-02-15T15:55:37.734-06:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='hostname.domainname'
host_addr='127.0.0.1'>
<txt>15-FEB-2010 15:55:37 * 12502
</txt>
</msg>
<msg time='2010-02-15T15:55:37.734-06:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='hostname.domainname'
host_addr='127.0.0.1'>
<txt>TNS-12502: TNS:listener received no CONNECT_DATA from client
</txt>
</msg>
and in alert log file below entry...
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for Linux: Version 11.1.0.7.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
Time: 15-FEB-2010 02:46:21
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 110
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=gatewayip)(PORT=4804))
please let me know your thoughts..... -
DB Connect error: ORA-12535: TNS:operation timed out
Hi,
I am trying to connect to a external oracle database from SAP.
I entered the TNS entry of the external DB in the TNSNAMES.ORA and configured it in the table DBCON.
But i am not able to connect to the external database. It is throwing the error
"sql error 12.535 ; occured:ORA-12535: TNS:operation timed out"
But i was able to connect the database from my system through TNSPING and also from TOAD.
Do i need to configure any parameter in LISTENER.ORA in SAP or in the external database?Hi,
Thanks for the reply.
The note which you specified was with BI objects. But i am trying to connect from SAP R/3 to a remote Oracle database.
I got connected to the remote Oracle database for an hour and it got disconnected by saying "TNS operation timed out".
The CONNECT_TIMEOUT parameter in LISTERER.ORA of the remote Oracle database is missing.
Will this may be the cause for the "TNS operation timed out". -
Java.sql.SQLException: ORA-12535: TNS:operation timed out
Hello,
I am trying my first JDBC connection using a code sample called SingleConnection.
The code functions properly until an attempt to connect to the database (the main goal to the exercise, I know). I receive a java.sql.SQLException: ORA-12535: TNS:operation timed out error. The ConnectString is all good, and several different values have been tried. Any help would be appreciated.
Thanks,
JeffHello,
My problem is solved. It was a firewall issue.
Cheers,
Jeff -
TNS-12535: TNS:operation timed out on Vista SP1 OS
Hi everyone,
I am starting to play with Oracle DB recnetly..
today I have TNS connection failed issue.
When I tried to use ODBC to connect Oracle XE DB, I got ORA-12535: TNS:operation timed out.
Here is basic info:
OS:Vista SP1
Oracle Version:Oracle Database 10g Express Edition Release 10.2.0.1.0
I can connect Oracle DB by http://localhost:8080/apex and sqlpus.
and check - telnet ellen.test.net 1521, it is working.
I have no idea why my TNS connection got timeout issue.
Did someone encounter the same issue before?
Thanks for any input in advance.
C:\>tnsping XE
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 14-OCT-2
010 17:39:29
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ellen.test.net)(PORT = 1521))
(CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
TNS-12535: TNS:operation timed out
C:\>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 14-OCT-2010 21:41:49
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 14-OCT-2010 16:50:35
Uptime 0 days 4 hr. 51 min. 14 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\a
dmin\listener.ora
Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\l
og\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ellen.test.net)(POR
T=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=
HTTP)(Session=RAW))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "XE_XPT" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "xe" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
The command completed successfully
for Instance"xe", I don't understand why I also got this error. Is there some wrong setting?_
file content: sqlnet.ora
SQLNET.AUTHENTICATION_SERVICES = (NTS)
file content:tnsnames.ora
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ellen.test.net)(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)
file content: listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = ellen.test.net)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)Is it related?I can not say it is related with 100% certainty.
You can conclude I had a REALLY lucky guess or there is high correlation between VM & having TNS-12535 error.
It is your system & you are free to (ab)use it any way you choose to do so.
We both know SQL*Net can & does work as advertised, but requires a properly configured OS & Network underneath it.
Maybe you are looking for
-
Synchronisation two computers with one ipod?!
Hi @All! I have two computers (mac and win) and want my itunes songs on both machines. Actually the ipod works with the win computer. How can I get the songs from the ipod to the mac? How can I transfer/sync these songs over the ipod on both systems.
-
User Exit/ BADI during creation of vendor master
Dear Friends, During creation of vendormaster if the with holding tax is maintained then PAN no. field should be made mandatory. So far I know this can't done through standard field selection of vendor master. So this is to be done through BADI/User
-
To run iTunes in 64-bit mode, select the iTunes application in the Finder, choose the "Get Info" command in the File menu, and uncheck the "Open in 32-bit mode" checkbox in the iTunes Info window. but i doesn't have the tick thing plus i redownloaded
-
Using a 74HC74N to create a the display for the hours in a 12 hour clock
Hello all, I have been working on implementing a digital clock in Multisim and am nearly complete. I am currently having trouble making the hundredths count from 0-9 and then 0-2 and then resetting after 2. For the hundredths place I am using a 74HC1
-
T60 went to bed and never woke up
Firstly, I apologize for posting this. I'm sure it's been answered, but I couldn't find exact symptoms searching here. Machine in question, T60 type 2637-D06 Shut it down last night, as normal. Left plugged in as I usually do. Woke this morning, the