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 Michael Woley <wo...@uiuc.edu> on 2005/01/26 03:16:40 UTC
unable to create fsfs repository correctly
It appears that I am unable to create a repository correctly.
Following the quick start guide to creating a repository I'm issuing the
following commands:
$ svnadmin create /path/dir/svnroot -fs-type=fsfs
$ svn import /home/tmpDir file:///path/dir/svnroot/
svn: Couldn't open a repository.
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///path/dir/svnroot'
svn: Unsupported repository version
svn: Expected version '2' of repository; found version '3'
The system these commands are being issued on has recently been upgraded
from subversion 1.0 to 1.1.3, built using "./configure
--prefix=/usr/local/encap/subversion-1.1.3 --disable-mod-activation
--without-apache -without-apxs" prior to the build.
Are there any suggestions that anyone can make as to where to start looking
for my problem?
Regards,
Kevin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: unable to create fsfs repository correctly
Posted by Kevin Michael Woley <wo...@uiuc.edu>.
> -----Original Message-----
> From: Ben Collins-Sussman [mailto:sussman@collab.net]
> Sent: Tuesday, January 25, 2005 9:40 PM
> To: Kevin Michael Woley
> Cc: users@subversion.tigris.org
> Subject: Re: unable to create fsfs repository correctly
>
> On Jan 25, 2005, at 9:16 PM, Kevin Michael Woley wrote:
>
> > It appears that I am unable to create a repository correctly.
> >
> > Following the quick start guide to creating a repository I'm issuing
> > the
> > following commands:
> >
> > $ svnadmin create /path/dir/svnroot -fs-type=fsfs
> > $ svn import /home/tmpDir file:///path/dir/svnroot/
> > svn: Couldn't open a repository.
> > svn: Unable to open an ra_local session to URL
> > svn: Unable to open repository 'file:///path/dir/svnroot'
> > svn: Unsupported repository version
> > svn: Expected version '2' of repository; found version '3'
> >
> > The system these commands are being issued on has recently been
> > upgraded
> > from subversion 1.0 to 1.1.3, built using "./configure
> > --prefix=/usr/local/encap/subversion-1.1.3 --disable-mod-activation
> > --without-apache -without-apxs" prior to the build.
> >
> > Are there any suggestions that anyone can make as to where to start
> > looking
> > for my problem?
> >
> >
>
> Your installation is messed up somehow. The fact that 'svnadmin
> create' accepted an fsfs argument proves that your svnadmin is linked
> 1.1 libraries. But if your 'svn' binary is expecting version
> 2 of the
> repository schema... that means it's linking against *pre-alpha* svn
> libraries... something earlier than svn 0.34, over two years old! I
> suspect you have really old libraries lying around your system
> somewhere. 'ldd svn' may point them out.
>
That was my original thought as well. Below is the results of a 'ldd
svn'. As far as I could tell it all looks in order:
libsvn_client-1.so.0 =>
/usr/local/encap/subversion-1.1.3/lib/libsvn_client-1.so.0 (0x00444000)
libsvn_wc-1.so.0 =>
/usr/local/encap/subversion-1.1.3/lib/libsvn_wc-1.so.0 (0x004a8000)
libsvn_ra-1.so.0 =>
/usr/local/encap/subversion-1.1.3/lib/libsvn_ra-1.so.0 (0x00259000)
libsvn_diff-1.so.0 =>
/usr/local/encap/subversion-1.1.3/lib/libsvn_diff-1.so.0 (0x00a2e000)
libsvn_ra_local-1.so.0 =>
/usr/local/encap/subversion-1.1.3/lib/libsvn_ra_local-1.so.0
(0x005c1000)
libsvn_repos-1.so.0 =>
/usr/local/encap/subversion-1.1.3/lib/libsvn_repos-1.so.0 (0x007da000)
libsvn_fs-1.so.0 =>
/usr/local/encap/subversion-1.1.3/lib/libsvn_fs-1.so.0 (0x00c8b000)
libsvn_fs_fs-1.so.0 =>
/usr/local/encap/subversion-1.1.3/lib/libsvn_fs_fs-1.so.0 (0x00f2a000)
libsvn_fs_base-1.so.0 =>
/usr/local/encap/subversion-1.1.3/lib/libsvn_fs_base-1.so.0 (0x00b14000)
libsvn_ra_svn-1.so.0 =>
/usr/local/encap/subversion-1.1.3/lib/libsvn_ra_svn-1.so.0 (0x00111000)
libsvn_ra_dav-1.so.0 =>
/usr/local/encap/subversion-1.1.3/lib/libsvn_ra_dav-1.so.0 (0x00a4c000)
libsvn_delta-1.so.0 =>
/usr/local/encap/subversion-1.1.3/lib/libsvn_delta-1.so.0 (0x00699000)
libsvn_subr-1.so.0 =>
/usr/local/encap/subversion-1.1.3/lib/libsvn_subr-1.so.0 (0x0031c000)
libaprutil-0.so.0 =>
/usr/local/encap/subversion-1.1.3/lib/libaprutil-0.so.0 (0x00133000)
libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x00d7b000)
libdb-4.1.so => /lib/tls/libdb-4.1.so (0x006d9000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x00dd4000)
libapr-0.so.0 =>
/usr/local/encap/subversion-1.1.3/lib/libapr-0.so.0 (0x00500000)
librt.so.1 => /lib/tls/librt.so.1 (0x005ab000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00603000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00147000)
libdl.so.2 => /lib/libdl.so.2 (0x00d63000)
libneon.so.24 =>
/usr/local/encap/subversion-1.1.3/lib/libneon.so.24 (0x0015c000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x06d6e000)
libz.so.1 => /usr/lib/libz.so.1 (0x00d68000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00d8b000)
libm.so.6 => /lib/tls/libm.so.6 (0x00d3f000)
libc.so.6 => /lib/tls/libc.so.6 (0x0081f000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00bec000)
Re: unable to create fsfs repository correctly
Posted by Ben Collins-Sussman <su...@collab.net>.
On Jan 25, 2005, at 9:16 PM, Kevin Michael Woley wrote:
> It appears that I am unable to create a repository correctly.
>
> Following the quick start guide to creating a repository I'm issuing
> the
> following commands:
>
> $ svnadmin create /path/dir/svnroot -fs-type=fsfs
> $ svn import /home/tmpDir file:///path/dir/svnroot/
> svn: Couldn't open a repository.
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository 'file:///path/dir/svnroot'
> svn: Unsupported repository version
> svn: Expected version '2' of repository; found version '3'
>
> The system these commands are being issued on has recently been
> upgraded
> from subversion 1.0 to 1.1.3, built using "./configure
> --prefix=/usr/local/encap/subversion-1.1.3 --disable-mod-activation
> --without-apache -without-apxs" prior to the build.
>
> Are there any suggestions that anyone can make as to where to start
> looking
> for my problem?
>
>
Your installation is messed up somehow. The fact that 'svnadmin
create' accepted an fsfs argument proves that your svnadmin is linked
1.1 libraries. But if your 'svn' binary is expecting version 2 of the
repository schema... that means it's linking against *pre-alpha* svn
libraries... something earlier than svn 0.34, over two years old! I
suspect you have really old libraries lying around your system
somewhere. 'ldd svn' may point them out.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org