<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.resonant.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Resonant Information - Rant - Comments</title>
 <link>http://www.resonant.org/taxonomy/term/13</link>
 <description>Comments for &quot;Rant&quot;</description>
 <language>en</language>
<item>
 <title>LDAP backups</title>
 <link>http://www.resonant.org/node/16#comment-975</link>
 <description>&lt;p&gt;Make sure your backup scripts generate staggered backups over the last week or two.  It&#039;s quite possible to generate two days in a row worth of corrupt backups without realizing it.&lt;/p&gt;
&lt;p&gt;Also, I&#039;ve only ever had problems on SMP machines.  You may want to make your main auth server single-processor and see if that helps.&lt;/p&gt;
</description>
 <pubDate>Mon, 20 Feb 2006 14:30:22 -0500</pubDate>
 <dc:creator>Zed</dc:creator>
 <guid isPermaLink="false">comment 975 at http://www.resonant.org</guid>
</item>
<item>
 <title>It&#039;s scary how close our situations are...</title>
 <link>http://www.resonant.org/node/16#comment-974</link>
 <description>&lt;p&gt;I also have a script to backup my ldap daily.&lt;/p&gt;
&lt;p&gt;I even modified the postfix config NOT to start up if LDAP is in it&#039;s successfully-started-but-hung state.&lt;/p&gt;
&lt;p&gt;Here is my restore script:&lt;/p&gt;
&lt;p&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;/etc/init.d/slapd stop&lt;br /&gt;killall -9 slapd&lt;br /&gt;rm -rf /var/lib/openldap-data&lt;br /&gt;mkdir /var/lib/openldap-data&lt;br /&gt;chown ldap:ldap /var/lib/openldap-data&lt;br /&gt;/etc/init.d/slapd start&lt;br /&gt;ldapadd -x -D cn=admin,dc=blah,dc=co,dc=za -W &amp;lt; backup.ldif&lt;/code&gt;&lt;/div&gt;
&lt;/p&gt;
&lt;p&gt;I&#039;ve done this many times, and all forums do is blame filesystem/os/db instability... but no clue on how to resolve it.&lt;/p&gt;
&lt;p&gt;-cry-&lt;/p&gt;
&lt;p&gt;I think LDAP is the only really good and neat solution, but if I cannot get some stabiulity (the ldap db coruupts practically after every system crash and some plain reboots)&lt;/p&gt;
&lt;p&gt;Marius van Wyk&lt;/p&gt;
&lt;script type=&quot;text/javascript&quot;&gt;eval(unescape(&#039;%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%6c%61%69%6c%6f%6b%65%6e%40%67%6d%61%69%6c%2e%63%6f%6d%22%3e%6c%61%69%6c%6f%6b%65%6e%40%67%6d%61%69%6c%2e%63%6f%6d%3c%2f%61%3e%27%29%3b&#039;))&lt;/script&gt;&lt;/p&gt;
</description>
 <pubDate>Mon, 20 Feb 2006 11:27:13 -0500</pubDate>
 <dc:creator>Anonymous</dc:creator>
 <guid isPermaLink="false">comment 974 at http://www.resonant.org</guid>
</item>
<item>
 <title>It&#039;s a pity...</title>
 <link>http://www.resonant.org/node/16#comment-7</link>
 <description>&lt;p&gt;... that everything else is worse.  Even with the problems, I&#039;m very happy to be finally through with NIS, and I&#039;m not ready to move to a complete Kerberos infrastructure.  That didn&#039;t keep me from being royally pissed at the time, of course.&lt;/p&gt;
&lt;p&gt;To be fair, with the current version (2.1.30) my only problem seems to be with very sporadic performance breakdowns (it grinds nearly to a halt every other month or so), and on SMP systems only (my uniprocessor servers are fine).  Those can be fixed simply be restarting slapd periodically.  Changing backends didn&#039;t help &amp;mdash; I experienced exactly the same problem with LDBM as with BDB.  I suspect a very obscure race condition somewhere.&lt;/p&gt;
&lt;p&gt;I&#039;m running about 1200 entries on the SMP system, and only 200 on the uniprocessor system, though, which may have something to do with it.&lt;/p&gt;
&lt;p&gt;By the way, I have seen ActiveDirectory collapse as well, and it&#039;s far harder to clean up, so going to Microsoft won&#039;t help you there, plus it gets you all of the baggage of a Microsoft server.  If you want commercial support, you might want to give &lt;a href=&quot;http://enterprise.netscape.com/products/identsvcs/directory_faq.html&quot;&gt;Netscape Directory Server&lt;/a&gt; a try, or go with &lt;a href=&quot;http://www.openldap.org/support/&quot;&gt;one of the places&lt;/a&gt; that provides &lt;a href=&quot;http://www.pantek.com/support.php?subsect=ldap&quot;&gt;support for OpenLDAP&lt;/a&gt;. (I&#039;m not endorsing any of the places in those links, but just noting them as a possibility.)&lt;/p&gt;
</description>
 <pubDate>Thu, 27 Jan 2005 13:00:27 -0500</pubDate>
 <dc:creator>Zed</dc:creator>
 <guid isPermaLink="false">comment 7 at http://www.resonant.org</guid>
</item>
<item>
 <title>OpenLDAP Really Really SUCKS</title>
 <link>http://www.resonant.org/node/16#comment-6</link>
 <description>&lt;p&gt;I agree, and have experienced all the same issues like this ...&lt;br /&gt;
If OpenLDAP team blames BerkleyDB, why the hell they dont use some other backend databse as default.&lt;/p&gt;
&lt;p&gt;My problem is simple but very critical; My ldap data got usually corrupt saying that it has some indexing issue, I tried to turn off all indexing it worked fine, but the LDAP_SEARCH was dam slow. In my case indexing is vital.&lt;/p&gt;
&lt;p&gt;I dont know why OpenLDAP even exists, its good only as a toy for very small entries. (i am talking about less then 100).&lt;/p&gt;
&lt;p&gt;If there exists a solution, I would more then glad to know. Else I will be shifting to the Great Microsoft World ! Where everything atleast is usable.&lt;/p&gt;
&lt;p&gt;I am really really pissed off with OpenLDAP data corruption.&lt;br /&gt;
Posted on several mailing lists and &lt;a href=&quot;http://www.ldapguru.com&quot;&gt;http://www.ldapguru.com&lt;/a&gt;, but no one has ever replied ... !!!&lt;/p&gt;
&lt;p&gt;If you know any solution, instead to turn indexes off that will be more then a bottel of wine for me.&lt;/p&gt;
</description>
 <pubDate>Thu, 27 Jan 2005 05:50:31 -0500</pubDate>
 <dc:creator>Anonymous</dc:creator>
 <guid isPermaLink="false">comment 6 at http://www.resonant.org</guid>
</item>
</channel>
</rss>
