Time Out Connection to Database
Dears,,
I am trying to connect to the database through Toad or Sql but it gave me the following error:
ORA-12170: TNS:Connect timeout occurred
Also, ifd i tried to log in the database UNIX server through Putty ,it gave me the following error
Network error:Connection Timeout
Please,help
Thanks & Regards,,
log onto AIX DB Server system as OS user "oracle" then do as below
id
env | sort
sqlplus
/ as sysdba
startup
select * from v$version;
exit
COPY commands above & results then PASTE all back here
what changed since post below?
Failed Connection to database from Putty . . .
Edited by: sb92075 on Mar 13, 2011 3:55 PM
Similar Messages
-
Time out connection in the classes12.zip
Hello,
How can I change the time out connection to my database in Java ? I use the JDBC thin driver (classes12.zip) to connect to an 8.1.6 standard Oracle edition on an NT Server.
I tested a network problem connection removing the network cable and then my application waits 20 minutes to raise an exception.
Thanks
Guillaume FaconYou need to set a tcpip timeout at the os level. Oracle jdbc does not support timeouts.
-
FTP adapter time out connection
Hello,
I'm trying to send a file with a receiver ftp comunication channel and I obtain the following log in the runtime workbench monitor:
Time Stamp Status Description
2008-05-08 18:41:51 Success Message successfully received by messaging system. Profile: XI URL: http://gestsapxid:50000/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER
2008-05-08 18:41:51 Success Using connection AFW. Trying to put the message into the receive queue.
2008-05-08 18:41:51 Success Message successfully put into the queue.
2008-05-08 18:41:51 Success The message was successfully retrieved from the receive queue.
2008-05-08 18:41:51 Success The message status set to DLNG.
2008-05-08 18:41:51 Success Delivering to channel: FILE_OCHOA_RECEIVER_FTP
2008-05-08 18:41:51 Success File adapter receiver: processing started; QoS required: ExactlyOnce
2008-05-08 18:41:51 Success File adapter receiver channel FILE_OCHOA_RECEIVER_FTP: start processing: party " ", service "ESMAR_OCHOA"
2008-05-08 18:41:51 Success Connect to FTP server "NNN.NNN.NNN.NNN", directory "/ochoaesmar"
2008-05-08 18:41:51 Success Write to FTP server "NNN.NNN.NNN.NNN", directory "/ochoaesmar", file "ochoa20080508_0000000006166839"
2008-05-08 18:41:51 Success Transfer: "TXT" mode, size 412 bytes, character encoding UTF-8
2008-05-08 18:42:12 Error Attempt to process file failed with Connection timed out: connect
2008-05-08 18:42:12 Error Delivery of the message to the application using connection AFW failed, due to: Connection timed out: connect.
2008-05-08 18:42:12 Error Exception caught by adapter framework: Connection timed out: connect
2008-05-08 18:42:12 Success The asynchronous message was successfully scheduled to be delivered at Thu May 08 18:47:12 CEST 2008.
2008-05-08 18:42:12 Success The message status set to WAIT.
I have tested to put a file (with the same FTP parameters) from the promt of the xi server operating system and all works fine. can someone help me to find why the time out connection happens?.
Thank you very much
Alberto.I have tested in the xi server: run->cmd->ping nnn.nnn.nnn.nnn and I don't reach the ftp server but if I test in the xi server: run->cmd->ftp nnn.nnn.nnn.nnn and introduce the user and password then I log in without problem and I can put the file in the remote directory.
If you see in the log above:
2008-05-08 18:41:51 Success Connect to FTP server "NNN.NNN.NNN.NNN", directory "/ochoaesmar"
2008-05-08 18:41:51 Success Write to FTP server "NNN.NNN.NNN.NNN", directory "/ochoaesmar", file "ochoa20080508_0000000006166839"
2008-05-08 18:41:51 Success Transfer: "TXT" mode, size 412 bytes, character encoding UTF-8
2008-05-08 18:42:12 Error Attempt to process file failed with Connection timed out: connect
the first 3 steps are ok. If the ftp was down or if credentials was wrong other error will be generated.
Thank you very much.
Alberto -
HT1338 Why do I get so many "time out" connection problems?
I keep getting "time out" connection problems when I am on computer. I am also experiencing a lot of "spinning wheeling" issues. Are they related?
Hi Garima,
These are the three I use and I get 1 or 2 updates a day on most days....why?
Best regards,
Haye Kesteloo
ServiceSpider, LLC
100 Mill Plain Road
Danbury, CT 06811
Cell: +1 203 522 6727
www.servicespider.com -
I get error time out connection
i want to upgrade my ipad 1 software (i have 4.2.1 version and i want to upgrade it to a next version, as Itunes store suggests me every time i open it) but after the usual time of 13 minutes upgrade, i get this error: time out connection, contact your provider or control your connection (but it does function elsewhere)
how can i solve it? (excuse my bad english)For me it worked when I switched the virus protection off while doing the installation. After you run the installation you then switch the virus protection back on.
Hope it works for you too! -
Having trouble connecting to Internet with my MacBook Air. It can be fine for a few hours thins goes off and all I get it the message couldn't connect due to time out error connection. It can't be my broadband because I don't have the same problem with my other devices. Is my mac air breaking down?
looks like this is your network connection settings problem, you'd better only keep one network adaptor online and linked, if you do not understand how to setup windows routing, this is completely not firefox problem. buddy. wish you goodluck.
-
I have installed Itunes and I have tried to switch genius on but every time i try it, it tells me i have a connection time out when I am sending my results to Apple . Does anybody know of what i am doing wrong and how i fix it. Thanks
I've had this same time-out problem since the Genius feature was new. I have a large iTunes library and tried everything in the book. Nothing worked.
The solution that I found in another thread on this exact topic was to bypass the router if you have one and connect your modem directly to you computer.
I had an Airport Extreme (g and n) and now have a Time Capsule. So something with those devices was preventing me from turning on the Genius feature. If this solution works for you and you have an Airport Extreme, let the folks at Apple know via their feedback form.
http://www.apple.com/feedback/timecapsule.html
http://www.apple.com/feedback/airportextreme.html -
Soap Reciver Time out connection
hai,
iam doing idoc to soap. iam send the data from sap side this data is going xi server but problem is reciver side is connection time out. iam check the monitoring in sxmb_moni the status is block flag status is successful going to xi server and xiserver sending to receiver system the receiver is connection is time out iam providing the reciver url and user name and pwd.
plz help me any this is very urgent.After checking in sxmb_adm even when i send the data iam getting the same error.
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.RecoverableException: Connection timed out: connect: java.net.ConnectException: Connection timed out: connect</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
plz help me out . -
Connection time out, connection time out
i've got a mac mini in my living room wich is hooked up to a modem and one wich is standing in my bedroom.
When i try to connect my bedroom mini by wifi it wil tell me: "connection time out" and i haven't got a clue on how to resolve this.
please help, thnx in advance!
i haven't got an external wifi transmitter if that might be of interestAre you trying to share the Internet connection from one Mac mini to the other? That is, the mini in the living room that is connected to the Internet modem by Ethernet to share this Internet connection via the mini's AirPort card to the mini in the bedroom ... correct?
If so, approximately how far away from each other are the minis and how many walls, ceilings, floors, etc. are between them? -
Socket mostly times out, connection refused.
Hello,
I am writing my own version of dc-hub in Java. This is my first networking program I make.
The main class has a ServerSocket running on port 411 and it will then make another socket when someone connects. Although at the moment 198 users are connected, it seems that the server mostly gives a time out when you try to connect. It's not a firewall problem, because I get them (localhost) as well. The server also runs on localhost.
This is the code:
ServerSocket serverSock = new ServerSocket(411);while(true) { Socket sock = serverSock.accept(); new ConnectorThread(sock,P,U);}
I really have no clue why I and a lot of other users get time outs...
I'll post the results from the client program (DC++):
[17:39] *** Connection refused by target machine
[17:39] *** Connecting to localhost...
[17:39] *** Connection refused by target machine
[17:39] *** Connecting to localhost...
[17:40] *** Connection refused by target machine
[17:40] *** Connecting to localhost...
[17:40] *** Connected
[17:40] <Hub-Security> Welcome to Tom's personal hubsoftware V1.0
Oh... yeah... I get Connection refused, while my friends are receiving "Connection time out..."
Again: It's not a firewall or router problem... I know that 100% sure...
I hope someone knows how to fix this problem, I've searched the forum without a result for my problem.
Thank you in advance,
TomI am running 1.4.2_05 on win2000
Client code
//{{{ Imports
import java.io.*;
import java.net.* ;
* This class provides access to the IOR String via HTTP protocol.
* Server accepts connection from anywhere
public class SockClient // extends Thread
// public static int HTTPIORPort = 2096;
// ServerSocket incommingSocket = null;
// private int SockTimeout = 5000; // 5 seconds
SockClient()
for (int i = 0 ; i < 40 ; i++)
try
new GetThread(i);
catch (Exception e)
System.out.println("Caught Exception:");
e.printStackTrace();
public static void main (String args[])
new SockClient();
class GetThread extends Thread
int gen;
GetThread(int i)
//setDaemon(true);
setDaemon(false);
gen = i;
start();
public void run()
int count = 69;
try
Socket socket = new Socket(InetAddress.getByName("localhost"), 2096);
//System.out.println("timeout="+ socket.getSoTimeout());
InputStream in = socket.getInputStream();
OutputStream out = socket.getOutputStream();
String get = "GET / HTTP/1.1\r\n\r\n";
out.write(get.getBytes());
byte[] buf = new byte[1024];
while (count > 0)
count = in.read(buf);
catch (Exception e)
System.out.println("Caught exception (g="+gen+"):("+count+")"+e.toString());
//e.printStackTrace();
}Server code:
* Handles HTTP requests
//{{{ Imports
import java.io.*;
import java.net.* ;
import java.util.* ;
* This class provides access to the IOR String via HTTP protocol.
* Server accepts connection from anywhere
public class SockServer // extends Thread
public static int HTTPIORPort = 2096;
ServerSocket incommingSocket = null;
private int sockTimeout = 5000; // 5 seconds
public static void main (String args[])
try
new SockServer();
catch (Exception e)
System.out.println("main: Exception"+e.toString());
SockServer() throws IOException
System.out.println("Thread running: HTTPListener");
Socket incommingRequest = null;
try
incommingSocket = new ServerSocket(HTTPIORPort);
System.out.println("Timeout set to "+incommingSocket.getSoTimeout());
//incommingSocket.setSoTimeout(sockTimeout); // 5 seconds
catch (Exception e)
System.out.println("Unable to start HTTP IOR Server");
System.exit(1);
// Ready to Accept connections
System.out.println("Started HTTPListener listening on "+HTTPIORPort);
while (true)
try
synchronized(incommingSocket)
incommingRequest = incommingSocket.accept();
handleRequest(incommingRequest);
catch (java.net.SocketTimeoutException to)
catch (Exception e)
System.out.println("Could not accept HTTP request: "+e.toString());
break;
// Close sockets
try
incommingRequest.close();
incommingSocket.close();
catch (Exception e) { }
System.out.println("Thread exit: HTTPListener");
void handleRequest(Socket ic)
System.out.println("Received HTTP IOR Request from: "+
ic.getInetAddress().getHostAddress()+":"+ic.getPort());
final Socket httpRequest = ic;
final String qmVersion = "1.0";
final BufferedReader inData ;
final OutputStream outData;
try
inData = new BufferedReader(new InputStreamReader(httpRequest.getInputStream()));
//PrintWriter outData = new PrintWriter(httpRequest.getOutputStream(), true);
//DataOutputStream outData = new DataOutputStream(httpRequest.getOutputStream());
outData = httpRequest.getOutputStream();
catch (Exception e)
System.out.println("Caught set up streams:" +e.toString());
return;
new Thread (null, null, "HTTPAnswerThread", 10 * 1024)
String page = null;
// Anonymous contructor
setDaemon(true);
start();
// Anonymous Thread to handle http request
public void run ()
String input = "starting";
try
// Ditch incoming header
while (input.length() != 0)
input = inData.readLine();
if (input == null)
System.out.println("input == null");
break;
page = "IOR:000000000000002349444C3A515F5175656E74696E2F515F496E7465726E616C506F7274616C3A312E300000000000020000000000000070000102000000000D31302E3136322E36332E3438000011690000001C5374616E64617264496D706C4E616D652F011147170A2C332E013928000000020000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000010000002C0000000000000001000000010000001C00000000000100010000000105010001000101090000000105010001";
// outData.print(getHeader(page.length()));
// outData.print(page);
// outData.writeBytes(getHeader(page.length()));
// outData.writeBytes(page);
//byte[] b = getHeader(page.length()).getBytes("ISO-8859-1");
byte[] b = stringToBytes(getHeader(page.length()));
outData.write(b);
outData.flush();
//byte[]
//b = page.getBytes("ISO-8859-1");
b = stringToBytes(page);
outData.write(b);
outData.flush();
outData.close();
inData.close();
httpRequest.close();
catch (Exception e)
System.out.println("Unhandled http request:");
e.printStackTrace();
byte[] stringToBytes(String s)
ByteArrayOutputStream os = new ByteArrayOutputStream();
try
DataOutputStream cob = new DataOutputStream(os);
cob.writeBytes(s);
cob.close();
catch(Exception e)
System.out.println("Caught unhandled exception:");
e.printStackTrace();
return os.toByteArray();
String getHeader(int len)
return
"HTTP/1.1 200 OK\r\n"+
"Date: "+ (new Date()).toString() + "\r\n"+
"Content-Type: text/plain\r\n"+
"Content-Length: "+ len +"\r\n"+
"Server: "+ qmVersion + "\r\n"+
"\r\n";
} -
Error - connection time out: connection
Hello colleagues,
I am implementing a scenario of HTTP-->SOAP sending an xml payload with Wfetch utility.
I get the following error in SXMB_MONI:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Connection timed out: connect</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Is it connected to the adapter framework definitions? Can someone help?
Thanks,
OdedAre you sure the mentioned SOAP url can be reached from XI AFW box? Can you take remote control over XI box and try a
telnet 192.117.169.234 80
That should go to blank screen on succesful connection. Is it so?
Also, try to do a complete cpa cache refresh with this URL and authenticate with the XIAFUSER:
http://host:port/CPACache/refresh?mode=full
And finally, have a look in the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bd5950ff-0701-0010-a5bc-86d45fd52283">troublshooting guide</a>, which might contain something useful (it's really well done).
Cheers,
Alexx -
Help, I am struggling to connect to Itunes, have turned off firewall, antivirus software, uninstalled and reinstalled Itunes (with apple technician), latest version of Itunes installed. Itunes will detect Iphone, Ipad and I pod, but can't sync. Network problem.
Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601)
Gigabyte Technology Co., Ltd. X58A-UD7
iTunes 10.6.1.7
QuickTime 7.7.2
FairPlay 1.14.37
Apple Application Support 2.1.7
iPod Updater Library 10.0d2
CD Driver 2.2.0.1
CD Driver DLL 2.1.1.1
Apple Mobile Device 5.1.1.4
Apple Mobile Device Driver 1.59.0.0
Bonjour 3.0.0.10 (333.10)
Gracenote SDK 1.9.5.502
Gracenote MusicID 1.9.5.115
Gracenote Submit 1.9.5.143
Gracenote DSP 1.9.5.45
iTunes Serial Number 0032A7440DB807F8
Current user is an administrator.
The current local date and time is 2012-05-19 19:20:07.
iTunes is not running in safe mode.
WebKit accelerated compositing is enabled.
HDCP is supported.
Core Media is supported.
Video Display Information
ATI Technologies Inc., ATI Radeon HD 5700 Series
**** External Plug-ins Information ****
No external plug-ins installed.
iPodService 10.6.1.7 (x64) is currently running.
iTunesHelper 10.6.1.7 is currently running.
Apple Mobile Device service 3.3.0.0 is currently running.
**** Network Connectivity Tests ****
Network Adapter Information
Adapter Name: {9FDFCEC3-1D9B-470B-9373-D62378D3FDF0}
Description: Realtek PCIe GBE Family Controller #2
IP Address: 124.190.90.178
Subnet Mask: 255.255.248.0
Default Gateway: 124.190.88.1
DHCP Enabled: Yes
DHCP Server: 172.18.51.155
Lease Obtained: Sat May 19 18:26:51 2012
Lease Expires: Sun May 20 14:40:01 2012
DNS Servers: 61.9.134.49
61.9.133.193
Adapter Name: {3FCC83C9-27D4-403A-9E58-6B9D5ED32F8E}
Description: Realtek PCIe GBE Family Controller
IP Address: 0.0.0.0
Subnet Mask: 0.0.0.0
Default Gateway: 0.0.0.0
DHCP Enabled: Yes
DHCP Server:
Lease Obtained: Thu Jan 01 11:00:00 1970
Lease Expires: Thu Jan 01 11:00:00 1970
DNS Servers:
Active Connection: LAN Connection
Connected: Yes
Online: Yes
Using Modem: No
Using LAN: Yes
Using Proxy: No
Firewall Information
Windows Firewall is off.
Connection attempt to Apple web site was unsuccessful.
The network connection timed out.
Basic connection to the store failed.
The network connection timed out.
Connection attempt to Gracenote server was successful.
The network connection timed out.
iTunes has never successfully accessed the iTunes Store.Can you connect to internet with your browser at all?
Try these entries in command prompt (Run as Administrator for Win7/Vista) one at a time.
ipconfig /release
then
ipconfig /renew
restart computer
ipconfig /flushdns
totally shut down computer then restart.
netsh winsock reset all
restart computer
Now test your iTunes again. If that does not work, uninstall your Antivirus program and test again. -
Time-out Connection Problem MBP.
I just received a MacBook Pro. I went to try to connect to my wifi but it wont connect, it keeps saying Connection Timeout. All my other devices are working fine, so i dont know what the problem is. Could anyone help me on how to fix this.
The warranty entitles you to complimentary phone support for the first 90 days of ownership.
If you bought the product in the U.S. directly from Apple (not from a reseller), you have 14 days from the date of delivery in which to exchange or return it for a refund. In other countries, the return policy may be different. If you bought from a reseller, its return policy applies. -
I PAd Software Update
Disable your firewall and antivirus software, restart your iPad, quit iTunes, restart your computer and then try to update again.
-
JDBC connection to Oracle 10g RAC periodically times out
I've been banging my head against the wall for months now and can't figure out why this is and what's causing it.
We have 6x CF8 servers in our environment. 3 of which work perfectly and the other 3 have the following problem. All 6 machines were installed at the same time and followed the exact same installation plan.
When I configure Oracle RAC data source, some of the machines time-out connecting to Oracle from time-to-time.
Config:
Solaris 9 on both CF and Oracle
CF8 Enterprise with the latest updater.
Apache 2 (not that it's relevant)
6 machines, load-balanced (not clustered), identical install and configuration.
data source config:
JDBC URL: jdbc:macromedia:oracle://10.0.0.3:1521;serviceName=dbname.ourdomain.com;AlternateServers= (10.0.0.4:1521);LoadBalancing=true
DRIVER CLASS: macromedia.jdbc.MacromediaDriver
The problem:
Every few minutes, CF starts hanging requests that deal with a specific RAC only data source. After about 30 seconds, all requests bail and generate this error in cfserver.log:
A non-SQL error occurred while requesting a connection from dbsource.
Timed out trying to establish connection
This happens with any RAC data source on the "bad" servers while the "good" servers don't have this problem. The "bad" server doesn't have any problems with direct (non-rac) Oracle data source.
Already tried:
Moving server connections around on a switch (rulling out bad switch port)
Copying driver from the healthy server (but it's the same installer anyway)
Changed from RAC to normal Oracle type data source - works perfectly. So at the moment I have 3 servers connecting to a specific oracle instance and the other 3 connecting to RAC.
Tried googling and searching forums and even Oracle metalink - nothing I could see relevant to this.
It's a shame that after spending a ton of money on CF8 upgrades and Oracle RAC, we can't really utilize fail-over on the database connection.
Any takers?
Thanks,
HenryI have the following in my CLASSPATH:
C:\Ora10g1\product\10.2.0\db_1\jdbc\lib\jdbc.jar;
C:\Ora10g1\product\10.2.0\db_1\jdbc\lib\ojdbc14.jar;
C:\Ora10g1\product\10.2.0\db_1\jlib\jndi.jar;
C:\Ora10g1\product\10.2.0\db_1\jlib\orai18n.jar;
Still 'Cannot find type 'oracle.jdbc.pool.OracleDataSource'
Thanks
Maybe you are looking for
-
Solution Import Error without message
Hey Guys, i have got troubles importing a default-solution (CRM 2013). The import procceds up to about 80% and fails. The strange thing is that the import diaolog does not contain any error-message-row as usual. If you look at the import-log you can
-
Makes a hash converting to .doc or .rtf
what's the point in exporting to .doc or .rtf if there is no fidelity to buzzword original?
-
DTW, Unkonwn error 1005!65171
Dear all, I have UDO which contain 2 UDT ( Master and Master Row ) I try to DTW the UDO , but always fail. I generate the template by using Template->Customise Template->Select Object->User Defined Data->UDO-> My UDO Name After that i fill my data an
-
My itunes does not display correctly, here is what it looks like - http://koeltzow.googlepages.com/itunes I have reinstalled itunes twice with two different versions and reinstalled my video drivers, and I still get the same results. Can anyone think
-
Where do I find the exercise files
I am trying to learn Edge Animate. It is telling me to open the pin.an file in Chapter 3? Where are these lessons located?