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

SVN over NFS

From: Bastien Semene <bsemene_at_cyanide-studio.com>
Date: Fri, 23 Jul 2010 11:09:31 +0200

  I think the documentation should mention that SVN needs file locking
configuration while using NFS.
I have an Apache -> DAV_SVN -> repo access over NFS architecture,
everything provided by FreeBSD.

On FreeBSD, you need to enable the following services :
- lockd
- statd

There's also a "fake lock access" option on nfsd (-L), but I'm not sure
it's enough and anyway I think we should give real lock to prevent
concurrent access from another way (i.e. local).

Here are the logs on apache when the error occurs because DAV hasn't
locks :
[Tue Jul 20 15:40:08 2010] [error] [client 10.1.8.123] (20014)Internal
error: Can't open file '/var/db/svn/repos/favicon.ico/format': No such
file or directory, referer: http://domain.com/repo/
[Tue Jul 20 15:40:08 2010] [error] [client 10.1.8.123] Could not fetch
resource information. [500, #0], referer: http://domain.com/repo/
[Tue Jul 20 15:40:08 2010] [error] [client 10.1.8.123] Could not open
the requested SVN filesystem [500, #2], referer: http://domain.com/repo/
[Tue Jul 20 15:40:08 2010] [error] [client 10.1.8.123] Could not open
the requested SVN filesystem [500, #2], referer: http://domain.com/repo/

or

[Thu Jul 22 18:11:04 2010] [error] [client 10.1.8.123] (20014)Internal
error: database is locked
[Thu Jul 22 18:11:04 2010] [error] [client 10.1.8.123] Could not fetch
resource information. [500, #0]
[Thu Jul 22 18:11:04 2010] [error] [client 10.1.8.123] Could not open
the requested SVN filesystem [500, #200030]
[Thu Jul 22 18:11:04 2010] [error] [client 10.1.8.123] Could not open
the requested SVN filesystem [500, #200030]

It can seem obvious that a databse lock should lead to file locking, but
in my case this message appeared only once I activated lock access,
during the first request after activation.
Now I do not have any of these messages.

Also, can anyone explain me the first line of the logs, what is doing
"favicon.ico/format" here ?

-- 
Bastien Semene
Administrateur Réseau&  Système
Cyanide Studio - FRANCE
Received on 2010-07-23 11:10:13 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.