[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: redhat 9 berkley db errors

From: Ralph Loader <suckfish_at_ihug.co.nz>
Date: 2003-05-09 01:23:45 CEST

Hi,

Here's a patch for the FAQ that explains this. Does someone want to add
it?

Ralph.

Index: /extra/ralph/svn/www/project_faq.html
===================================================================
--- /extra/ralph/svn/www/project_faq.html (revision 5843)
+++ /extra/ralph/svn/www/project_faq.html (working copy)
@@ -77,6 +77,8 @@
 <li><a href="#revert">Why does the <tt>svn revert</tt> require an
     explicit target? Why is it not recursive by default? These
     behaviors differ from almost all the other subcommands.</a></li>
+<li><a href="#redhat-db">I'm getting "Function not implemented" errors on
+ RedHat 9, and nothing works. How do I fix this?</a></li>
 <p>
 
 <strong>References:</strong>
@@ -856,9 +858,37 @@
 forever.</p>
 
 
-<![CDATA[=========================================================]]>
+<!-- ========================================================= -->
 
+<h3><a name="redhat-db">I'm getting "Function not implemented" errors on RedHat
+9, and nothing works. How do I fix this?</a></h3>
 
+<p>This is not really a problem with subversion, but it often effects
+subversion users.</p>
+
+<p>RedHat 9 ships with a Berkeley DB library that relies upon the kernel
+support for NPTL (the Native Posix Threads Library).</p>
+
+<p>The kernels that RedHat provides have this support build in, but if you
+compile your own kernel from the kernel.org sources, then you may well not have
+the NPTL support. If that is the case, then you will see errors like this:
+<blockquote><pre>
+svn: Berkeley DB error
+svn: Berkeley DB error while creating environment for filesystem tester/db:
+Function not implemented
+</pre></blockquote>
+This can be fixed in one of several ways:
+<ul>
+<li>Rebuild db4 for the kernel you're using.</li>
+<li>Use a RedHat 9 kernel.</li>
+<li>Apply the NPTL patches to the kernel you're using.</li>
+<li>Use a recent (2.5.x) kernel with the NPTL support included.</li>
+</ul>
+</p>
+
+<![CDATA[-----------------------------------------------------------]]>
+
+
 <p>
 <hr>
 <p>

On Fri, 2003-05-09 at 10:40, azl wrote:
> I'm running a 2.4.20 kernel.org kernel with no patches.
> Is there a specific place I need to get NPTL from, and/or a specific
> version I need to have?
>
> Also is this documented anywhere in the subversion docs that this is a
> requirement for subversion on linux? If not should it be since this
> isn't something that comes in the standard kernel.org kernel?
>
> Asiel
>
> Ralph Loader wrote:
>
> >Hi,
> >
> >What kernel are you running?
> >
> >I saw something similar due to running a kernel that doesn't have
> >support for NPTL.
> >
> >Ralph.
> >
> >On Fri, 2003-05-09 at 08:22, azl wrote:
> >
> >
> >>When using the subversion RPM from red hat
> >>(subversion_0.17.1-4503.0_i386.rpm) or latest the RPMs available on the
> >>website (subversion-0.21.0-5641.i386.rpm). I get the following error
> >>when trying to run "svnadmin create":
> >>svnadmin create tester
> >>svn: Berkeley DB error
> >>svn: Berkeley DB error while creating environment for filesystem tester/db:
> >>Function not implemented
> >>
> >>Is there something that I'm missing?
> >>
> >>Asiel
> >>
> >>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 9 01:24:37 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.