You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Kevin Breit <mr...@ximian.com> on 2003/11/13 01:17:34 UTC

svnadmin won't create

Hey,
    I am trying to create a SVN repository using the stock Fedora Core 1 
db and svn RPMs.  When I run it, I get:

[root@kbreit web]# svnadmin create svn
svn: Berkeley DB error
svn: Berkeley DB error while creating environment for filesystem svn/db:
Invalid argument

How do I fix this?

Thanks

Kevin Breit


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svnadmin won't create

Posted by Kevin Breit <mr...@ximian.com>.
On Thu, 2003-11-13 at 00:40, C. Michael Pilato wrote:
> I think this is one of our website FAQ items.

No, I don't see it on the http://subversion.tigris.org/project_faq.html
page.  Maybe there's another one I'm missing.

Kevin


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svnadmin won't create

Posted by Kevin Breit <mr...@ximian.com>.
Joe Orton wrote:

> On Thu, Nov 13, 2003 at 09:19:56AM -0500, Kevin Breit wrote:
>
>> On Thu, 2003-11-13 at 00:40, C. Michael Pilato wrote:
>>
>>> I think this is one of our website FAQ items.
>>>     
>>
>> Well, I take it back.  There is a reference to almost my problem:
>> http://subversion.tigris.org/project_faq.html#redhat-db  I guess the
>> problem is that my db4 should be compiled correctly, I'm using a Fedora
>> Linux kernel, it better be running NPTL, I'd use a 2.5.x kernel but I
>> don't trust it on my server, and LD_ASSUME_KERNEL Isn't set.
>>   
>
>
> Oh, then the db4 ENOSYS problem has got even worse Are you using a
> non-i686 glibc or kernel?  What's the output of:
>  
>
I am using what's stock on Fedora.  It's a K6 so I'm running i586 probably.

> ldd /usr/bin/svn
>  
>
       libsvn_client-1.so.0 => /usr/lib/libsvn_client-1.so.0 (0x00945000)
       libsvn_wc-1.so.0 => /usr/lib/libsvn_wc-1.so.0 (0x00915000)
       libsvn_ra-1.so.0 => /usr/lib/libsvn_ra-1.so.0 (0x0093a000)
       libsvn_diff-1.so.0 => /usr/lib/libsvn_diff-1.so.0 (0x00842000)
       libsvn_ra_local-1.so.0 => /usr/lib/libsvn_ra_local-1.so.0 
(0x0093f000)
       libsvn_repos-1.so.0 => /usr/lib/libsvn_repos-1.so.0 (0x0082e000)
       libsvn_fs-1.so.0 => /usr/lib/libsvn_fs-1.so.0 (0x00874000)
       libdb-4.1.so => /lib/libdb-4.1.so (0x00bfc000)
       libsvn_ra_dav-1.so.0 => /usr/lib/libsvn_ra_dav-1.so.0 (0x00964000)
       libsvn_ra_svn-1.so.0 => /usr/lib/libsvn_ra_svn-1.so.0 (0x00909000)
       libsvn_delta-1.so.0 => /usr/lib/libsvn_delta-1.so.0 (0x00825000)
       libsvn_subr-1.so.0 => /usr/lib/libsvn_subr-1.so.0 (0x008e5000)
       libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0x00896000)
       libldap.so.2 => /usr/lib/libldap.so.2 (0x007e4000)
       liblber.so.2 => /usr/lib/liblber.so.2 (0x0085d000)
       libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x00ba1000)
       libpthread.so.0 => /lib/libpthread.so.0 (0x0033c000)
       libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0x008ae000)
       librt.so.1 => /lib/librt.so.1 (0x00a75000)
       libm.so.6 => /lib/libm.so.6 (0x0077a000)
       libcrypt.so.1 => /lib/libcrypt.so.1 (0x007b6000)
       libnsl.so.1 => /lib/libnsl.so.1 (0x00de7000)
       libneon.so.24 => /usr/lib/libneon.so.24 (0x00baa000)
       libssl.so.4 => /lib/libssl.so.4 (0x00b37000)
       libcrypto.so.4 => /lib/libcrypto.so.4 (0x0097c000)
       libdl.so.2 => /lib/libdl.so.2 (0x0079e000)
       libz.so.1 => /usr/lib/libz.so.1 (0x007a3000)
       libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00b22000)
       libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00a95000)
       libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00afe000)
       libcom_err.so.2 => /lib/libcom_err.so.2 (0x0086f000)
       libresolv.so.2 => /lib/libresolv.so.2 (0x0084b000)
       libexpat.so.0 => /usr/lib/libexpat.so.0 (0x00b7f000)
       libc.so.6 => /lib/libc.so.6 (0x00654000)
       libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x008d0000)
       /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0063f000)

> uname -a
>  
>
Linux kbreit.dyndns.org 2.4.22-1.2115.nptl #1 Wed Oct 29 15:20:17 EST 
2003 i586 i586 i386 GNU/Linux

Thanks for your help Joe.

Kevin



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svnadmin won't create

Posted by Joe Orton <jo...@manyfish.co.uk>.
On Thu, Nov 13, 2003 at 09:19:56AM -0500, Kevin Breit wrote:
> On Thu, 2003-11-13 at 00:40, C. Michael Pilato wrote:
> > I think this is one of our website FAQ items.
> 
> Well, I take it back.  There is a reference to almost my problem:
> http://subversion.tigris.org/project_faq.html#redhat-db  I guess the
> problem is that my db4 should be compiled correctly, I'm using a Fedora
> Linux kernel, it better be running NPTL, I'd use a 2.5.x kernel but I
> don't trust it on my server, and LD_ASSUME_KERNEL Isn't set.

Oh, then the db4 ENOSYS problem has got even worse :( Are you using a
non-i686 glibc or kernel?  What's the output of:

ldd /usr/bin/svn
uname -a

on your system?

joe


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svnadmin won't create

Posted by Kevin Breit <mr...@ximian.com>.
On Thu, 2003-11-13 at 00:40, C. Michael Pilato wrote:
> I think this is one of our website FAQ items.

Well, I take it back.  There is a reference to almost my problem:
http://subversion.tigris.org/project_faq.html#redhat-db  I guess the
problem is that my db4 should be compiled correctly, I'm using a Fedora
Linux kernel, it better be running NPTL, I'd use a 2.5.x kernel but I
don't trust it on my server, and LD_ASSUME_KERNEL Isn't set.

Thanks

Kevin Breit


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svnadmin won't create

Posted by "C. Michael Pilato" <cm...@collab.net>.
Kevin Breit <mr...@ximian.com> writes:

> Hey,
>     I am trying to create a SVN repository using the stock Fedora Core
> 1 db and svn RPMs.  When I run it, I get:
> 
> [root@kbreit web]# svnadmin create svn
> svn: Berkeley DB error
> svn: Berkeley DB error while creating environment for filesystem svn/db:
> Invalid argument
> 
> How do I fix this?

I think this is one of our website FAQ items.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org