Hi there !
I'm puzzled by subversion... Let me explain : I've used subversion for
some months now, on a FreeBSD 5.4 through Apache2+mod_dav_svn
(svn-1.2.0). I used to create multiple repositories on it, and managing
multiple users. On the client side, I used subversion either under
Windows XP (svn-1.2.3) and several Linux distributions (svn-1.2.3)
without any problem, and I think it's a great tool !
Anyway, I wanted to move my svn repositories and merge them into a big
one, on an Ubuntu host (svn-1.2.0).
* First I created the repository on this Ubuntu host :
[ny@parisium svn]$ svnadmin create repos
* Then I tried to create a directory in that repository :
[ny_at_parisium svn]$ svn mkdir file://`pwd`/repos/liblio
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///oi/05/ny/usr/svn/repos'
svn: Error opening db lockfile
svn: Can't get shared lock on file
'/oi/05/ny/usr/svn/repos/locks/db.lock': No locks available
* I wondered if it was because of the BDB database, so I created a new
one using FSFS :
[ny@parisium svn]$ rm -rf repos
[ny@parisium svn]$ svnadmin create --fs-type fsfs repos
* And then tried several commands to check it :
[ny_at_parisium svn]$ svn mkdir -m "test" file://`pwd`/repos/liblio
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///oi/05/ny/usr/svn/repos'
svn: Error opening db lockfile
svn: Can't get shared lock on file
'/oi/05/ny/usr/svn/repos/locks/db.lock': No locks available
[ny@parisium svn]$ svnadmin verify repos
svnadmin: Error opening db lockfile
svnadmin: Can't get shared lock on file 'repos/locks/db.lock': No locks
available
[ny@parisium svn]$ svnlook info repos
svnlook: Error opening db lockfile
svnlook: Can't get shared lock on file 'repos/locks/db.lock': No locks
available
* Though I was using a 022 umask, I checked the repository files
permissions :
[ny@parisium svn]$ ls -l repos/
total 7
drwxr-xr-x 2 ny invites 512 2005-10-27 19:30 conf
drwxr-xr-x 2 ny invites 512 2005-10-27 19:30 dav
drwxr-sr-x 5 ny invites 512 2005-10-27 19:30 db
-r--r--r-- 1 ny invites 2 2005-10-27 19:30 format
drwxr-xr-x 2 ny invites 512 2005-10-27 19:30 hooks
drwxr-xr-x 2 ny invites 512 2005-10-27 19:30 locks
-rw-r--r-- 1 ny invites 379 2005-10-27 19:30 README.txt
[ny@parisium svn]$ ls -l repos/locks/
total 2
-rw-r--r-- 1 ny invites 460 2005-10-27 19:30 db.lock
-rw-r--r-- 1 ny invites 295 2005-10-27 19:30 db-logs.lock
* Since I don't have the rights to install things on this host, I
checked the way svn was installed, and found that it was done by apt-get
(and well-done since all the RA modules were there) :
[ny@parisium svn]$ svn --version
svn, version 1.2.0 (r14790)
compiled Jun 29 2005, 12:46:42
Copyright (C) 2000-2005 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet
(http://www.Collab.Net/).
The following repository access (RA) modules are available:
* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
* Everything I tried there, I did it again on a FreeBSD 5.4 and under
Windows XP, and it worked fine all the time...
* I desperately searched the mailing lists to find someone that got
through those troubles, but nobody had this error message with every svn
commands...
I really hope that someone could tell me what my silly mistake is, and
for the last info, the global configuration files are the default ones,
containing only the sections titles and some comments
Thanks
Youssouf
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 27 19:46:30 2005