You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Vincent Lefevre <vi...@vinc17.net> on 2010/08/10 16:12:15 UTC
Error "svn: Can't open file '/svn/mpfr/db/txn-current-lock':
Permission denied"
After a repository upgrade with svn version 1.5.1 (r32289) a few days
ago, we now get the following error when committing:
svn: Can't open file '/svn/mpfr/db/txn-current-lock': Permission denied
No problems for read operations.
The DB FS type is FSFS, and we have:
vlefevre@ff-scm-prod:~$ ls -l /svnroot/mpfr/db
total 468
-rw-rw-r-- 1 www-data scm_mpfr 11 Aug 5 02:26 current
-r--r--r-- 1 www-data scm_mpfr 15 Aug 6 16:01 format
-rw-r--r-- 1 www-data scm_mpfr 5 Oct 24 2005 fs-type
drwxrwsr-x 2 www-data scm_mpfr 4096 Aug 6 16:02 node-origins
drwxrwsr-x 2 www-data scm_mpfr 229376 Aug 5 02:26 revprops
drwxrwsr-x 2 www-data scm_mpfr 229376 Aug 5 02:26 revs
drwxrwsr-x 2 www-data scm_mpfr 4096 Aug 5 02:26 transactions
-rw-r--r-- 1 www-data scm_mpfr 2 Aug 6 16:01 txn-current
-rw-r--r-- 1 www-data scm_mpfr 0 Aug 6 16:01 txn-current-lock
drwxr-sr-x 2 www-data scm_mpfr 4096 Aug 6 16:01 txn-protorevs
-rw-r--r-- 1 www-data scm_mpfr 37 Oct 24 2005 uuid
-rw-rw-r-- 1 www-data scm_mpfr 0 Oct 24 2005 write-lock
vlefevre@ff-scm-prod:~$ ls -l /svnroot/mpfr/db/txn-protorevs/
total 0
vlefevre@ff-scm-prod:~$ svnadmin lslocks /svnroot/mpfr
vlefevre@ff-scm-prod:~$ svnadmin lstxns /svnroot/mpfr
vlefevre@ff-scm-prod:~$
The other repositories on the server do not have these txn-*
files/directory. Any idea?
--
Vincent Lefèvre <vi...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
Re: Error "svn: Can't open file '/svn/mpfr/db/txn-current-lock':
Permission denied"
Posted by Vincent Lefevre <vi...@vinc17.net>.
On 2010-08-10 16:12:15 +0200, Vincent Lefevre wrote:
> After a repository upgrade with svn version 1.5.1 (r32289) a few days
Note: the upgrade was done with:
svnadmin upgrade /svnroot/mpfr
svn-populate-node-origins-index /svnroot/mpfr
> ago, we now get the following error when committing:
>
> svn: Can't open file '/svn/mpfr/db/txn-current-lock': Permission denied
>
> No problems for read operations.
>
> The DB FS type is FSFS, and we have:
>
> vlefevre@ff-scm-prod:~$ ls -l /svnroot/mpfr/db
> total 468
> -rw-rw-r-- 1 www-data scm_mpfr 11 Aug 5 02:26 current
> -r--r--r-- 1 www-data scm_mpfr 15 Aug 6 16:01 format
[...]
I notice that the "current" file hasn't been updated by the upgrade.
It contains:
7052 un bv
while the documentation[*] says:
The format of the "current" file is:
* Format 3 and above: a single line of the form
"<youngest-revision>\n" giving the youngest revision for the
repository.
* Format 2 and below: a single line of the form "<youngest-revision>
<next-node-id> <next-copy-id>\n" giving the youngest revision, the
next unique node-ID, and the next unique copy-ID for the
repository.
[*] http://svn.apache.org/repos/asf/subversion/trunk/subversion/libsvn_fs_fs/structure
--
Vincent Lefèvre <vi...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
Re: Error "svn: Can't open file '/svn/mpfr/db/txn-current-lock':
Permission denied"
Posted by Vincent Lefevre <vi...@vinc17.net>.
On 2010-08-10 16:12:15 +0200, Vincent Lefevre wrote:
> After a repository upgrade with svn version 1.5.1 (r32289) a few days
Note: the upgrade was done with:
svnadmin upgrade /svnroot/mpfr
svn-populate-node-origins-index /svnroot/mpfr
> ago, we now get the following error when committing:
>
> svn: Can't open file '/svn/mpfr/db/txn-current-lock': Permission denied
>
> No problems for read operations.
>
> The DB FS type is FSFS, and we have:
>
> vlefevre@ff-scm-prod:~$ ls -l /svnroot/mpfr/db
> total 468
> -rw-rw-r-- 1 www-data scm_mpfr 11 Aug 5 02:26 current
> -r--r--r-- 1 www-data scm_mpfr 15 Aug 6 16:01 format
[...]
I notice that the "current" file hasn't been updated by the upgrade.
It contains:
7052 un bv
while the documentation[*] says:
The format of the "current" file is:
* Format 3 and above: a single line of the form
"<youngest-revision>\n" giving the youngest revision for the
repository.
* Format 2 and below: a single line of the form "<youngest-revision>
<next-node-id> <next-copy-id>\n" giving the youngest revision, the
next unique node-ID, and the next unique copy-ID for the
repository.
[*] http://svn.apache.org/repos/asf/subversion/trunk/subversion/libsvn_fs_fs/structure
--
Vincent Lefèvre <vi...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
Re: Error "svn: Can't open file '/svn/mpfr/db/txn-current-lock':
Permission denied"
Posted by Vincent Lefevre <vi...@vinc17.net>.
On 2010-08-10 09:27:50 -0700, David Brodbeck wrote:
> On Aug 10, 2010, at 7:12 AM, Vincent Lefevre wrote:
> > After a repository upgrade with svn version 1.5.1 (r32289) a few days
> > ago, we now get the following error when committing:
> >
> > svn: Can't open file '/svn/mpfr/db/txn-current-lock': Permission denied
> >
> > No problems for read operations.
>
> I suspect you have a hook script that isn't aware of the file format
> changes in 1.5.1. I had this problem with a hook script we use to
> check the size of transactions. Try temporarily disabling your
> commit hooks and see if it starts working.
There is no pre-commit hook.
--
Vincent Lefèvre <vi...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
Re: Error "svn: Can't open file '/svn/mpfr/db/txn-current-lock':
Permission denied"
Posted by Vincent Lefevre <vi...@vinc17.net>.
On 2010-08-10 09:27:50 -0700, David Brodbeck wrote:
> On Aug 10, 2010, at 7:12 AM, Vincent Lefevre wrote:
> > After a repository upgrade with svn version 1.5.1 (r32289) a few days
> > ago, we now get the following error when committing:
> >
> > svn: Can't open file '/svn/mpfr/db/txn-current-lock': Permission denied
> >
> > No problems for read operations.
>
> I suspect you have a hook script that isn't aware of the file format
> changes in 1.5.1. I had this problem with a hook script we use to
> check the size of transactions. Try temporarily disabling your
> commit hooks and see if it starts working.
There is no pre-commit hook.
--
Vincent Lefèvre <vi...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
Re: Error "svn: Can't open file '/svn/mpfr/db/txn-current-lock': Permission denied"
Posted by David Brodbeck <br...@u.washington.edu>.
On Aug 10, 2010, at 7:12 AM, Vincent Lefevre wrote:
> After a repository upgrade with svn version 1.5.1 (r32289) a few days
> ago, we now get the following error when committing:
>
> svn: Can't open file '/svn/mpfr/db/txn-current-lock': Permission denied
>
> No problems for read operations.
I suspect you have a hook script that isn't aware of the file format changes in 1.5.1. I had this problem with a hook script we use to check the size of transactions. Try temporarily disabling your commit hooks and see if it starts working.
--
David Brodbeck
System Administrator, Linguistics
University of Washington