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

RE: 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 21:58:25 +0100

Hi All,

> I've just upgraded my system to Subversion 1.5, and it's all
> gone horribly wrong.
> [...]
> 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
> [...]

I've found the problem. When I upgraded the ports, I upgraded from packages
(portupgrade -faM). This meant that the APR libraries with Apache didn't
match the headers or something that Subversion was building against.

Deinstalling Apache, APR and Subversion, deleting the APR libraries, then
doing a rebuild and install from source of Apache and Subversion has fixed
the problem. It's all working again now.

Cheers,

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 22:58:54 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.