<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>ORA-12529 on A Blog on Oracle and Stuff</title>
    <link>https://enesi.no/tag/ora-12529/</link>
    <description>Recent content in ORA-12529 on A Blog on Oracle and Stuff</description>
    <image>
      <title>A Blog on Oracle and Stuff</title>
      <url>https://enesi.no/images/enesi_logo.jpg</url>
      <link>https://enesi.no/images/enesi_logo.jpg</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>Enesi Consulting AS</copyright>
    <lastBuildDate>Wed, 27 Aug 2008 22:33:00 +0200</lastBuildDate>
    <atom:link href="https://enesi.no/tag/ora-12529/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Connection Manager and ORA-12529</title>
      <link>https://enesi.no/2008/08/connection-manager-and-ora-12529/</link>
      <pubDate>Wed, 27 Aug 2008 22:33:00 +0200</pubDate>
      <guid>https://enesi.no/2008/08/connection-manager-and-ora-12529/</guid>
      <description>&lt;p&gt;A simple configuration with Oracle Connection Manager (CMAN) did not work, I constantly received ORA-12529 when trying to connect with sqlplus to a database through CMAN. After checking cman.ora over and over and browsing all the trace files I finaly dived into one and found a problem with host name resolving. Turned out that the host name defined in /etc/hosts on the database server was not known outside the server. The database, I assume, did a lookup on the ip number in local /etc/hosts and sent the host name to CMAN when registering. The fact that I had used ip-numbers in the local listener.ora and tnsnames.ora did not change that behavior. A properly DNS would have saved me this, the solution was to define the database server name in local host file on server where CMAN is running.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>A simple configuration with Oracle Connection Manager (CMAN) did not work, I constantly received ORA-12529 when trying to connect with sqlplus to a database through CMAN. After checking cman.ora over and over and browsing all the trace files I finaly dived into one and found a problem with host name resolving. Turned out that the host name defined in /etc/hosts on the database server was not known outside the server. The database, I assume, did a lookup on the ip number in local /etc/hosts and sent the host name to CMAN when registering. The fact that I had used ip-numbers in the local listener.ora and tnsnames.ora did not change that behavior. A properly DNS would have saved me this, the solution was to define the database server name in local host file on server where CMAN is running.</p>
<p>This means that receiving ORA-12529 does not necessarily mean that there is something wrong with your rules. 12529 seems to be a kind of &lsquo;catch all error&rsquo; when rule filtering fails. Look for nprffilter: entry in the trace file and start reading from there. I found this:</p>
<pre tabindex="0"><code>  
snlinGetAddrInfo: entry  
snlinGetAddrInfo: Invalid IP address string FOO  
snlinFreeAddrInfo: entry  
snlinFreeAddrInfo: exit  
snlinGetAddrInfo: exit  
snlinGetAddrInfo: entry  
snlinGetAddrInfo: Name resolution failed for FOO  
snlinFreeAddrInfo: entry  
snlinFreeAddrInfo: exit  
snlinGetAddrInfo: exit  
nprffilter: Unable to resolve to IP  
nprffilter: exit  
nsglbfok: no rule match or an error from nprffilter  
nsglbfok: exit  
</code></pre><p>(Real hostname replaced and timestamps removed). Looking for 12529 or whatever code you receive in the trace-file and start reading backwards is also an option.</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
