<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Doug's Oracle Blog (Entries tagged as listener)</title>
    <link>http://oracledoug.com/serendipity/</link>
    <description></description>
    <dc:language>en</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:doug@oracledoug.com" />
    <generator>Serendipity 1.5.2 - http://www.s9y.org/</generator>
    <managingEditor>Doug Burns</managingEditor>
<webMaster>Doug Burns</webMaster>
<pubDate>Thu, 11 Jun 2009 03:16:25 GMT</pubDate>

    <image>
        <url>http://oracledoug.com/serendipity/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Doug's Oracle Blog - </title>
        <link>http://oracledoug.com/serendipity/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Listener bug - Part 2</title>
    <link>http://oracledoug.com/serendipity/index.php?/archives/1272-Listener-bug-Part-2.html</link>
    
    <comments>http://oracledoug.com/serendipity/index.php?/archives/1272-Listener-bug-Part-2.html#comments</comments>
    <wfw:comment>http://oracledoug.com/serendipity/wfwcomment.php?cid=1272</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://oracledoug.com/serendipity/rss.php?version=2.0&amp;type=comments&amp;cid=1272</wfw:commentRss>
    

    <author>dougburns@yahoo.com (Doug Burns)</author>
    <content:encoded>
    Work is a little busy at the moment, but I had time to look at this a bit more today ...&lt;br /&gt;&lt;br /&gt;
Many thanks for the useful follow-up comments on &lt;a href=&quot;http://oracledoug.com/serendipity/index.php?/archives/1271-10.2.0.2-Listener-bug,-new-child-listener-process-forked.html&quot;&gt;the last posting&lt;/a&gt;. They were very interesting and if I&#039;d picked them up in some of my Google searches, we might have solved the problem more quickly, although I would re-emphasise a couple of general points :-&lt;br /&gt;&lt;br /&gt;1) This particular problem is nothing to do with RAC, in as much as the server concerned is not part of a cluster, so this is just as likely to happen on a single instance/node.&lt;br /&gt;&lt;br /&gt;2) What&#039;s irritating about this is that it&#039;s because the Listener is configured to use ONS by default, even if we&#039;re unlikely to be interested in using it in a single-instance environment. (Actually, is that true? I&#039;ll come back to that.)&lt;br /&gt;&lt;br /&gt;What I neglected to mention last time is that there is another work-around mentioned in the various Metalink notes. We can rename the ons.config file so that the Listener won&#039;t see it and try to start ONS. This is from my server at home.&lt;br /&gt;&lt;br /&gt; 
&lt;pre&gt;Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
$ cd $ORACLE_HOME/opmn/conf
$ ls -ltra
total 6
drwxr-x---   7 oracle   oinstall     512 Oct  7  2006 ..
-rw-------   1 oracle   oinstall      44 Oct  7  2006 ons.config
drwx------   2 oracle   oinstall     512 Oct  7  2006 .
$ cat ons.config
localport=6100
remoteport=6200
loglevel=3&lt;/pre&gt;&lt;br /&gt; So I could just rename ons.config and restart the Listener and that should fix it. &lt;br /&gt;&lt;br /&gt;However, I much prefer the original solution I mentioned. Rather than renaming configuration files in the ORACLE_HOME with no obvious reason why (which seems a bit of a hack to me), I prefer having the parameter in listener.ora which explicitly disables the subscription, with a comment explaining why it&#039;s there. e.g.&lt;br /&gt;&lt;br /&gt; 
&lt;pre&gt;# Workaround for bug 4518443 - should be fixed in 10.2.0.3
SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF&lt;/pre&gt;&lt;br /&gt;Better still, just patch to the right level, but we found the listener change less risky and faster to implement. It went in last night although I&#039;m glad to say it wasn&#039;t me that made the change - thanks Richard &lt;img src=&quot;http://oracledoug.com/serendipity/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;&lt;br /&gt;Oh, yes, so why do Oracle configure this even in a non-RAC environment? Well, for all I know it&#039;s just a mistake, but it occurred to me that just because it&#039;s single-instance and it might not be so useful, maybe an application would want to use FAN? Maybe not. 
    </content:encoded>

    <pubDate>Thu, 24 May 2007 00:33:27 +0100</pubDate>
    <guid isPermaLink="false">http://oracledoug.com/serendipity/index.php?/archives/1272-guid.html</guid>
    <category>listener</category>

</item>
<item>
    <title>10.2.0.2 Listener bug, new child listener process forked</title>
    <link>http://oracledoug.com/serendipity/index.php?/archives/1271-10.2.0.2-Listener-bug,-new-child-listener-process-forked.html</link>
    
    <comments>http://oracledoug.com/serendipity/index.php?/archives/1271-10.2.0.2-Listener-bug,-new-child-listener-process-forked.html#comments</comments>
    <wfw:comment>http://oracledoug.com/serendipity/wfwcomment.php?cid=1271</wfw:comment>

    <slash:comments>16</slash:comments>
    <wfw:commentRss>http://oracledoug.com/serendipity/rss.php?version=2.0&amp;type=comments&amp;cid=1271</wfw:commentRss>
    

    <author>dougburns@yahoo.com (Doug Burns)</author>
    <content:encoded>
    Today I solved a nasty intermittent problem we&#039;d been having on one of our Production servers so I thought I&#039;d blog about it here in case it saves someone else some pain. The symptoms were&lt;br /&gt;&lt;br /&gt;
&lt;p&gt;1) No-one was able to connect to the database.&lt;/p&gt;
&lt;p&gt;2) There were two listener processes running, which was apparent from a ps-ef|grep tns&lt;/p&gt;
&lt;pre&gt;oracle 2647896 1495262  1 May 18 -  0:00 /oem/oracle/product/10.2/bin/tnslsnr LISTENER 
						-inherit 
oracle 1495262       1  1 May 13 -  2:32 /oem/oracle/product/10.2/bin/tnslsnr LISTENER 
						-inherit &lt;/pre&gt;&lt;br /&gt;(Note the different start times and the later process was definitely not started manually.)&lt;br /&gt;&lt;br /&gt;This had happened once or twice and we found that when we killed the child listener (note that one listener&#039;s parent process ID is the process id of the other) everything worked correctly.&lt;br /&gt;&lt;br /&gt;This time I had a good look through the listener.log and noticed these warning messages related to the ONS service, even though we&#039;re not using RAC.&lt;br /&gt;&lt;br /&gt;
&lt;pre&gt;WARNING: Subscription for node down event still pending&lt;/pre&gt;&lt;br /&gt;It took a while to track it down, but it turns out that this is a known, but unpublished bug number 4518443 in 10.2.0.2 (and no doubt previous versions), fixed in 10.2.0.3. For those of you with Metalink accounts, the relevant note is &lt;a href=&quot;http://tinyurl.com/39q29h&quot;&gt;here&lt;/a&gt;. You can either apply patch 4518443 or, as a temporary workaround, disable that service by adding the following to your listener.ora configuration and restarting the listener.&lt;br /&gt;&lt;br /&gt;
&lt;pre&gt;SUBSCRIBE_FOR_NODE_DOWN_EVENT_&amp;lt;&lt;em&gt;listener_name&lt;/em&gt;&amp;gt;=OFF&lt;/pre&gt; 
    </content:encoded>

    <pubDate>Mon, 21 May 2007 22:04:01 +0100</pubDate>
    <guid isPermaLink="false">http://oracledoug.com/serendipity/index.php?/archives/1271-guid.html</guid>
    <category>listener</category>

</item>

</channel>
</rss>