Listener drops suddenly or refuses connection

I am having some strange problems and need some help ASAP.
I have an Oracle 7.3.4 database running on AIX 4.3. Now the listener sometimes suddenly stops for no apparent reason or refuses connection requests to the database leading to
ORA-12203 TNS: unable to connect destination
errors even though on checking the status of the listener it indicates that it's still up.
Now does the SNMP setting affect the operation of the listener in any way. It's currently set to ON.
Thanks all.

Yes I do. infact i have spent virtually the whole day stopping and starting the listener. Haven't left my desk at all.
Before it ran almost uninterrupted but now i have to constantly monitor it. Sometimes it works, sometimes it doesn't.
when i restart it, i have something like this
cmsxd has i service handler(s)
even before i restart my Pro*C application cycle, the number of service handlers begins to rise and always hits a maximum of 13 after which it doesn't rise anymore. There is nothing happening as yet but it still rises. If a service handler is a db instance registered with a listener and i only have one db instance i.e cmsxd, why would i have 13 now?
I do not know what these service handlers or db instances are. The lsnrctl status command does not give a detailed breakdown of these service handlers.
when i type lsnrctl services i get the ff output
Services Summary...
cmsxd has 13 service handler(s)
DEDICATED SERVER established:11 refused:0
DISPATCHER established:12 refused:0 current:28 max:252 state:ready
D000 (machine: cepsvr, pid: 23478)
(ADDRESS=(PROTOCOL=ipc)(DEV=15)(KEY=#23478.1))
DISPATCHER established:8 refused:0 current:28 max:252 state:ready
D001 (machine: cepsvr, pid: 23736)
(ADDRESS=(PROTOCOL=ipc)(DEV=15)(KEY=#23736.2))
DISPATCHER established:45 refused:0 current:24 max:252 state:ready
D002 (machine: cepsvr, pid: 23994)
(ADDRESS=(PROTOCOL=ipc)(DEV=15)(KEY=#23994.2))
DISPATCHER established:28 refused:0 current:28 max:252 state:ready
D001 (machine: gcsvr, pid: 23258)
(ADDRESS=(PROTOCOL=ipc)(DEV=15)(KEY=#23258.1))
DISPATCHER established:0 refused:0 current:1 max:252 state:ready
D003 (machine: cepsvr, pid: 24252)
(ADDRESS=(PROTOCOL=tcp)(DEV=15)(HOST=192.168.0.5)(PORT=32787))
DISPATCHER established:0 refused:0 current:1 max:252 state:ready
D004 (machine: cepsvr, pid: 24510)
(ADDRESS=(PROTOCOL=tcp)(DEV=15)(HOST=192.168.0.5)(PORT=32788))
DISPATCHER established:0 refused:0 current:0 max:252 state:ready
D005 (machine: cepsvr, pid: 24768)
(ADDRESS=(PROTOCOL=tcp)(DEV=15)(HOST=192.168.0.5)(PORT=32789))
DISPATCHER established:0 refused:0 current:0 max:252 state:ready
D004 (machine: gcsvr, pid: 18970)
(ADDRESS=(PROTOCOL=tcp)(DEV=15)(HOST=192.168.1.1)(PORT=32919))
DISPATCHER established:28 refused:0 current:0 max:252 state:ready
D000 (machine: gcsvr, pid: 20946)
(ADDRESS=(PROTOCOL=ipc)(DEV=15)(KEY=#20946.1))
DISPATCHER established:0 refused:0 current:0 max:252 state:ready
D003 (machine: gcsvr, pid: 19592)
(ADDRESS=(PROTOCOL=tcp)(DEV=15)(HOST=192.168.1.1)(PORT=32918))
DISPATCHER established:27 refused:0 current:0 max:252 state:ready
D002 (machine: gcsvr, pid: 19922)
(ADDRESS=(PROTOCOL=ipc)(DEV=15)(KEY=#19922.1))
DISPATCHER established:0 refused:0 current:0 max:252 state:ready
D005 (machine: gcsvr, pid: 22048)
(ADDRESS=(PROTOCOL=tcp)(DEV=15)(HOST=192.168.1.1)(PORT=32925))
my database is on cepsvr and gcsvr is another server that has a connection to cepsvr.
Thanks for your replies.

Similar Messages

  • Gmail refuses connections

    Gmail suddenly started refusing connections to Thunderbird. That is all I know. I found a script on another site that said to try the following script to try to make sure I can connect to the main server: nslookup -type=MX gmail.com I got a window that read Connection timed out. Any ideas?

    To diagnose problems with Thunderbird, try the following:
    *Restart the operating system in '''[http://en.wikipedia.org/wiki/Safe_mode safe mode with Networking]'''. This loads only the very basics needed to start your computer while enabling an Internet connection. Click on your operating system for instructions on how to start in safe mode: [http://windows.microsoft.com/en-us/windows-8/windows-startup-settings-including-safe-mode Windows 8], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7 Windows 7], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-vista Windows Vista], [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx?mfr=true" Windows XP], [http://support.apple.com/kb/ht1564 OSX]
    ; If safe mode for the operating system fixes the issue, there's other software in your computer that's causing problems. Possibilities include but not limited to: AV scanning, virus/malware, background downloads such as program updates.

  • Suddenly get message: Proxy Server is refusing connection. How do I fix to access the Internet as before?

    Had no problems getting on the Internet until about a week ago. Then suddenly when I tried to click on a website, I got this message: "proxy server is refusing connections"; however I have no proxy server when I go into My Computer and check under proxy server. I have tried uninstalling Mozilla Firefox and then downloading the new 4.0--which did, indeed, install.
    Yet, when I clicked on the icon, I got the same old message.
    How can hook back up to the browser so that I can go back online and access internet websites?

    If you do not keep the "No Proxy" setting then see:
    * http://kb.mozillazine.org/Preferences_not_saved

  • Gateway Listener refusing connection

    Hi,
    I have configured the gateway listener and tnsping works fine but when i fire "lsnrctl service <listener name>" it gives below output with refused connection.
    can anyone please help me identify the issues?
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 24-APR-2013 13:09:05
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=CTSINPUNVSMPO.cts.com)(PORT=1523)))
    Services Summary...
    Service "SQLSRV" has 1 instance(s).
    Instance "SQLSRV", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:2
    LOCAL SERVER
    The command completed successfully
    thanks in advance

    Hi,
    I have configured the gateway listener and tnsping works fine but when i fire "lsnrctl service <listener name>" it gives below output with refused connection.
    can anyone please help me identify the issues?
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 24-APR-2013 13:09:05
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=CTSINPUNVSMPO.cts.com)(PORT=1523)))
    Services Summary...
    Service "SQLSRV" has 1 instance(s).
    Instance "SQLSRV", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:2
    LOCAL SERVER
    The command completed successfully
    thanks in advance

  • Listener refuse connection with the following error ORA-12505

    Hi Everyone, Am really new to oracle database, am working on my school project work and am stuck in a middle of this error (Listener refuse connection with the following error ORA-12505).
    I have started the listener serveral time and it's saying that "No service surpported by the LISTENER", I can't access the database via sqldeveloper which trows out the same error (Listener refuse connection with the following error ORA-12505, TNS:Listener does not currently know of SID given in connect descriptor.) Moreover my em show red down arrow for the listener. Here are my hard & software details.
    Oracle 11.1.0
    Os: Red Hat Enterprise Linux 4 ( Running the OS via Vmware workstation)
    TNSNAME.ORA
         LISTENER2=
         (DESCRIPTION_LIST=
         (DESCRIPTION=
         ((ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1522))
         LISTENER1=
         (DESCRIPTION_LIST=
         (DESCRIPTION=
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1523))
         LISTENER=
         (DESCRIPTION_LIST=
         (DESCRIPTION=
         (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521))
    Listner,ora
         LISTNER_ORCL
         (ADDRESS_LIST=
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1523))
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521))
         IMT_ADMI=
         (DESRIPTION=
         (PORT=1522))
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1522))
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1523))
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521))
         (CONNECT_DATA=
         (SERVER=DEDICATED)
         (SERVICE_NAME=imt_admin
         LISTENER_IMTADMIN=
         (ADDRESS_LIST=
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1522))
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1523))
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521))
         ORCL=
         (DESCRIPTION=
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1523))
         (ADDRESS = (PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521))
         (CONNECT_DATA=
         (SERVER=DEDICATED)
         (SERVICE_NAME=orcl)
    I read from some forums that I need to edit somethings of which am not really sure cos i don't wanna mess with the database, I need help on what to.
    Thanks for help in advance.

    Use a single listener. There is no need for multiple listeners 99.9999% of the time.
    Have the listener bind the hostname as listening end-point - and not localhost.
    Localhost only allows local processes to connect via TCP. Which is questionable in most environments. Typically you would run clients on other h/w platforms (or VMs) - and this will use the database server's public IPs.
    Type hostname in the console to get the hostname of the server. If the network on that server is suspect (was not manually setup properly by someone knowing network basics), do not bother using the hostname. Use IP address +0.0.0.0+ instead.
    Update the listener.ora file. The LISTENER entry should look something as follows:
    LISTENER =
            (DESCRIPTION_LIST =
                    (DESCRIPTION =
                            (ADDRESS_LIST =(ADDRESS = (PROTOCOL = IPC)(KEY = EXTERNAL)))
                            (ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = <hostname-goes-here>)(PORT = 1521)))
            )You can also simply (and safely) remove/rename the listener.ora file - and start the listener with sane defaults.
    Next, use sqlplus (via the oracle o/s user) to logon as SYSDBA to the database. The database parameter of interest is LOCAL_LISTENER. It should be null (view it using the SQL*Plus command <i>show parameter</i>). If your listener port is 1521, then not a problem.
    If it is not, you need to update/set this parameter with the appropriate port number via the ALTER SYSTEM command.
    Once set/checked, manually instruct the database to register its services with the local listener, via the alter system register command in sqlplus.
    Check and confirm that the listener has received and successfully serviced that registration request by typing lsnrctl services in the oracle o/s console.
    PS. The reason for the error I think is that your are forcing the listener on localhost only - while the default/null local_listener parameter of the database instructs it to contact the listener on the default public IP address of that server. Which does not happen to be localhost IP 127.0.0.1.
    Edited by: Billy Verreynne on Jan 11, 2013 1:06 PM

  • ITunes suddenly refusing connection to Apple TV

    Hi,
    Problem: iTunes suddenly refusing connection to Apple TV!
    I noticed that the above was occuring and checked out iTunes to be dismayed not to see my normal Apple TV in the iTunes devices list.
    My problem is similar to ihttp://discussions.apple.com/thread.jspa?threadID=1631334&tstart=0
    Which appear not to have been answered - yet has "Helpful" answers available: 2 . "Solved" answers available: 1 . (whatever that means??)
    The only change I've made recently is not renewing mobileme services. My mobileme user id was also my Apple ID (which should not have expired with the mobileme account). To protect the Apple ID I changed the associated email address to an non mobileme one. As an extra precaution updated my iTunes to the new account email address and verified itunes computer authorisation as well.
    At the same time thinking that the Apple TV might need to have its iTunes connection refreshed I removed (as it was not working anymore anyone) the original iTunes setting and set to reconnecting using: settings>Computers>Connect to iTunes
    On the Apple TV the usual dialogue appears with the expected 5 digit passcode. I then expected iTunes to pick this up which did not occur in a normal fashion. What did come up was an inane dialogue box with the following comments (the same as I had been getting before all this nonsense started):
    'Authentication required
    To access this site, you need to log in to area "daap" on 0.0.0.0
    Your login information will be sent securely
    Name:
    Password:'
    etc
    Obviously I've tried my updated Apple ID / registered email - but they don't work for the login and there appears to be no other explanation for this (obviously I've noted Apple's implementation of DAAP, however I still can't find a solution - hence this post)
    I would really appreciate a solution to this as I am now unable to use my Apple TV whatsoever
    Stephen
    Macbook with OS X 10.5.6 | iTunes 8.0.2 (20) | Apple TV 2.3
    Message was edited by: stevieci

    Hi,
    I am having the same problem, getting the following message when launching iTunes "To access this site, you need to log in to area "daap" on 0.0.0.0." I just recently update my OS to 10.5.6, but when I launch iTunes (8.02) and try to synch either my iPhone 3g, Apple TV or the wife's Ipod touch, none of which appear.
    Is this a know problem?
    Cheers
    A

  • E2500 suddenly can't connect to the internet

    My e2500 suddenly dropped the ability to connect me to the internet.  Reset modem, installed firmware upgrade due to management mode errors trying to get into the router itself.
    My computer connected to the modem directly works fine but anytime I try to involve te router it craps out.  I can, interestingly enough, access the router wirelessly to change settings.
    Ideas, thoughts?  
    FYI: I have cable internet.

    Please try to reset your router properly. You can try to follow steps to properly reset your router:
    1. Press and hold the reset button for 30 seconds.
    2. Unplug the power and wait for 1 minute. Then, plug back the power.
    Try to make sure that the power light is blinking while you press and hold the reset button.
    And then you can set static IP address on a computer before you access the router’s setup page.
    Then do the reconfiguration.

  • Connection Refused: Connect

    Hello again,
    we installed our Portal with:
    Windows 2003 + SQL Server
    SAP J2EE PL23
    EP6.0 and Patch 2 (us told in docs)
    our problem is that when we tried to logon to our portal with sap* user nothing appears !!!!
    The inicialization of our system seems to be ok....In the log appears: Portal initialization done.
    After that msg appers many with the folow errors:
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
         at java.net.Socket.<init>(Socket.java:268)
         at java.net.Socket.<init>(Socket.java:122)
         at iaik.security.ssl.SSLSocket.<init>(Unknown Source)
         at org.w3c.www.protocol.http.f.a(Unknown Source)
         at org.w3c.www.protocol.http.f.markUsed(Unknown Source)
         at org.w3c.www.protocol.http.HttpBasicServer.getConnection(Unknown Source)
         at org.w3c.www.protocol.http.HttpBasicServer.runRequest(Unknown Source)
         at org.w3c.www.protocol.http.HttpManager.runRequest(Unknown Source)
         at org.w3c.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at com.sapportals.portal.ivs.http.HttpClient.connect(HttpClient.java:323)
         at com.sapportals.portal.ivs.http.HttpClient.send(HttpClient.java:336)
         at com.sapportals.portal.yahoo.runtime.YahooHbThread.send(YahooHbThread.java:209)
         at com.sapportals.portal.yahoo.runtime.YahooHbThread.run(YahooHbThread.java:95)
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
         at java.net.Socket.<init>(Socket.java:268)
         at java.net.Socket.<init>(Socket.java:122)
         at iaik.security.ssl.SSLSocket.<init>(Unknown Source)
         at org.w3c.www.protocol.http.f.a(Unknown Source)
         at org.w3c.www.protocol.http.f.markUsed(Unknown Source)
         at org.w3c.www.protocol.http.HttpBasicServer.getConnection(Unknown Source)
         at org.w3c.www.protocol.http.HttpBasicServer.runRequest(Unknown Source)
         at org.w3c.www.protocol.http.HttpManager.runRequest(Unknown Source)
         at org.w3c.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at com.sapportals.portal.ivs.http.HttpClient.connect(HttpClient.java:323)
         at com.sapportals.portal.ivs.http.HttpClient.send(HttpClient.java:336)
         at com.sapportals.portal.yahoo.runtime.YahooHbThread.send(YahooHbThread.java:209)
         at com.sapportals.portal.yahoo.runtime.YahooHbThread.run(YahooHbThread.java:95)
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
         at java.net.Socket.<init>(Socket.java:268)
         at java.net.Socket.<init>(Socket.java:122)
         at iaik.security.ssl.SSLSocket.<init>(Unknown Source)
         at org.w3c.www.protocol.http.f.a(Unknown Source)
         at org.w3c.www.protocol.http.f.markUsed(Unknown Source)
         at org.w3c.www.protocol.http.HttpBasicServer.getConnection(Unknown Source)
         at org.w3c.www.protocol.http.HttpBasicServer.runRequest(Unknown Source)
         at org.w3c.www.protocol.http.HttpManager.runRequest(Unknown Source)
         at org.w3c.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at com.sapportals.portal.ivs.http.HttpClient.connect(HttpClient.java:323)
         at com.sapportals.portal.ivs.http.HttpClient.send(HttpClient.java:336)
         at com.sapportals.portal.yahoo.runtime.YahooHbThread.send(YahooHbThread.java:209)
         at com.sapportals.portal.yahoo.runtime.YahooHbThread.run(YahooHbThread.java:95)
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
         at java.net.Socket.<init>(Socket.java:268)
         at java.net.Socket.<init>(Socket.java:122)
         at iaik.security.ssl.SSLSocket.<init>(Unknown Source)
         at org.w3c.www.protocol.http.f.a(Unknown Source)
         at org.w3c.www.protocol.http.f.markUsed(Unknown Source)
         at org.w3c.www.protocol.http.HttpBasicServer.getConnection(Unknown Source)
         at org.w3c.www.protocol.http.HttpBasicServer.runRequest(Unknown Source)
         at org.w3c.www.protocol.http.HttpManager.runRequest(Unknown Source)
         at org.w3c.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at com.sapportals.portal.ivs.http.HttpClient.connect(HttpClient.java:323)
         at com.sapportals.portal.ivs.http.HttpClient.send(HttpClient.java:336)
         at com.sapportals.portal.yahoo.runtime.YahooHbThread.send(YahooHbThread.java:209)
         at com.sapportals.portal.yahoo.runtime.YahooHbThread.run(YahooHbThread.java:95)
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
         at java.net.Socket.<init>(Socket.java:268)
         at java.net.Socket.<init>(Socket.java:122)
         at iaik.security.ssl.SSLSocket.<init>(Unknown Source)
         at org.w3c.www.protocol.http.f.a(Unknown Source)
         at org.w3c.www.protocol.http.f.markUsed(Unknown Source)
         at org.w3c.www.protocol.http.HttpBasicServer.getConnection(Unknown Source)
         at org.w3c.www.protocol.http.HttpBasicServer.runRequest(Unknown Source)
         at org.w3c.www.protocol.http.HttpManager.runRequest(Unknown Source)
         at org.w3c.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at com.sapportals.portal.ivs.http.HttpClient.connect(HttpClient.java:323)
         at com.sapportals.portal.ivs.http.HttpClient.send(HttpClient.java:336)
         at com.sapportals.portal.yahoo.runtime.YahooHbThread.send(YahooHbThread.java:209)
         at com.sapportals.portal.yahoo.runtime.YahooHbThread.run(YahooHbThread.java:95)
    What is this problem ?
    Can someone help us ?
    Thanks in advanced.

    but i am not send to the client when i accept the client connection immediately ,It doesn't matter when you send to the client. The answer is still the same. You send to a client via the socket you accepted from that client. That's what it's for.
    for example :
    first client_A connect to Server (port 2222) , than Client_B connect to Server (port 2222) , finally Client_C connect to Server (port 2222)You don't need to keep telling me the port number. If the ServerSocket is listening at port 2222 they will all connect via port 2222. They don't have any choice about that.
    and all not close the connection, but if I want to send some msg to Client_B from Server, how can i send the msg to client_B ?Via the socket you accepted from client B. I've already answered that.
    it's just like you said "you don't have to do anything about that. " ?Is that a question?
    You don't seem to have much idea about client-server socket programming. Have you read the Custom Networking tutorial?

  • SQL Server 2000/CFMX 7 - connection refused: connect

    Hi all,
    I have been trying to troubleshoot this for a few weeks now,
    I have looked high and low and tried multiple solutions that worked
    for other people, none have worked for me.
    I have SQL Server 2000 Version 8 and Coldfusion 7.0.2.
    I can't seem to make a database connect in Administrator. I
    have tried changing the port that SQL Server listens on, I made a
    new security role in SQL Server specifically for the database I'm
    creating, I tried making an ODBC connection (which can see the SQL
    Server) in windows then connecting to that, nothing is working.
    I thought it might be the windows firewall, it isn't since it
    is off, my TCP/IP protocol is enabled, I am running out of ideas.
    If anyone can suggest anything, please do this is what I see
    everytime.
    Connection verification failed for data source: IFDA
    java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver]Error establishing socket. Connection refused: connect
    The root cause was that: java.sql.SQLException:
    [Macromedia][SQLServer JDBC Driver]Error establishing socket.
    Connection refused: connect
    I'm dying over here.
    Thanks.

    This might be a dumb question, but have you searched Google
    groups? Its one of the first places I go when I get error messages
    I don't understand.
    Googling this:
    "java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver]Error establishing socket. Connection refused: connect"
    ..gave me 84 results (ok, a lot of them point back to these
    forums but I still find searching thru Google easier than using the
    built in search) - here's a
    Link
    hth - cheers.

  • Sockets:  Connection refused: connect

    Hello,
    I try to create to apps one is server the other client
    I inserted the code below.
    This is the server code:
    ServerSocket serverSocket = new ServerSocket(87);
    Socket s;
    s = serverSocket.accept();
    boolean b = true;
    while (b)
      s = serverSocket.accept();
      System.out.println("Connection from " + s.getInetAddress().getHostName());
      BufferedReader bf = new BufferedReader(new InputStreamReader(s.getInputStream()));
      BufferedWriter br = new BufferedWriter(new OutputStreamWriter(s.getOutputStream()));
      BufferedReader consoleReader = new BufferedReader(new InputStreamReader(System.in));
      ObjectOutputStream oo = new ObjectOutputStream(s.getOutputStream());
      String str = bf.readLine();
      if (str != null)               
         System.out.println("Incomming message: " + str);               
         String consoleInput = consoleReader.readLine();
         if (consoleInput != null)
            oo.writeObject(consoleInput);
            oo.flush();
         else
            if (consoleInput.equals("stop"))
              oo.writeObject("Server will stop");
              oo.flush();
              b = false;
    }This is the client:
    Socket client = new Socket("localhost",87);
    BufferedReader br = new BufferedReader(new InputStreamReader(client.getInputStream()));
    boolean b = true;
    while (b)
       String str = br.readLine();
       if (str != null)
           System.out.println("receive message: " + str);
           if ( str.equals("Server will stop"))
              b =false;
    }The server starts up. But the client gives an java.net.ConnectException: Connection refused: connect
    Client is only listening to what the server is sending.
    The server send what's entered on the console.
    Can somebody tell me what I'm doin wrong?
    Thanks a lot
    Dries

    Here are the exact files that I used and are running on my machine:
    // Client.java
    import java.io.*;
    import java.net.*;
    public class Client
         public static void main(String args[]) throws Exception
              Socket client = new Socket("localhost",6655);
              BufferedReader br = new BufferedReader(new InputStreamReader(client.getInputStream()));
              boolean b = true;
              while (b)
                 String str = br.readLine();
              if (str != null)
                     System.out.println("receive message: " + str);
              if ( str.equals("Server will stop"))
                        b =false;
    //Server.java
    import java.io.*;
    import java.net.*;
    public class Server
         public static void main(String args[]) throws Exception
              ServerSocket serverSocket = new ServerSocket(6655);
         System.out.println("Bind done");
              Socket s;
              s = serverSocket.accept();
              boolean b = true;
              while (b)
                System.out.println("Connection from " + s.getInetAddress().getHostName());
                BufferedReader bf = new BufferedReader(new InputStreamReader(s.getInputStream()));
                BufferedWriter br = new BufferedWriter(new OutputStreamWriter(s.getOutputStream()));
                BufferedReader consoleReader = new BufferedReader(new InputStreamReader(System.in));
                ObjectOutputStream oo = new ObjectOutputStream(s.getOutputStream());
                String str = bf.readLine();
              if (str != null)
                    System.out.println("Incomming message: " + str);
                    String consoleInput = consoleReader.readLine();
              if (consoleInput != null)
                   oo.writeObject(consoleInput);
                   oo.flush();
              else
              if (consoleInput.equals("stop"))
                     oo.writeObject("Server will stop");
                     oo.flush();
                     b = false;
    }Then, in one window, start "Server" and another start "Client". It works for me on Windows 2K system.

  • OVMAPI_6000E Internal Error: Connection refused Connection refused  - OVM

    Hi,
    Test environment, as per this doc
    http://www.oracle.com/technetwork/server-storage/vm/template-1482544.html
    Running the above OVMs on virtual box version 4.2.10
    OVM is version 3.1.1.365
    I setup my environment and was ready to import VM templates. Following a reboot of the server I can no longer login to the Manager.
    Error is: Unexpected error during login (com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_6000E Internal Error: Connection refused Connection refused
    After some investigation in the App logs I found this error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    (------------- lsnrctl service shows this ----------)
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 20-APR-2013 22:58:31
    Copyright (c) 1991, 2011, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    (-----------) - This is just a test environment, but I would really appreciate if someone could tell me why this error is occurring and how I can fix it, I've tried restarting services, still no joy. This issue seems to occur after I setup the server pool \ Storage resources, etc
    Thanks for all your help!

    You need to learn how to start an oracle database. The database does not start automatically if you're using the database that comes with the VM Manager.
    ps -ef | grep pmon
    will tell you if the database is running and mounted.
    ps -ef | grep tns
    will tell you if the database listener is running
    OR
    You could use 3.2.2 and use the MYSQL database that come with the VM Manager
    OR
    you could load the enterprise version of Oracle Database and use cluster services to automatically start and stop the database. You get a single use license with the VM Manger that allows you either use standard of enterprise edition of the Oracle Database.

  • Tcp listen accepts multiple simultaneo​us connection​s even when closed

    LV 6.0.2, win 2k
    I am trying to set up a server that will recieve data from multiple clients. If I set up a TCP listen vi on the server, then I have found that any (or the same) client can open multiple connections on this port and send data to it even though the server has only called the TCP listen VI once and only has a reference for the first connection. The subsequent connections seem to be accumlating in the port buffer and the data can in fact be retrieved with subsequent calls to TCP listen on that port regardless of whether the client has closed the connection long ago and forgotten about the transaction.
    This could perhaps be considered either a feature or a bug. For me it is undesirabl
    e. I would prefer that attempted connections to the server were rejected if the server is not actually actively listening on the port. Otherwise clients can easily flood the port.
    Is there some way to control this behaviour, or perhaps a completely different approach? or is there some way to control the port settings such as buffer size or max number of connections allowed, and a way to clear the buffer without processing all the connections?
    Thanks in advance for any thoughts.

    Thanks for the comments.
    I don't seem to get the same behaviour you describe.
    When you say 'if the server closes the connection after reading the first request, then it will not process the rest of the requests waiting in the queue'. I find that after the server closes the connection (with TCP close connection) then there can still be a huge backlog of connections to the same port (requests) which are still waiting to be processed. Another call to TCP listen retrieves one of the old ones, it doesn't wait around for a legitimately new request from a client.
    Where you say 'When you leave the connection open on the server side, you can receive multiple commands this way, but it also blocks other clients from connecting until the curre
    nt client disconnects'. This is in fact my main difficulty. Even with a connection held open other clients (or the same client) CAN make other connections and send data through that connection. This then backs up if the server is not processing them faster than recieving them.
    I've attached vi's which should demonstrate the issue.
    I couldn't check your vi's. I'm missing the EOC error.vi and one other I think. Ultimately I hope to do something similar with multiple open connections, but still need the server to be able to refuse connections if it wants to. Something I don't seem to be able to do. The connections just keep coming regardless of how the server is set up.
    Thanks again.
    Steve
    Attachments:
    server.vi ‏229 KB
    client.vi ‏28 KB

  • Refused Connection - Sybase

    Could someone please help with this not sure what is happing. I had this
    working at one stage but not sure what has happened.
    I have reinstalled Sybase and WL 7, (clean installs).
    Trying to connect to Sybase 11 DBMS using WLS 7.
    I've set my connection pool as follows:
    Name : SybasePool
    URL : jdbc:sybase:Tds:localhost:5000/Aims
    Driver Class:com.sybase.jdbc2.jdbc.SybDriver (Assume this uses WL drivers as
    I'm not installing 3rd party drivers)
    Properties : user=sa
    Sybase sql.ini file is :
    [pisces]
    query=NLWNSCK,pisces,5000
    master=NLWNSCK,pisces,5000
    [pisces_BS]
    $BASE$00=NLWNSCK,pisces,5001
    $BASE$01=NLMSNMP,\pipe\sybase\backup
    query=$BASE$00;$BASE$01;
    $BASE$02=NLWNSCK,pisces,5001
    $BASE$03=NLMSNMP,\pipe\sybase\backup
    master=$BASE$02;$BASE$03;
    [pisces_MS]
    $BASE$00=NLWNSCK,pisces,5002
    $BASE$01=NLMSNMP,\pipe\sybase\monitor
    query=$BASE$00;$BASE$01;
    $BASE$02=NLWNSCK,pisces,5002
    $BASE$03=NLMSNMP,\pipe\sybase\monitor
    master=$BASE$02;$BASE$03;
    Results of Server start up :
    C:\bea\user_projects\mydomain>"C:\bea\jdk131_06\bin\java" -hotspot -Xms32m -
    Xmx200m -Dweblogic.security.SSL.trustedCAKey
    Store=C:\bea\weblogic700\server\lib\cacerts -Dweblogic.Name=myserver -Dbea.h
    ome="C:\bea" -Dweblogic.management.username=
    -Dweblogic.management.password= -Dweblogic.ProductionModeEnabled= -Djava.se
    curity.policy="C:\bea\weblogic700\server\lib
    \weblogic.policy" weblogic.Server
    <22/06/2004 22:19:28> <Info> <Security> <090065> <Getting boot identity from
    user.>
    Enter username to boot WebLogic server:system
    Enter password to boot WebLogic server:
    Starting WebLogic Server...
    <22/06/2004 22:19:40> <Notice> <Management> <140005> <Loading configuration
    C:\bea\user_projects\mydomain\.\config.xml>
    <22/06/2004 22:19:52> <Notice> <Security> <090082> <Security initializing
    using realm myrealm.>
    <22/06/2004 22:19:54> <Notice> <WebLogicServer> <000327> <Starting WebLogic
    Admin Server "myserver" for domain "mydomain
    ">
    <22/06/2004 22:20:13> <Notice> <Management> <141052> <Application Poller
    started for development server.>
    <22/06/2004 22:20:18> <Notice> <WebLogicServer> <000354> <Thread
    "ListenThread.Default" listening on port 7001>
    <22/06/2004 22:20:18> <Notice> <Management> <141030> <Starting discovery of
    Managed Server... This feature is on by defa
    ult, you may turn this off by passing -Dweblogic.management.discover=false>
    <22/06/2004 22:20:18> <Notice> <WebLogicServer> <000331> <Started WebLogic
    Admin Server "myserver" for domain "mydomain"
    running in Development Mode>
    <22/06/2004 22:20:18> <Notice> <WebLogicServer> <000354> <Thread
    "SSLListenThread.Default" listening on port 7002>
    <22/06/2004 22:20:18> <Notice> <WebLogicServer> <000365> <Server state
    changed to RUNNING>
    <22/06/2004 22:20:18> <Notice> <WebLogicServer> <000360> <Server started in
    RUNNING mode>
    <22/06/2004 22:27:43> <Error> <JDBC> <001060> <Cannot startup connection
    pool "SybasePool" weblogic.common.ResourceExcep
    tion: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException:
    Connection refused: connect
    at
    com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:493)
    at
    com.sybase.jdbc2.jdbc.ErrorMessage.raiseErrorCheckDead(ErrorMessage.java:729
    at com.sybase.jdbc2.tds.Tds.handleIOE(Tds.java:3107)
    at com.sybase.jdbc2.tds.Tds.login(Tds.java:394)
    at
    com.sybase.jdbc2.jdbc.SybConnection.tryLogin(SybConnection.java:218)
    at
    com.sybase.jdbc2.jdbc.SybConnection.regularConnect(SybConnection.java:195)
    at
    com.sybase.jdbc2.jdbc.SybConnection.<init>(SybConnection.java:174)

    Thanks, Joe,
    I solved this by replacing the "localhost" (in the pool definition) with its eqivalent
    "pisces" and it worked. I have used this before (I'm sure) and it has worked but
    this time I am not sure why it requires me to have the explicit name and not localhost.
    If anyone can enlighten me that would be good. However, it has been solved!
    Regards
    Glenn
    Joe Weinstein <[email protected]> wrote:
    >
    >
    Glenn wrote:
    Could someone please help with this not sure what is happing. I hadthis
    working at one stage but not sure what has happened.
    I have reinstalled Sybase and WL 7, (clean installs).
    Trying to connect to Sybase 11 DBMS using WLS 7.
    I've set my connection pool as follows:
    Name : SybasePool
    URL : jdbc:sybase:Tds:localhost:5000/Aims
    Driver Class:com.sybase.jdbc2.jdbc.SybDriver (Assume this uses WL driversas
    I'm not installing 3rd party drivers)Hi. No, it uses Sybase's driver, one we ship with the product. I assume
    the machine
    you're running weblogic on is named 'pisces', correct? It appears that
    the DBMS is
    refusing to give the driver a connection. I suspect your 'sa' password
    is incorrect.
    Joe
    Properties : user=sa
    Sybase sql.ini file is :
    [pisces]
    query=NLWNSCK,pisces,5000
    master=NLWNSCK,pisces,5000
    [pisces_BS]
    $BASE$00=NLWNSCK,pisces,5001
    $BASE$01=NLMSNMP,\pipe\sybase\backup
    query=$BASE$00;$BASE$01;
    $BASE$02=NLWNSCK,pisces,5001
    $BASE$03=NLMSNMP,\pipe\sybase\backup
    master=$BASE$02;$BASE$03;
    [pisces_MS]
    $BASE$00=NLWNSCK,pisces,5002
    $BASE$01=NLMSNMP,\pipe\sybase\monitor
    query=$BASE$00;$BASE$01;
    $BASE$02=NLWNSCK,pisces,5002
    $BASE$03=NLMSNMP,\pipe\sybase\monitor
    master=$BASE$02;$BASE$03;
    Results of Server start up :
    C:\bea\user_projects\mydomain>"C:\bea\jdk131_06\bin\java" -hotspot-Xms32m -
    Xmx200m -Dweblogic.security.SSL.trustedCAKey
    Store=C:\bea\weblogic700\server\lib\cacerts -Dweblogic.Name=myserver-Dbea.h
    ome="C:\bea" -Dweblogic.management.username=
    -Dweblogic.management.password= -Dweblogic.ProductionModeEnabled=-Djava.se
    curity.policy="C:\bea\weblogic700\server\lib
    \weblogic.policy" weblogic.Server
    <22/06/2004 22:19:28> <Info> <Security> <090065> <Getting boot identityfrom
    user.>
    Enter username to boot WebLogic server:system
    Enter password to boot WebLogic server:
    Starting WebLogic Server...
    <22/06/2004 22:19:40> <Notice> <Management> <140005> <Loading configuration
    C:\bea\user_projects\mydomain\.\config.xml>
    <22/06/2004 22:19:52> <Notice> <Security> <090082> <Security initializing
    using realm myrealm.>
    <22/06/2004 22:19:54> <Notice> <WebLogicServer> <000327> <StartingWebLogic
    Admin Server "myserver" for domain "mydomain
    ">
    <22/06/2004 22:20:13> <Notice> <Management> <141052> <Application Poller
    started for development server.>
    <22/06/2004 22:20:18> <Notice> <WebLogicServer> <000354> <Thread
    "ListenThread.Default" listening on port 7001>
    <22/06/2004 22:20:18> <Notice> <Management> <141030> <Starting discoveryof
    Managed Server... This feature is on by defa
    ult, you may turn this off by passing -Dweblogic.management.discover=false>
    <22/06/2004 22:20:18> <Notice> <WebLogicServer> <000331> <Started WebLogic
    Admin Server "myserver" for domain "mydomain"
    running in Development Mode>
    <22/06/2004 22:20:18> <Notice> <WebLogicServer> <000354> <Thread
    "SSLListenThread.Default" listening on port 7002>
    <22/06/2004 22:20:18> <Notice> <WebLogicServer> <000365> <Server state
    changed to RUNNING>
    <22/06/2004 22:20:18> <Notice> <WebLogicServer> <000360> <Server startedin
    RUNNING mode>
    <22/06/2004 22:27:43> <Error> <JDBC> <001060> <Cannot startup connection
    pool "SybasePool" weblogic.common.ResourceExcep
    tion: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException:
    Connection refused: connect
    at
    com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:493)
    at
    com.sybase.jdbc2.jdbc.ErrorMessage.raiseErrorCheckDead(ErrorMessage.java:729
    at com.sybase.jdbc2.tds.Tds.handleIOE(Tds.java:3107)
    at com.sybase.jdbc2.tds.Tds.login(Tds.java:394)
    at
    com.sybase.jdbc2.jdbc.SybConnection.tryLogin(SybConnection.java:218)
    at
    com.sybase.jdbc2.jdbc.SybConnection.regularConnect(SybConnection.java:195)
    at
    com.sybase.jdbc2.jdbc.SybConnection.<init>(SybConnection.java:174)

  • Safari randomy refusing connections on ML

    All of a sudden, Safari has decided it doesn't want to connect to google or Facebook or some random other pages.
    I can connect to some pages but not others.
    My bittorrent client works. I can ping apple and google, my iPhone can connect perfectly fine to any webpage while connected to my wifi network.
    But some pages are refusing connections on my Mac Pro.

    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the page that opens.
    Drag or copy — do not type — the following line into the Terminal window:
    curl -I http://www.apple.com
    Press return. You should almost instantly get several lines of output below what you entered, the first of which begins with something like this:
    HTTP/1.1
    If there's no output within ten seconds, consider that a failure. You can then quit Terminal. Post your results.

  • I have an iPhone 4S and never had a problem with syncing it. But suddenly, when I connected my phone to my mac, it says that its in recovery mode, and I need to restore it in order to sync. I've updated both my phone and my itunes, and it didnt work.Help?

    I have an iPhone 4S and never had a problem with syncing it. But suddenly, when I connected my phone to my mac, it says that its in recovery mode, and I need to restore it in order to sync. I've updated both my phone and my itunes, and it didnt work.Help?

    fighter19lisa wrote:
    that only makes it say its synced, when its not.
    No, it does not.  It transfers purchases from the iDevice to the computer.  The computer must be authorized for the Apple ID that the content was acquired with.
    fighter19lisa wrote:
    my playlists wont show up on the phone.
    Are they selected to sync?  Is Manually Manage content on the device selected?
    fighter19lisa wrote:
    i had to change my password for my aol account again and i still cannot get my email on my phone to even work
    What does that have to do with syncing content to the device?  FYI, nothing.

Maybe you are looking for

  • How to install and configure oracle secure backup(osb-10.4.0.3.0_linux.x64) in linux

    Hello, We are planning to install and configure Oracle Secure Backup Version 10.4 in Linux server. I had searched documents and i have not find any relevant steps to install and configure in OEL 6.2. Can anyone please suggest me how to install and co

  • Production order :  urgent

    Production order :   Hi PP guru's, I am getting a error message like this when i release the order and the same is not visible in COOIS production order information system . What could be the reason since we need to produce the material urgent. The s

  • Adding fields to vendor selection screen

    Hi , While creating a shopping cart from SRM portal, i need to select a  vendor. For vendor selection screen, i want to add two additional fields:  1)Sort Term 1:  ADDR1_DATA-SORT1 2)Order Currency:  LFM1-WAERS I want to know:if this can be possible

  • Using WCS templates

    Hi, would like to create a WCS template to disable/enable APs. Does anyone know what existing template to modify or how to create new template? Appreciated.

  • Messed up 23" Cinema HD Display

    Hi all, using two Apple Cinema HD Displays, 23" + 20" in conjunction with Mac G5. While moving 23" to display a laptop the screen refused to function, power light gives signal dot dash dot. Aborted attachment to Laptop and went reconfigured original