Status Failure -lo exception:network adapter could not establish connection

Hi, installed SQL DEVELOPER today and its driving me mad... I am getting this error
Status Failure -lo exception:network adapter could not establish connection.
Basic tab I have all the right information, tried test gives same error...
hostname ajas
port 1521
sid altaf
TNS
Network alias altaf
connect identifier altaf(TRIED SINCE NETW ALIAS DIDNT WORK)
went to TNS tab and from the list selected the right entry for NETWORK ALIAS,tried test still same error... tested with connect identifier still same error...went to Advanced entered this string jdbc:oracle:thin:@ajas:1521:altaf ..... still same error...what the hell is wrong...here is the tnsnames.ora entry ...
ALTAF =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = AJAS)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = altaf)
by the way I am able to connect with sql*plus ... lsnrctl gives the lsnr so thats running... tnslsnr is also running...also installed the latest java sdk i.e 1.5... i have set new path to point to this new java.exe i.e 1.5 one... this is really crazy and havent see such probs in any tools i have ever used and that too using it in normal pc ... God knows what will happen if used for remote db's....
here is listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = AJAS)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora92)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = altaf)
(ORACLE_HOME = C:\oracle\ora92)
(SID_NAME = altaf)
no one seems to have answer for this... there are all kinds of strange replies for this problem.... anyone has solved this prob plz reply....
Message was edited by:
ajashadi

I've had the same problem when I installed the latest version of SQL developer (1.2.1.32.13) on a machine that still had an older, working version. My problem went away when I changed from an IP name to an IP address. on the connection setup window.

Similar Messages

  • Network Adapter could not establish connection during installation

    Hi,
    I'm trying to install html db v10.2.0.1 and http server on the Fedora Core 4 platform and am getting a "Network Adapter could not establish connection during installation" error. This occurs after pressing Next at on the Specify HTML DB Database Details dialog box. Note that I'm not new to oracle databases or html db. I can't seem to find a similar thread on this forum related to the html db v2 install and I've read the FAQ related to the installation, making sure that I unset the TNS_ADMIN and ORACLE_HOME environment variables before launching the installer. I also checked that I can connect to the database via the listener, sqlplus sys@database as sysdba. I checked the listener status:
    [oracle@hinault ~]$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 18-AUG-2005 12:03:23
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 18-AUG-2005 08:11:25
    Uptime 0 days 3 hr. 51 min. 58 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File /u01/app/oracle/product/10.2.0/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hinault.com)(PORT=1521)))
    Services Summary...
    Service "tibbetts" has 1 instance(s).
    Instance "tibbetts", status READY, has 1 handler(s) for this service...
    Service "tibbettsXDB" has 1 instance(s).
    Instance "tibbetts", status READY, has 1 handler(s) for this service...
    Service "tibbetts_XPT" has 1 instance(s).
    Instance "tibbetts", status READY, has 1 handler(s) for this service...
    The command completed successfully
    I also checked the installation log files. Here's the contents of the end of the file:
    schemaName = sys
    schemaPassword = Protected value, not to be logged
    connectString = //hinault.com:1521/tibbetts
    userName = FLOWS_010600
    INFO: Query Returned: ERROR:Exception occured while connecting to database. Please check the connection details of the database you specified and retry.
    Io exception: The Network Adapter could not establish the connection
    SEVERE: The installer has encountered the following error while trying to connect to the target database:
    ERROR:Exception occured while connecting to database. Please check the connection details of the database you specified and retry.
    Io exception: The Network Adapter could not establish the connection
    INFO: User Selected: Yes/OK
    I also checked the listener log and it looks normal. I checked that I entered the correct values in the Specify HTML DB Database Details dialog box, hostname, port and service name.

    [root@hinault sbin]# ifconfig -a
    eth0 Link encap:Ethernet HWaddr 00:12:3F:DF:23:BF
    inet addr:10.100.41.136 Bcast:10.100.41.255 Mask:255.255.255.0
    inet6 addr: fe80::212:3fff:fedf:23bf/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:72238 errors:0 dropped:0 overruns:0 frame:0
    TX packets:44289 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:19151698 (18.2 MiB) TX bytes:4351417 (4.1 MiB)
    Interrupt:9
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:6838 errors:0 dropped:0 overruns:0 frame:0
    TX packets:6838 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:3168107 (3.0 MiB) TX bytes:3168107 (3.0 MiB)
    sit0 Link encap:IPv6-in-IPv4
    NOARP MTU:1480 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

  • Need help - The network adapter could not establish connection

    hi, I installed sql developer on my standalone PC. I am unable to create a connection. The following error is shown when try connecting:
    IO Exception: The network adapter could not establish connection.
    Should i set some Environment variable? Is there anything else i need to download/install?
    Please help...! I am new to this...

    user11937618 wrote:
    hi, I installed sql developer on my standalone PC. I am unable to create a connection. The following error is shown when try connecting:
    IO Exception: The network adapter could not establish connection.This means that the software being used, was unable to use your PC's networking to establish communication with the database server.
    You need to ask your network admin folk to check your PC and ensure that it is correctly configured for IP networking for your network - valid IP address, valid IP subnet mask, etc.
    You can look at your existing IP configuration in Windows by opening a command console and typing the command "+ipconfig+".
    Once that is done, you need to test connectivity between your PC and the database server. You need the IP address of the server for that and use the "+ping+" command to see if you get a ping echo response from the server.
    If you configure your Oracle client software (e.g. +%ORACLE_HOME%\network\admin\tnsnames.ora+ ) to use a hostname and not IP address, you need to make sure that your PC's IP stack can resolve that hostname into an IP address. Once again the "+ping+" command can be used, but this time using the hostname instead. The output will show the IP address the hostname resolved to.
    All these are basic networking issues - and have nothing really to do with Oracle itself. You first need to get the networking to work on your PC, before attempting to use Oracle client-server.

  • Probelm the network adapter could not establish connection

    Hi Everyone ,
    i installed the Sqldevelopr version 2.1.0.63 in windows vista , but when i start new connection its shows me error (network adapter could not establish connection)
    but it's work when i used sql plus , i tried many times but it shows me same error what should i do?.
    detailes for connection as bellows
    connection name=orcl
    username=scott
    sid=orcl
    port=1521
    Best Regards
    anwar

    You should post your question in [SQL Developer|http://forums.oracle.com/forums/forum.jspa?forumID=260] forum
    Edited by: Oleg Gorskin on 28.12.2009 6:21

  • Network adapter could not establish connection

    I get this error on WLS 6.1 SP2 and WLI 2.1 SP1. This is the scenario. I have
    two instances of Weblogic installed on the machine. I first start oracle then,
    I bring up the first server run an application and then shutdown the server.
    When I try to start the second server, I get this error when the server tries
    to make an Oracle database connection.

    I too an recieving an error when trying to connect to Oracle 8.1.5 with the thin drivers.
    Class Path - E:\Versata5CORBA\Jdk1.2.2;E:\Versata5.0\jdk117;E:\IBMDebug\lib\dertrjrt.jar;.;E:\SQLLIB\java\db2java.zip;E:\SQLLIB\java\runtime.zip;e:\pvsw\Tango2000\BeanHandler.jar;e:\pvsw\Tango2 000\java;E:\PVSW\Bin\pervasiveJDBC.jar;E:\PVSW\BIN\psql.jar;E:\PVSW\Bin\pvideoj.jar;d:\Kawa5.0\kawaclasses.zip;e:\jdk1.3\lib\tools.jar;e:\jdk1.3\jre\lib\rt.jar;e:\jdk1.3\jre\lib\i1 8n.jar;E:\Versata5CORBA\Jdk1.2.2\jre\lib\ext\classes111.zip
    java.sql.SQLException: The Network Adapter could not establish the connection
    at oracle.jdbc.dbaccess.DBError.check_error(DBError.java)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:177)
    at Employee.main(Employee.java:23)
    Exception in thread "main" Process Exit...
    I am using the example to test a connection.

  • The network adapter could not establish connection

    I encounter a strange problem:
    I use a java application compiled JDK1.3 to access Oracle 8.1.5 through JDBC driver class111.zip, everything is ok. But after I modify it to JSP and put this JSP into iPlanet Web Server to do same thing, the error message as title occur. Why?
    Your any hints or helps are highly appreciated. Thanks.

    i had quite the same pb:
    it was because when i was connecting to my db, i was using SQL plus and i didn't have to give the name of the machine, just user, pass and instance
    but with the driver i had to give the name of the machine,
    so check in Tnsnames.ora if you are giving the good machine name...
    i don't know if it helps...
    null

  • Network adapter could not establish a connect from external server

    hi,
    I've set up a jdbc thin driver properly using
    the following input:
    "jdbc:oracle:thin:@ipaddress:1521:DBname",
    "username", "password"
    When outside users try to connect externally (outside the network) there is a different ipaddress. Although they are able to ping,
    telnet, run jsp etc... using the external address, they get the following error when they try the thin driver connection:
    i/o exception: network adapter could not establish a connection
    They change the ipaddress in the connection string to match the external ip. We are using oracle 8i, JRun on Linux. I have a feeling it has something to do with the tnsnames.ora file but I can't be sure.
    Any ideas?
    Thanks in advance!

    this is expected behavior ...
    the jdbc thin driver requires the use of an ip address that the calling program has acces to ...
    internally you have one ip address exposed.
    apparently you have another ip address set up for the external customer.
    fyi
    jdbc thin driver don'ts use the tnsnames.ora file -- they use "host:port:sid" because they are required to be platform independent and not access local datafiles or environment variables on the execution platform.
    jdbc oci drivers do use tnsnames.ora which provides the host:port:sid info in their entries.

  • Failure-Io Exception:The network adapter could not establish the connection

    Hi,
    I am new to sql developer and need help regarding establishing connection in my PC.
    I gave the following details for establishing connection.
    Connection Name: DB
    Username: myDB
    passwd: xxxxx
    Role: Default
    Connection Type: Basic
    Host Name: localhost
    Port: 1521
    SID: xe
    When I tested the connection the following error occured:
    Failure -Io Exception: The network adapter could not establish the connection
    Please help me out.
    Thanks in advance.

    Some information showing:
    How to check if there is something listening on a machine/port (there are also port scanners like nmap)
    first a success: ctrl - ] typed in by me.
    $ telnet localhost 1521
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    ^]
    telnet> quit
    Connection closed.
    then a fail:
    $ telnet localhost 1522
    Trying 127.0.0.1...
    telnet: Unable to connect to remote host: Connection refused
    $
    Oracle also has tools to get the status of the 'listener' which is listening on the port, including database names for example 'lsnrctl stat' but it may have too many dependencies and privileges required to go into here.
    If you do not have XE, you can install it with very few restrictions.
    -Turloch

  • SQL Developer Connection Error: Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection

    Hi, I'm running the following setup:
    Mac OS X 10.8.4
    Virtual Box 4.2.16 r86992
    Oracle Developer Days (don't know the version, just downloaded it)
    SQL Developer 3.2.20.09
    Networking is host-only, I tried bridged but that doesn't make a difference for the problem at hand. I can ping my virtual box just fine, telnet to port 1521 looks good too:
    $ ping 192.168.56.101
    PING 192.168.56.101 (192.168.56.101): 56 data bytes
    64 bytes from 192.168.56.101: icmp_seq=0 ttl=64 time=0.449 ms
    ^C
    --- 192.168.56.101 ping statistics ---
    1 packets transmitted, 1 packets received, 0.0% packet loss
    round-trip min/avg/max/stddev = 0.449/0.449/0.449/0.000 ms
    $ telnet 192.168.56.101 1521
    Trying 192.168.56.101...
    Connected to 192.168.56.101.
    Escape character is '^]'.
    asdf
    asdf
    Connection closed by foreign host.
    When I create a new connection with sql developer, with the same hostname / IP (192.168.56.101), Port 1521 (didn't change that) and SID orcl, basic connection type, it can't even connect, throwing the error mentioned in the subject:
    Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
    I have looked at various threads in the forums here but I'm still stymied why the connection seems to be ok, yet sql developer has problems with it. If I create an ssh tunnel so sql developer only has to connect to localhost it works:
    ssh -L 1521:192.168.56.101:1521 -l oracle 192.168.56.101
    Message was edited by: 2a2e67cd-b5b2-4229-9fa6-21f5dfe0760d

    Hi Ali,
    This may be of varoius reasons..
    Is the database that you are connecting on the same PC?
    You have specified Hostname: localhost.
    If not please replace it with the IP of that server.
    Else please check whether the database listener is started or not. if not please start the listener.
    Check the SID by tnsping command.
    Hope this will help you..
    Thanks
    Ashok

  • Failure-lo exception:The network adapter could not establish the connection

    Hi All,
    any one can assist me .
    I installed latest SQL developer in my home laptop
    I am trying to connect using my SQL developer using my database UN and PW.
    It is giving the following error message
    Failure-lo exception:The network adapter could not establish the connection
    Thanks in advance.
    Regards,
    Veera Lenin

    THis error usually means there is no network path to the database host, or there is a firewall in the way.
    What details are you using in the connection definition?
    Where is the database - on the same machine or on another machine?

  • Failure -lo exception: The Network Adapter could not establish the connecti

    I get the following error when I attempt to connect:
    Failure -lo exception: The Network Adapter could not establish the connection
    I'm running 64-bit Windows XP Pro. Is that possibly an issue? I can ping the server. I am going to go now and install Oracle client software, to see whether I can tnsping and then connect from that.
    The remote listener is up and running. I did check that.
    What else might be the problem?

    Kris,
    I don't mind having to re-key connections between versions of Raptor, but if Raptor is going to save a connection that worked when I entered it, I expect that connection to work when I restart Raptor.
    If you can't save a connection with just the TNS Alias, at least save it as something that works - convert it to the basic format.
    Having said that - I would certainly prefer the connection to be saved as the TNS Alias if it could be. We have in the past had cases where we have modified the SID or Listener Port behind a TNS Alias to reduce downtimes during upgrades. With a centralised TNS Names file (which we have), there is only one place to update - if we are saving the full details behind the connection on every developer's PC, there is then a lot of additional places where the details need to be changed.

  • Io exception: The Network Adapter could not establish the connection

    Hi All,
    I run tomcat and connect to Oracle fine, both on the same machine.
    I also run some batch processes daily and they often run without problems. The batch processes lots of selects and updates/inserts onto Oracle.
    These tend to work fine, but sometimes when they run I get
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    So a batch process will be running doing lots of selects and updates then it just decides it had enough and throws this error each time it tries to connect. Meanwhile tomcat continues to run fine through the same TNS listener, but subsequent batch jobs fail to connect.I normally have to restart the TNS Listener.
    I connect through the same class whether connecting through Tomcat or from the batch process with this:
    public static Connection getConnection(String caller) throws SQLException{
    try{
    Connection con;
    if (standalone){
    try{Class.forName(driver);}catch(ClassNotFoundException e){}
    con=DriverManager.getConnection(url,user,password);
    return con;
    }else{
    if (ds==null)initialiseContext();
    con=ds.getConnection();
    return con;
    }catch(SQLException e){
    ds=null;
    logger.debug("Problem in DBAccess.getConnection()...");
    logger.debug(e.getMessage());
    e.printStackTrace();
    throw e;
    I specifiy params such as MaxIdle with Tomcat using the xml config but not when its standalone - could this be affecting it?
    Any idea?
    Thanks.

    lovingbarcelona wrote:
    * Yep I get the same on the dev box.
    * I am definitely closing all the connections, I keep a close watch on that.
    Oracle should be able to handle lots of connections no problem, I agree, and it is through tomcat.
    Yet the exception that you get says that it isn't. Oracle, for example, on a single box shouldn't be able to handle 100,000 simultaneous connections.
    I would be very surprised if it couldn't handle 1,000. And if there was an issue at that point it would be a resource bound issue, like CPU (on the single box) rather than connections.
    You suggested licensing issues?I believe at one time, not necessarily now, the Oracle server would be sold such that it limited the number of simultenous connections. This could have been a relatively low number. There are quite a few assumptions in that - the major one would be it is based on my faulty memory and second would be that it was years ago.
    By the way you are not running this on a unix variant system without redoing the kernel limits to set up for a server system right?

  • Io exception   the network adapter could not established

    Hi friends,
    During Installing the oracle database 10g in linux its showing
    Error : exception occured while connecting to database.please check the connection details of the database you specified and retry.
    io exception : the network adapter could not established
    also that im all kernel parameters are set.
    plzzzzz tell me.

    Hi,
    Are there any changes done to the listener.ora file, such as the inclusion of control parameters such as:
    ADMIN_RESTRICTIONS_<listener_name> = ON
    LOGGING_<listener_name> = ON
    Best Regards,
    Venkat

  • Error "Io exception: The Network Adapter could not establish the connection

    Just now i configured Enterprise Manager in Oracle 10g.
    I connect to server via OEM, i can able to connect it.
    After logged in when i click on administration tab, it throws an error
    "Database Error
    Io exception: The Network Adapter could not establish the connection"
    What could be the problem?
    Thanks in Advance

    Could you please specify the OS you are working with, as well as the exact 10g DB version you are referring to?
    ~ Madrid

  • Io exception : The network adapter could not establish a connection

    Hi,
    I installed an agent on Solaris 9 hosted database 9.2.0.1. All is up But when I try to connect database, I receive this error message :
    Io exception : The network adapter could not establish a connection
    thanks for your help
    David

    Thanks for the solution. Today I was stucked up because of same issue and your solution worked for me too ...
    Thanks,
    Sujit

Maybe you are looking for

  • File server-Help!

    Hello Everyone, My program not working when sceduled to run in background, but works fine when run in foreground. Think i need to change some funcution modules as the ones i used are, think, referencing for foreground processing. Can anyone point to

  • How do I update my ipad to 7.0.3?

    How do I update my ipad to iOS 7.0.3?

  • [SOLVED!]I'd like to add a dedicated Gnome-Shell session entry to GDM.

    Edit: Well, thanks for all your help guys, I really did appreciate it all. However I've remembered something I used to use in Ubuntu. I added a Gnome-Shell .desktop file into my /home/myname/.config/autostart folder like this [Desktop Entry] Type=App

  • USER EXIT MB_CF001 NOT GETTING TRIGGERED

    Hi All, I am using EXIT_SAPLMBMB_001(MB_CF001) I want it to be triggered after the document has been saved but its not trigeering.. How can I find out the reason??? Regards Shilpa

  • How to use PID function to control a DC motor? ?

    Hi everyone, I wanna control a 6v DC motor using PID control toolkit 8.2. - a close loop control system with an encoder sensor - using a DAQ card model: NI USB-6008 - the DAQ card will be able to output pwm signal to the transistor then to my motor I