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

Re: Berkeley DB version

From: Magnus Runesson <mr-tigris_at_linuxalert.org>
Date: 2004-01-09 18:35:31 CET

On Fri, 2004-01-09 at 14:37, Tobias Ringstrom wrote:
> Magnus Runesson wrote:
> > I do not have the same problem. But with Berkeley 4.1.25 (from Fedora
> > Core 1), I can't create repositories. I got the following:
> >
> > # svnadmin create /home/svn/test8
> > svn: Berkeley DB error while creating environment for filesystem
> > /home/svn/test8/db:
> > Invalid argument
> > #
>
> It's probably a variant of
>
> http://subversion.tigris.org/project_faq.html#redhat-db

I compiled db4-src RPM by my self now. It did not help.
I am using an official update of the kernel:
kernel-2.4.22-1.2140.nptl
LD_ASSUME_KERNEL is not set.

> You can try to run "strace svnadmin create /home/svn/test8" and see what
> the last few lines say.

I tried that.. here is that last couple of lines.

open("/home/svn/test/hooks/pre-commit.tmpl", O_WRONLY|O_CREAT|O_EXCL,
0666) = 3
write(3, "#!/bin/sh\n\n# PRE-COMMIT HOOK\n#\n#"..., 2093) = 2093
close(3) = 0
open("/home/svn/test/hooks/pre-revprop-change.tmpl",
O_WRONLY|O_CREAT|O_EXCL, 06
66) = 3
write(3, "#!/bin/sh\n\n# PRE-REVPROP-CHANGE "..., 1952) = 1952
close(3) = 0
open("/home/svn/test/hooks/post-commit.tmpl", O_WRONLY|O_CREAT|O_EXCL,
0666) = 3
write(3, "#!/bin/sh\n\n# POST-COMMIT HOOK\n#\n"..., 1286) = 1286
close(3) = 0
open("/home/svn/test/hooks/post-revprop-change.tmpl",
O_WRONLY|O_CREAT|O_EXCL, 0
666) = 3
write(3, "#!/bin/sh\n\n# POST-REVPROP-CHANGE"..., 1475) = 1475
close(3) = 0
mkdir("/home/svn/test/conf", 0777) = 0
open("/home/svn/test/conf/svnserve.conf", O_WRONLY|O_CREAT|O_EXCL, 0666)
= 3
write(3, "### This file controls the confi"..., 1101) = 1101
close(3) = 0
open("/home/svn/test/README.txt", O_WRONLY|O_CREAT|O_EXCL, 0666) = 3
write(3, "This is a Subversion repository;"..., 376) = 376
close(3) = 0
open("/home/svn/test/format", O_WRONLY|O_CREAT, 0666) = 3
write(3, "3\n", 2) = 2
close(3) = 0
mkdir("/home/svn/test/db", 0777) = 0
open("/home/svn/test/db/DB_CONFIG", O_WRONLY|O_CREAT, 0666) = 3
write(3, "# This is the configuration file"..., 1282) = 1282
write(3, "#\n# Disable fsync of log files o"..., 195) = 195
write(3, "# set_flags DB_TXN_NOSYNC\n", 26) = 26
write(3, "#\n# Enable automatic removal of "..., 207) = 207
write(3, "# set_flags DB_LOG_AUTOREMOVE\n", 30) = 30
close(3) = 0
write(2, "subversion/libsvn_fs/bdb/bdb-err"...,
37subversion/libsvn_fs/bdb/bdb-e
rr.c:61) = 37
write(2, ": (apr_err=160029)\n", 19: (apr_err=160029)
) = 19
write(2, "svn: Berkeley DB error while cre"..., 101svn: Berkeley DB
error while
creating environment for filesystem /home/svn/test/db:
Invalid argument
) = 101
exit_group(1) = ?

> > Any other experience that problem on FC1 witvh svn 0.35.1? Or does
>
> Yes, it works fine as long as you are very careful when you upgrade your
> kernel or libc. If you have the i686 version, you must not change that.
> You also need a Redhat/Fedora kernel with NPTL or a 2.6 kernel. Vanilla
> 2.4 kernels do not work.

All packages are FC1 with official upgrades except:
mdbtools-0.5-0.rhfc1.dag
xbase-2.0.0-0.rhfc1.dag
mono-devel-0.29-0.rhfc1.dag
libmad-0.15.0-0.b.rhfc1.dag
freetds-0.61-0.rhfc1.dag
libid3tag-0.15.0-0.b.rhfc1.dag
libunicode-0.4-12.0.rhfc1.dag
libgnomedb-1.0.2-0.rhfc1.dag
gtk-sharp-0.15-0.rhfc1.dag
sqlite-2.8.9-0.rhfc1.dag
mono-0.29-0.rhfc1.dag
libgda-1.0.2-0.rhfc1.dag
mpg321-0.2.10-0.rhfc1.dag

I assume that no one of these affects the current issue. All my RPM:s
are i386 RPMS. Need to have it that way since I use a VIA C3.

/Magnus

-- 
Magnus Runesson <mr-tigris@linuxalert.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 9 18:36:25 2004

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

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