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

strange repository wedge behavior

From: Chris Hecker <checker_at_d6.com>
Date: 2005-02-02 09:49:50 CET

I have a repository on that I'm accessing via svn+ssh from Win32, and it
has started getting wedged routinely in the last few days. It's bdb 4.2.52
and svn 1.1.2, the server is Linux (dreamhost.com).

When the repository wedges, usually db_recover -e will get it working again
for a bit, but now it seems totally wedged. svn log and svn ls still work,
and db_recover -e doesn't spit out any errors, but svn commit fails after
transfering the data, and svnadmin recover gives me this:

[checker]~/dev$ svnadmin recover repository/
svn: Failed to get exclusive repository access; perhaps another process
such as httpd, svnserve or svn has it open?

As far as I can tell there are no processes that have anything open in the
entire repository file tree. fuser on every file in the dir reports no
other processes. There are no processes running under my user name that
are touching it.

So, I'm stuck. Is there some way to remove the repository lock manually if
I'm sure nobody else is accessing it?

I can svnadmin dump the repository just fine, so I've [theoretically] got a
good backup copy.

Thanks,
Chris

PS. The troubles all started a few days ago as far as I can tell, and
maybe they coincided with a kernel upgrade on the machine. It's currently
at 2.6.10:

  uname -a
Linux 2.6.10-grsec+gg3+e+fhs6b+nfs+gr0501+++p4+c4a+gr6b-v6.189 #1 SMP Tue
Jan 11 15:10:38 PST 2005 i686 unknown

I don't know what it was at before, but I think maybe
2.4.something. Running configure and then make again in the bdb directory
doesn't remake anything. Rerunning configure and make in the svn directory
bombs out strangely on a libtool invocation:

make[2]: Entering directory `/.../dev/tools/svn/subversion-1.1.2/apr'
/bin/sh /home/checker/dev/tools/svn/subversion-1.1.2/apr/libtool --silent
--mode=link gcc -g -O2 -pthread -DHAVE_C...
libtool: link: you must specify an output file
Try `libtool --help --mode=link' for more information.
make[2]: *** [libapr-.la] Error 1

So I'm just totally confused now. Building this way worked fine
before. But I don't really know if it was the kernel upgrade that did it.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 2 16:22:28 2005

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.