Multiple listener running (hanging) on the same port  //weird..

Hi there,
today we encountered a strange problem regarding the listener process. (multiple process with the same listener name.. :-( )
versions: rdbms/listener 10.2.0.2
OS: AIX 5L 5200-09-04
so; from the process list of the AIX:
594032 991330 0 03:43:18 - 0:00 /orabinp/product/ora10g/bin/tnslsnr LSNRprod -inherit
991330 1 0 Mar 04 - 29:17 /orabinp/product/ora10g/bin/tnslsnr LSNRprod -inherit
as you see the 2nd listener was initiated from the "original" listener, (the parent ID is 991330)
the lsnrctl status, stop commands were hanging, the lsnr processes were terminated with -USR2 signal. lsnr start was ok, after this the application was able to connect.
resolution took around 3 mins, but there is a need to have a root cause analysis. usually when you want to start an already running listener,it results in a "TNS-01106: Listener using listener name 'LISTENERname' has already been started".
during this double operation there were no connection available (it is clear from listener.log)
Anyone had this issue?
Any comments welcome and highly appreciated.
p.s.
(oracle version 10.2.0.2 - first question -is it a known bug?- I have not found it in a bug list.. the db will be patched/migrated to 10.2.0.3 at next available downtime)

Virtual PC can do it, but it's not free. I think VMware as well, but likely not free. Actually, it seems you can evaluate VMware:
http://www.vmware.com/download/

Similar Messages

  • Can you have multiple RMI Servers listen at the same port?

    Hi,
    I am wondering if is possible to assign many RMI servers to the same port. I have a working RMI system that is assigning a single server to a specified port when the server is created. I need to scale my project to incorporate Activation and the ability to go through a firewall. I have the power to punch holes in the firewall, so I am thinking that I would like to set up a port for all my activated servers to listen on. Is this possible to put them all on one port?

    Yes you are correct. However, I am wanting the actual servers listening on the same port. I have noticed that when I do not assign a port number when binding my RMI servers to the registry, then the rmi system sets them all up listening on the same port. This port is random and changes each time I restart my server system, which rebinds all the servers to the rmiregistry again. I am look for a way to use custom socket factories and then tell the servers the exact port to listen at. I keep getting port already in use issues though when I try to assign more than one server to a particular port. I don't know if this is even possible. Has anyone ever gotten this to work?

  • Is it possible to use both an ILB and an ELB (listening on the same port) in the same Azure cloud service?

    I'm building a test Lync deployment on Azure; yes, I know this is not supported, hence "test".
    Lync Front-End servers expose two set of web services, one for internal users and one for external ones; they listen on different ports (443 and 4443) on the same servers; when external services are published, you need a reverse proxy or a port forwarding
    in order to map port 443 of a public IP address to port 4443 of the Front-End server(s). When you have multiple Front-End servers in a pool, you also need to load-balance them.
    So, a typical Lync deployment looks like this:
           Internal users
                     |
                   443
                      |
              Internal LB
            192.168.0.20
            443         443
              |               |
       Lync FE 1     Lync FE 2
    192.168.0.21 192.168.0.22
              |               |
          4443        4443
              External LB
           Public IP Address
                     |
                  443
                     |
           External Users
    This should be easily replicated in Azure, as it supports both external load balancing and internal load balancing. They are even supported together in the same cloud service, so this configuration should be easy. However, it looks like "should"
    is the keyword here.
    After creating the external load balanced endpoint (which listens on external port 443 and forwards to port 4443 on the servers), I'm trying to create an internal load balancer and add internal endpoints to is; however, while the ILB can be created successfully,
    adding an internal endpoint listening on port 443 and forwarding to port 443 on the servers fails miserably, with an error stating that port 443 is already in use by another endpoint:
    Update-AzureVM : BadRequest : Port 443 is already in use by one of the endpoints in this deployment. Ensure that the port numbers are unique across endpoints within a deployment.
    For reference, my commands are:
    Add-AzureInternalLoadBalancer -InternalLoadBalancerName "LyncILB" -ServiceName "LyncFrontEnd" -SubnetName "LabSubnet" -StaticVNetIPAddress 192.168.0.20
    (This completes successfully)
    Get-AzureVM LYNCFE1 | Add-AzureEndpoint -Name "Https-Int" -Protocol "tcp" -LocalPort 443 -PublicPort 443 -LBSetName "HttpsIntLB" -DefaultProbe -InternalLoadBalancerName "LyncILB"
    (This fails)
    The existing external endpoint is configured as such:
    Get-AzureVM LYNCFE1 | get-azureendpoint
    LBSetName : HttpsExtLB
    LocalPort : 4443
    Name : HTTPS-Ext
    Port : 443
    Protocol : tcp
    Vip :
    ProbePath :
    ProbePort : 4443
    ProbeProtocol : tcp
    ProbeIntervalInSeconds : 15
    ProbeTimeoutInSeconds : 31
    EnableDirectServerReturn : False
    Acl : {}
    InternalLoadBalancerName :
    IdleTimeoutInMinutes :
    LoadBalancerDistribution :
    The error doesn't even make a lot of sense; the external load balancer listens on a public IP address, while the internal load balancer listens on a private IP address in the internal network; there
    shouldn't be any conflict here... however it looks like there is one instead.
    Why doesn't this work? Am I doing something wrong, or is Azure networking just being silly as usual again?

    Hello Massimo Pascucci,
    The issue that you are facing when creating an endpoint with internal loadbalancer is the limitation of not allowing same ports to be listening under a single cloud service. This reason for this is that there is a limitation of only one private IP (Also
    known as the Internal load balanced IP) per cloud service.
    There is also a limitation on the Internal load balancer more than one port to be published per load balancer:
    You can leave your feedback by following the link below:
    https://social.msdn.microsoft.com/Forums/en-US/1805c5a0-3906-4cd6-8561-9802d77e0ae5/is-it-possible-to-use-both-an-ilb-and-an-elb-listening-on-the-same-port-in-the-same-azure-cloud?forum=WAVirtualMachinesVirtualNetwork
    Refer to this article for more information on Internal load balancer:
    http://azure.microsoft.com/blog/2014/05/20/internal-load-balancing/
    Thanks,
    Syed Irfan Hussain

  • Several process listening to the same port number

    I hope I am in the right form (it's the third one I am trying).
    I have server/client application, one server that handles a lot of clients. In general when ever a client approach the server, the server create new process (fork()) that handle the client request.
    I would like to know if there is a problem that several processes (parent and several child processes) are listening to the same port number, is it better to create thread that would handle the client request, instead of creating a child process?
    To better understand the problem I create very simple client and server application.
    This is a part of the server application:
    The server creates a socket, bind to this socket and then listen to this socket.
    After that in a while (1) loop he waits for accept:
    int sockclient = accept(sockId,(struct sockaddr*)(&client_addr), &addrLen);
    When the server get a sockclient (client ask for service) he create new process (fork()) that handle the client request.
    struct sockaddr_in addr, client_addr;
    bzero(&addr,sizeof(struct sockaddr_in));
    addr.sin_family = PF_INET;
    addr.sin_port = 8865;
    bcopy(ent->h_addr_list[0],&(addr.sin_addr), ent->h_length);
    // bind
    bind(sockId,(struct sockaddr*)(&addr), sizeof( struct sockaddr_in));
    If it would help I can add the all code.
    If you knows about articles that talked about this subject It might help too (I am talking about advantages and disadvantages of thread against process but regardless of sockets).

    You might look at this article
    http://httpd.apache.org/docs-2.1/misc/perf-tuning.html
    under the section "accept Serialization - multiple sockets".

  • How do I open the same ports on an Airport Extreme Base Station for multiple computers at the same time?

    As the title suggests...
    I have a mix of five Mac and PC's at home using an Airport Extreme Base Station as the router.   I need many ports opened on the AEBS for all of the computers- not just one computer.  (for example: three people want to play TF2 on Steam at the same time; each machine needs the correct ports open on the router).   Port forwarding  only allows me to forward a given port to a single IP, yet I need that port open for five differnt IP's, all at the same time. 
    How do I do that on an AEBS?
    In the same way, I have a small office of four iMacs using an old airport with the same exact issue.   I would like to be able to connect to all of them remotely with Apple Remote Desktop, but the port forwarding on the airport only allows a port to forward to a single IP.   I want to be able to tunnel into the office network and log onto any machine behind the Airport extreme... not just a single IP.    I currently have it set up where I can tunnel into the office from my house, I can find the one machine that the port forwarding has been assigned to, I can log on and everything is just fine... with one machine.    How do I open the firewall for the other machines? 
    TL,DR version:  How do you open ports on an Airport Extreme Base Station instead of forwarding ports?   Forwarding ports doesn't work for multiple IP's.  

    You can open a single or multiple ports to a single device or different ports to different devices, but you cannot open the same port to multiple devices via the AirPort Utility for the Apple routers.

  • Can I listens to the same port in differernt threads on the same computer

    Q1:can I listens to the same port in differernt threads on the same computer?
    Q2:if I use two thread to listen to two different port, you know, as the method for listening is a block method, will them block each other?
    Thank you very much!

    Q1:can I listens to the same port in differernt
    threads on the same computer?If you mean ServerSocket.accept(), the answer is yes.
    Q2:if I use two thread to listen to two different
    port, you know, as the method for listening is a
    block method, will them block each other?No.

  • Allow Multiple Computers Access To The Same Port

    I just received my AEBS in the mail this afternoon & set it up in no time. My college house has two Xbox 360s connected to the AEBS & I would like to open the NAT ports on both. I'm able to successfully forward the ports to allow an open NAT for one Xbox, but the Airport utility doesn't allow me to open the same ports for the other Xbox.
    Is there a way to open a port to everyone connected to the router, or maybe a way to open a specific port used by multiple Private IP Addresses?

    Sorry, but no. Port mapping forwards inbound a single, or range, of ports (in one definition) to one single machine only. So, for example, you could not map port 25 to multiple email servers on your LAN. However, you could map port 25 (for email) and port 80 (for web) to a single device.

  • How to forward the same ports for multiple IPs?

    Hi all, I just bought a Linksys WRT54GS router and I would like to forward the same set of ports for two different computers on my network (192.168.1.101 and 192.168.1.3) however when I try to, I get a "Port Overlap" error. Is there another way I can do this? I am trying to set up Age of Empires II. Thanks for any help!

    No.  You cannot forward the same port to two different computers  (or IP addresses).  
    Here's the reason why:
    You and your friend are both playing the game online.  You score 1000 points.  Your friend scores 10 points.  The signal to increase your score 1000 points arrives on port 3078.  Which computer is the router supposed to send this signal to?  Both computers?   No way!
    Most online games have a way to assign different ports to different computers.  For example, you might use ports 3075 thru 3078, while your friend uses ports 3175 thru 3178.  If your game is setup this way, it should work.
    Also, you will want to forward ports to a fixed LAN IP address.  In your WRT54GS, note that any fixed LAN IP address must be outside the DHCP server range, and it cannot end in 0, 1, or 255.   So the 192.168.1.101  address is probably an illegal fixed LAN IP address.
    Here are all the Linksys rules for using fixed LAN IP addresses:
    With Linksys routers, a fixed (static) LAN IP addresses must be assigned in the device that is using the address. So you need to enter the fixed address in the computer or printer, not in the router.
    When using a Linksys router, any fixed LAN IP address must be outside the DHCP server range (typically 192.168.1.100 thru 192.168.1.149), and it cannot end in 0, 1, or 255.
    Therefore any fixed LAN IP address would normally need to be in the range of
    192.168.1.2 thru 192.168.1.99 or
    192.168.1.150 thru 192.168.1.254
    assuming you are still using the default DHCP server range.
    Also, in the computer, when you set up a static LAN IP address, you would need to set the "Subnet mask" to 255.255.255.0 and the "Default Gateway" to 192.168.1.1 and "DNS server" to 192.168.1.1
    It is also important that no two devices on your network be set to the same static LAN IP address.
    Typically, when I setup gamers, I put thier fixed addresses all together at 192.168.1.21 , 192.168.1.22, etc.   But you can use any legal fixed addresses that you want.

  • Running multiple versions of iTunes on the same PC?

    I like to always have the latest version of iTunes on my machine, but I also need to keep an older version (7.5 or lower) on my machine for compatibility reasons (please don't ask why - I just do). Is it possible to install multiple versions of iTunes on the same PC (using XP and/or Vista)? If this is not possible by simply installing in different folders, I'm guessing that I can use this "virtualization" that I've been hearing about. I've used Parallels on a Macbook before, but what can I use to create a virtual machine on a PC? Is there a free program that does this?
    Any help would be greatly appreciated.

    Virtual PC can do it, but it's not free. I think VMware as well, but likely not free. Actually, it seems you can evaluate VMware:
    http://www.vmware.com/download/

  • Two applications wants to read on the same port using Socket

    I have an application running on one machine using TCP/IP socket. The data transfer with the other application on other machine is in ASCII.
    Now I want a new application that can have a copy of data received and sent on the given port, where the previous application is running.
    Is it possible in Java using socket and TCP/IP to have two application reading data from the same port and both can read all the data.

    Even when you don't state the type of app which need to read the data stream (is it a server or a client app???), it's impossible to share a single TCP/IP socket among multiple apps.
    Perhaps the best thing to do is to develop something like a proxy server who listens on the nominated port and provides to contact (if your apps are server ones) or to be contacted (if your apps are client ones) by the desired apps.
    This way, the only job for the proxy is to duplicate the contents of the data stream and make them available to all the apps engaged.
    Hope this helps.

  • Creating a serverSocket while sonnecting to a socket on the same port

    I want to make a file transfer application for multiple clients, there will not be a server that users will connect to, the application serves as client AND server, every client will have a serversocket object listen for new connections (it will recieve a connection when someone wants to send a file to them) and I will also have a socket object that will connect to a client when I want to send a file to them.
    Is it possible to run all these connections on a single port? Or will there be a conflict?

    836981 wrote:
    I want to make a file transfer application for multiple clients, there will not be a server that users will connect to, the application serves as client AND server, every client will have a serversocket object listen for new connections (it will receive a connection when someone wants to send a file to them)Read up on peer-to-peer.
    and I will also have a socket object that will connect to a client when I want to send a file to them.A new socket for each outbound connection.
    Is it possible to run all these connections on a single port?Yes. A serversocket listens for connections to a specific port number, it can accept many connections.
    Or will there be a conflict?No. Your outbound connections will not use the same port number locally.
    You are more likely to encounter problems with clients (peers) behind NAT routers.

  • Multiple instances of OC4J on the same machine

    Is there a way to cofigure OC4J to have a few processes on the same machine, all listening to the same ports?
    My purpose is to develope and deploy a few applications on the same machine, and each application should has its own process, so if onw fails or restarts, it will not effect the other applications and the other programmers.
    I don't want to make each application to be bounded to differnt port.
    is it possible ?

    Two instances of oc4j cannot listen to the same port...you will
    get an error.
    To do this, you will need to cluster oc4j. This is fairly easy,
    but you app needs to be "clusterable". All classes need to be
    serializable which are used by your servlets. The
    <distributable /> tag needs to be in your web.xml file. No
    stateful session beans can be used. (sorry, but oc4j doens't yet
    support clustering with sfsb's).
    The second step is that your default-web-site.xml or *-web-
    site.xml file should be set up for clustering. Do this by
    creating a cluster-island attribute in your web-site tag. Also
    change the port from 8000 to something like 8080 or 8090 or
    something else. It should look like this:
    <web-site host="192.168.1.101" port="8080" display-name="some-
    name" cluster-island="1">
    <default-web-app application="someapp" name="someappname" />
    <frontend host="192.168.1.101" port="8000" />
    <access-log path="../log/some-web-access.log" />
    </web-site>
    Your server.xml and application.xml will be the same as when you
    don't cluster.
    Make sure you have 3 different copies of your j2ee/home
    directories...of course with different names....like home1 and
    cluster.
    Edit the rmi.xml and jms.xml files to change the port number
    that the home1 oc4j will listen to. The jms port is usually 9127
    by default, so use 9128. The rmi port is 23791, so change it to
    21792. This will keep the rmi and jms servers from conflicting.
    Make sure that the home1 config/default-web-site.xml uses a
    different port than 8080, say 8090, but the cluster-island name
    is still 1.
    Open terminal windows for each instance of oc4j, and start them
    in the normal way.... java -jar orion.jar
    Open a terminal window for the j2ee/cluster, and issue this
    command:
    java -jar loadbalancer.jar -host 192.168.1.101 -port 8000
    You should see that each of your oc4j instances are recognized.
    There...that wasn't so bad, was it?
    regards,
    the elephantwalker
    www.elephantwalker.com

  • How to make two PCs (one local, one remote) control the same running vi at the same time?

    Hi Labviewers,
    I have a vi running, and two PCs are monitoring it, one is local and another one is remote.
    I can see the remote front panel at the remote machine by using application property node, but it seems only one of the two PCs has the control of the running VI at the same time.
    Is there any way to make the two PCs both have the control of the same vi at the same time?  Switching back and forth the control between two PCs is really annoying.
    Thanks a lot for any help.
    Anne

    What exactly are you trying to control?
    Perhaps another approach? You could use "Shared Variables" from LV 8.0 and have a copy of the writer VI on each of the control PCs edit the value on the host PC. But as soon as I post, someone is going to talk about multiple writers to shared resources being a bad idea.... so just be careful or you may try to edit a value that has already been changed.
    Matt Holt
    Certified LabVIEW Architect

  • Can you do Digital In or Out on the same port (byte) as PFI timing?

       I'm using an M series board with three digital ports.  Port 0 is only for DIO, ports 1 and 2 can be used for DIO or PFI (e.g. clocking, triggering).  My question is:  can I do both DIO and PFI functions on any one port.  For example, on Port 1, I would like to use bits 0 to 6 as Digital Inputs and have an external clock signal go into bit 7 as a clock for Analog Out.  Can the port be mixed like this?
    Thanks,
       Dave
    David Thomson Original Code Consulting
    www.originalcode.com
    National Instruments Alliance Program Member
    Certified LabVIEW Architect
    There are 10 kinds of people: those who understand binary, and those who don't.

    Dave,
    The DIO lines on any DAQ device that uses the DAQ-STC ASIC can be configured on a per line basis, so using PFI and DIO lines on the same port will work just fine. 
    You can run a quick test on this using the "Gen Dig Pulse.vi" example (found in the NI Example Finder under Browse -> Hardware Input and Output -> DAQmx -> Generate Digital Pulses).  You should be able to generate a pulse on one of the PFI lines on the board, then read that pulse back in on one of the DIO lines of that port using an external connection.
    -Justin

  • Strange behaviour: two servers on the same port

    Hi!
    I hope this is the right section for this post. I need help about a strange behaviour involving a ServerSocket.
    For my thesis I need to write a program that receives data from a pre-existing DSMS client, filters them and then sends them to a pre-existing DSMS server. And here is my problem: if I try to create a ServerSocket on the same port of the DSMS server, my program throws no exception, and the servers seem running on the same port. This is a behaviour that I'd like to avoid, but I cannot understand what the problem is. Can you help me?
    The source code of the DSMS server can be found here (it's written in C++): http://infolab.stanford.edu/stream/code/stream-0.6.0.tar.gz
    The source code of my server class, instead, is this one:
    import java.io.*;
    import java.net.*;
    public class ThreadGenerator {
         private ServerSocket server;
         public void connect(String servPort, String cHost, String cPort) {
              try {
                   server = new ServerSocket(servPort);
                   System.out.println("SERVER running on port "+servPort);
              } catch (BindException e) {
                   System.out.println("Address already in use!");
              } catch (Exception e) {
                   System.err.println(e);
              try {
                   while(true){
                        Socket client = server.accept();
                        StreamThread T = new StreamThread(client, cHost, cPort);
                        T.start();
              } catch (EOFException e) {
                   System.out.println("Server closed connection!");
              } catch (Exception e) {
                   System.err.println(e);
    }I'm programming on Mac OSX Tiger, with Java 1.5.0.
    Thanks in advance for your help.

    The problem is still happening to me, I tried in this very moment. The code I'm using is the one I posted, and the second server is the one that I linked. I don't think there's anything else to add.
    If you're sure that the problem is not in my code, then it means that it is in the linked server, which partially solves the problem. But I'd like to know, if it's possibile, if there is any other way to check if the port is already in use.

Maybe you are looking for

  • HT201209 How to get an itunes gift card code, no need to wait for shipping

    Good day to all, I want to get an itunes gift card just to download whatsapp on my iphone 3gs. I have my credit card but the billing address is in Haiti, unfortunately Haiti is not in your list of  countries. How can I get itunes gift card code immed

  • How can I copy a very large iMovie file (10.08 GB) onto a disc?

    I have an imovie project of my daughters wedding and I would like to put it on a disc for her, however, it is so big ( 10.08GB) that I can't find a DVD disc big enough. I bought a 16GB USB drive thinking I could copy it to that but my iMac says that

  • Issue in SAP_XI_IDOC/IDOCXmlToFlatConvertor

    hi, i am working with IDOCXmlToFlatConvertor to convert my IDOC to Flat file. i am expecting the data as below with EDIDC40 EDI_DC40                           Z_EC_ENQUIRY_CREATION                                   Z_EC_ENQUIRY_CREATION_TMS          

  • **Urgent**: GO_ITEM to pop-up CANVAS with IMAGE in Sun JRE gives error

    Our Forms 10g Environment is this: Forms [32 Bit] Version 10.1.2.0.2 (Production) using Sun JRE i.e. Java Plug-in 1.6.0_06 Problem is that when we try to navigate to a canvas (from a Button) which has an IMAGE ITEM the form is exited. This happens in

  • Is it possible to batch change multiple file extensions

    Is there a way to batch change file extensions? I have more than 150 files on which I need to change the extension and it's a bit of a pain to do each one separately and then have to confirm it. Thanks!