<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: oracle listener question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697776#M947211</link>
    <description>Thanks for all the prompt replies.&lt;BR /&gt;&lt;BR /&gt;I agree with you but my question is why&lt;BR /&gt;netstat -an does not show me the connection&lt;BR /&gt;Dbserver.redirected_port &amp;lt;--&amp;gt; client.port&lt;BR /&gt;&lt;BR /&gt;What it does shows is&lt;BR /&gt;Dbserver.listener_port &amp;lt;--&amp;gt; client.port&lt;BR /&gt;&lt;BR /&gt;Thanks a lot !&lt;BR /&gt;&lt;BR /&gt;PS :I will assign points later</description>
    <pubDate>Fri, 05 Apr 2002 17:24:59 GMT</pubDate>
    <dc:creator>Aashish Raj</dc:creator>
    <dc:date>2002-04-05T17:24:59Z</dc:date>
    <item>
      <title>oracle listener question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697770#M947205</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to find out how oracle listener works.My understandning is that when a request comes to listener, listener will fork and executesoracle{ORACLE_SID} process which will send itsport to the client process.So now all the request for that client will come to this port instead of listener port(1521).That is why even if i shutdown the listener now, the existing connection will not be impacted.&lt;BR /&gt;&lt;BR /&gt;I am not able to confirm this with netstat -an command.What i see just the connectionbetween&lt;BR /&gt;Host.port and client.port where port for database server is always 1521(listener port).&lt;BR /&gt;&lt;BR /&gt;am i misinterpreting this.&lt;BR /&gt;&lt;BR /&gt;Thanks !</description>
      <pubDate>Fri, 05 Apr 2002 07:47:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697770#M947205</guid>
      <dc:creator>Aashish Raj</dc:creator>
      <dc:date>2002-04-05T07:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: oracle listener question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697771#M947206</link>
      <description>Try lsof -i:1521&lt;BR /&gt;&lt;BR /&gt;or UNIX95=1 ps -eflH | more which will show processes in hierarchy so that you can verify which processes follow the listener process. &lt;BR /&gt;&lt;BR /&gt;Or tusc -p PID. where PID=listenerpid. Include&lt;BR /&gt;the "follow forks" option.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Apr 2002 08:34:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697771#M947206</guid>
      <dc:creator>Tore_1</dc:creator>
      <dc:date>2002-04-05T08:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: oracle listener question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697772#M947207</link>
      <description>You're absolutely correct.  All the listener does is accept the connection and fork an oracle server process for the requested instance.  Once the connection is established all communication occurs directly between the client and the server process over the TCP socket using the net*8 protocol.&lt;BR /&gt;&lt;BR /&gt;If the listener is not running you will not be able to establish new connections but existing ones will be unaffected.&lt;BR /&gt;&lt;BR /&gt;As Tore suggested the 'tusc' utility is great for giving you an idea how things work.  &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
      <pubDate>Fri, 05 Apr 2002 08:46:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697772#M947207</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2002-04-05T08:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: oracle listener question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697773#M947208</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you're right following from Net8 admin guide:&lt;BR /&gt;1. The listener is started and listens on an address specified in a listener&lt;BR /&gt;configuration file.&lt;BR /&gt;2. The listener then spawns a series of dedicated server processes until it reaches&lt;BR /&gt;the specified pool size defined in its configuration file.&lt;BR /&gt;3. Each spawned server process performs a partial address listen and provides the&lt;BR /&gt;listener with the partial address that it is listening on. The listener initially&lt;BR /&gt;marks all prespawned servers as idle.&lt;BR /&gt;4. The client sends a connect request to the listener.&lt;BR /&gt;5. The listener receives the network session request, and determines if the client???s&lt;BR /&gt;request may be serviced. If not, the listener refuses the network session and&lt;BR /&gt;then resumes at Step 9.&lt;BR /&gt;6. The listener issues a redirect message to the client containing one of the&lt;BR /&gt;network addresses of the prespawned servers. The listener logs that server as&lt;BR /&gt;active.&lt;BR /&gt;7. The client dissolves the network session to the listener and establishes a&lt;BR /&gt;network session to the prespawned server using the address provided in the&lt;BR /&gt;redirect message.&lt;BR /&gt;8. The listener spawns another server process to replace the active prespawned&lt;BR /&gt;server (provided a value called PRESPAWN_MAX in the listener configuration&lt;BR /&gt;file is greater than the number of prespawned server processes active and idle).&lt;BR /&gt;9. The listener continues listening for incoming network sessions.</description>
      <pubDate>Fri, 05 Apr 2002 08:59:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697773#M947208</guid>
      <dc:creator>Printaporn_1</dc:creator>
      <dc:date>2002-04-05T08:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: oracle listener question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697774#M947209</link>
      <description>OK a bit of conflicting information... both are correct, it actually depends on whether you are using MTS (multi-threaded server) or not.  I described the dedicated server connection method above, where each client has its own server process.  If you're using MTS (as printaporn described) the dispatcher becomes involved and it is a little more complicated because server processes handle multiple client connections.&lt;BR /&gt;&lt;BR /&gt;Here's a link to the part of the Net*8 admin guide that describes this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/network.817/a76933/concepts.htm#1011542" target="_blank"&gt;http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/network.817/a76933/concepts.htm#1011542&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
      <pubDate>Fri, 05 Apr 2002 09:54:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697774#M947209</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2002-04-05T09:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: oracle listener question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697775#M947210</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Due to this port redirection you have to be aware when planning connections thru a firewall.&lt;BR /&gt;You have to use compatible Firewall software that can handle this or use Oracle Connection Manager.&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;Andreas&lt;BR /&gt;&lt;BR /&gt;Hei Tore, hyggelig med flere nordmenn her...</description>
      <pubDate>Fri, 05 Apr 2002 10:27:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697775#M947210</guid>
      <dc:creator>Andreas D. Skjervold</dc:creator>
      <dc:date>2002-04-05T10:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: oracle listener question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697776#M947211</link>
      <description>Thanks for all the prompt replies.&lt;BR /&gt;&lt;BR /&gt;I agree with you but my question is why&lt;BR /&gt;netstat -an does not show me the connection&lt;BR /&gt;Dbserver.redirected_port &amp;lt;--&amp;gt; client.port&lt;BR /&gt;&lt;BR /&gt;What it does shows is&lt;BR /&gt;Dbserver.listener_port &amp;lt;--&amp;gt; client.port&lt;BR /&gt;&lt;BR /&gt;Thanks a lot !&lt;BR /&gt;&lt;BR /&gt;PS :I will assign points later</description>
      <pubDate>Fri, 05 Apr 2002 17:24:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697776#M947211</guid>
      <dc:creator>Aashish Raj</dc:creator>
      <dc:date>2002-04-05T17:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: oracle listener question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697777#M947212</link>
      <description>On our Oracle servers, netstat shows the established SQLNet connections listed as such:&lt;BR /&gt;&lt;BR /&gt;tcp   0  0  hostname.1748  10.2.21.57.4459    ESTABLISHED&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Apr 2002 19:06:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697777#M947212</guid>
      <dc:creator>Tom Danzig</dc:creator>
      <dc:date>2002-04-05T19:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: oracle listener question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697778#M947213</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Which oracle version u are using.&lt;BR /&gt;I am using oracle 817 and what i see is all the connection from sqlnet client have a socket open at listener port(1521).This is the only socket opened by these sqlnet client.&lt;BR /&gt;&lt;BR /&gt;Am i missing something .I am using netstat -an command to get the list of sockets.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Sun, 07 Apr 2002 18:32:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697778#M947213</guid>
      <dc:creator>Aashish Raj</dc:creator>
      <dc:date>2002-04-07T18:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: oracle listener question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697779#M947214</link>
      <description>This is normal, especially if you are using a dedicated server configuration.  In the MTS case, the documentation talks about the 'direct hand-off' if the dispatcher and listener are local (running on the same system).  In this situation the original TCP connection is used in communication between the client and dispatcher, which also explains what you are seeing.  &lt;BR /&gt;&lt;BR /&gt;Please have a good read of the relevant section of the Net8 admin guide (see the link in my previous post).  &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
      <pubDate>Mon, 08 Apr 2002 07:20:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697779#M947214</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2002-04-08T07:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: oracle listener question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697780#M947215</link>
      <description>netstat shows the actual connections status.&lt;BR /&gt;&lt;BR /&gt;As in Andreas' case, there was no re-directed port.&lt;BR /&gt;There are enough explaination previously.&lt;BR /&gt;&lt;BR /&gt;--Eric</description>
      <pubDate>Wed, 01 May 2002 15:12:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697780#M947215</guid>
      <dc:creator>Eric Z</dc:creator>
      <dc:date>2002-05-01T15:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: oracle listener question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697781#M947216</link>
      <description>My bad. I meant Aashish Raj's case, not Andreas'.&lt;BR /&gt;&lt;BR /&gt;I do have a question for Andreas, as he mentioned connection through firewall.&lt;BR /&gt;Where can I find relevant articles? Thanks.</description>
      <pubDate>Wed, 01 May 2002 15:18:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697781#M947216</guid>
      <dc:creator>Eric Z</dc:creator>
      <dc:date>2002-05-01T15:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: oracle listener question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697782#M947217</link>
      <description>Aashish,&lt;BR /&gt;&lt;BR /&gt;netstat is a childs toy compared to "lsof". &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.61/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.61/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 01 May 2002 15:21:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-listener-question/m-p/2697782#M947217</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-05-01T15:21:36Z</dc:date>
    </item>
  </channel>
</rss>

