﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals / Oracle Forum / ORA - Oracle Database Error Codes - Search via specific error codes. / ORA-20000 Through ORA-29968  / ORA-28030: Server encountered problems accessing LDAP directory service / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals</description><link>http://www.franklinfaces.com/</link><webMaster>no-reply@FranklinFaces.com</webMaster><lastBuildDate>Fri, 10 Feb 2012 23:25:49 GMT</lastBuildDate><ttl>20</ttl><item><title>ORA-28030: Server encountered problems accessing LDAP directory service</title><link>http://www.franklinfaces.com/Topic162-56-1.aspx</link><description>I am getting the following error messages:&lt;P&gt;H:\&amp;gt;sqlplus &lt;A href="mailto:produser@proddb"&gt;produser@proddb&lt;/A&gt;&lt;/P&gt;&lt;P&gt;SQL*Plus: Release 10.2.0.3.0 - Production on Mon Oct 26 13:58:12 2009&lt;/P&gt;&lt;P&gt;Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.&lt;/P&gt;&lt;P&gt;Enter password:&lt;BR&gt;ERROR:&lt;BR&gt;ORA-28030: Server encountered problems accessing LDAP directory service&lt;/P&gt;&lt;P&gt;My sqlnet.ora and ldap.ora shows the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;sqlnet.ora&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;ldap.ora&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;DIRECTORY_SERVERS= (oid1p.iam.com:389:636,oid2p.iam.com:389:636,oid3p.iam.com:389:636)&lt;/P&gt;&lt;P&gt;DEFAULT_ADMIN_CONTEXT = "dc=iam,dc=com"&lt;/P&gt;&lt;P&gt;DIRECTORY_SERVER_TYPE = OID&lt;/P&gt;&lt;P&gt;I couldn't figure out what was going on.  Every userid that was idnetified GLOBALLY was having this same error message:&lt;/P&gt;&lt;P&gt;Enter password:&lt;BR&gt;ERROR:&lt;BR&gt;ORA-28030: Server encountered problems accessing LDAP directory service&lt;/P&gt;&lt;P&gt;I was able to login to other remote servers from the database server using ldap entries.  Didn't make sense.  &lt;/P&gt;&lt;P&gt;Finally after numerous attempts, this is what I did to fix it.   I had started up the database with the wrong ORACLE_BASE set.  It was set to following :   ORACLE_BASE=/oracle     It should have been set to :  ORACLE_BASE=/u01/oracle&lt;/P&gt;&lt;P&gt;Then I shutdown and restart the database and the user was able to login.    The reason why this was the issue was because the wallet was under /u01/oracle/admin/&amp;lt;sid&amp;gt;/wallet directory and it couldn't find it.&lt;/P&gt;&lt;P&gt;&lt;BR&gt;Now you can also set something similar in your sqlnet.ora if possible so you prob. don't have to restart your database:&lt;/P&gt;&lt;P&gt;WALLET_LOCATION=  &lt;BR&gt;  (SOURCE=&lt;BR&gt;      (METHOD=file)&lt;BR&gt;      (METHOD_DATA=  &lt;BR&gt;         (DIRECTORY=/u01/oracle/admin/wallets)))&lt;/P&gt;&lt;P&gt;You can also run this command to check if your wallet is open:&lt;/P&gt;&lt;P&gt;select * from system.is_wallet_open;&lt;/P&gt;&lt;P&gt;You'll get something like : &lt;/P&gt;&lt;P&gt;WALLET_STATUS&lt;BR&gt;-------------&lt;BR&gt;            1&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;BR&gt; </description><pubDate>Mon, 26 Oct 2009 14:21:23 GMT</pubDate><dc:creator>Admin</dc:creator></item></channel></rss>
