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

svnadmin: Can't get exclusive lock on file 'test/db/write-lock': Invalid argument

From: Ian Brockbank <ian_at_scottishdance.net>
Date: Sat, 19 Jul 2008 00:52:14 +0100

Hi All,

I've just upgraded my system to Subversion 1.5, and it's all gone horribly
wrong.

I'm running on FreeBSD 6.2, using the port and building from source. I've
specified:

===> The following configuration options are available for
subversion-1.5.0_3:
     MOD_DAV_SVN=on "mod_dav_svn module for Apache 2.X"
     APACHE2_APR=on "Use APR from Apache 2.X"
     NEON=on "WebDAV/Delta-V repo access module (neon)"
     SERF=off "WebDAV/Delta-V repo access module (serf)"
     SASL=off "SASL2 authorization support"
     BDB=off "db4 repository backend"
     ASVN=off "Build and install Archive SVN (asvn)"
     MAINTAINER_DEBUG=off "Build debug version"
     SVNSERVE_WRAPPER=off "Enable svnserve wrapper"
     BOOK=off "Install the Subversion Book"

I have FSFS repositories, which were working fine beforehand.

I use Subversion via Apache 2.2 and mod_dav_svn; again, this was working
fine.

I can read from the repositories fine, but any time I try to do any sort of
write, I get a message like

[root_at_www /usr/local/software/svn]# svnadmin recover test
Repository lock acquired.
Please wait; recovering the repository may take some time...
svnadmin: Can't get exclusive lock on file 'test/db/write-lock': Invalid
argument

The same happens if I try to commit a change (here from TortoiseSVN):
Command: Commit
Error: Commit failed (details follow):
Error: Can't get exclusive lock on file
Error: '/usr/local/software/svn/personal/db/txn-current-lock': Invalid
argument
Finished!

The file varies, but the effect doesn't.

Now, I upgraded various other ports at the same time (including Apache), so
I suspect this may be related to that instead of Subversion, (particularly
since none of the matches from Google to "Subversion Can't get exclusive
lock" seems to be related), but I don't know how to start investigating.
Can someone give me some pointers as to where (and how) to look, please?

Thanks in advance,

Ian Brockbank
Edinburgh, Scotland
ian_at_scottishdance.net
http://www.scottishdance.net/
  

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-19 01:52:50 CEST

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.