You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Alex Li <li...@yahoo.com> on 2003/10/16 00:49:45 UTC

Error when commit

Hi all,

I have encountered an error when committing my work:

svn: APR does not understand this error code
svn: Commit failed (details follow):
svn:
failed to open activity db;  check repos perms.

As the error says, it is probably some screwed up permissions, but I
can't figure out where the problem is.  I can list and status the
repository, browse the repository without problem, it only happens on
commit...

Below is the permission settings:

likwoka@phoenix:/home/system/svn/repos_backup/db$ ls -aslh
total 6.8M
4.0k drwxrwsr-x    2 likwoka  svn          4.0k Aug 28 13:33 .
4.0k drwxrwsr-x    6 likwoka  svn          4.0k Aug 22 11:24 ..
4.0k -rw-rw-r--    1 likwoka  svn          1.3k Aug 21 22:00 DB_CONFIG
8.0k -rw-rw-r--    1 likwoka  svn          8.0k Aug 21 22:00 __db.001
268k -rw-rw-r--    1 likwoka  svn          264k Aug 21 22:00 __db.002
 84k -rw-rw-r--    1 likwoka  svn          320k Aug 21 22:00 __db.003
512k -rw-rw-r--    1 likwoka  svn          720k Aug 21 22:00 __db.004
8.0k -rw-rw-r--    1 likwoka  svn           16k Aug 21 22:00 __db.005
100k -rw-rw-r--    1 likwoka  svn           96k Sep 23 01:53 changes
8.0k -rw-rw-r--    1 likwoka  svn          8.0k Sep 23 01:53 copies
1.1M -rw-rw-r--    1 likwoka  svn          1.0M Aug 22 01:19
log.0000000001
1.1M -rw-rw-r--    1 likwoka  svn          1.0M Aug 22 01:27
log.0000000002
1.1M -rw-rw-r--    1 likwoka  svn         1023k Aug 25 01:35
log.0000000003
1.1M -rw-r--r--    1 likwoka  staff        1.0M Aug 28 13:33
log.0000000004
 32k -rw-r--r--    1 likwoka  staff         29k Sep 23 01:53
log.0000000005
 56k -rw-rw-r--    1 likwoka  svn           52k Sep 23 01:53 nodes
100k -rw-rw-r--    1 likwoka  svn           96k Sep 23 01:53
representations
8.0k -rw-rw-r--    1 likwoka  svn          8.0k Sep 23 01:53 revisions
1.5M -rw-rw-r--    1 likwoka  svn          1.5M Sep 23 01:53 strings
 16k -rw-rw-r--    1 likwoka  svn           16k Sep 23 01:53
transactions
8.0k -rw-rw-r--    1 likwoka  svn          8.0k Sep 23 01:53 uuids

Thanks in advance,
Alex


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Error when commit

Posted by Michael Wood <mw...@its.uct.ac.za>.
On Wed, Oct 15, 2003 at 05:49:45PM -0700, Alex Li wrote:
> Hi all,
> 
> I have encountered an error when committing my work:
> 
> svn: APR does not understand this error code
> svn: Commit failed (details follow):
> svn:
> failed to open activity db;  check repos perms.
> 
> As the error says, it is probably some screwed up permissions, but I
> can't figure out where the problem is.  I can list and status the
> repository, browse the repository without problem, it only happens on
> commit...
> 
> Below is the permission settings:
> 
> likwoka@phoenix:/home/system/svn/repos_backup/db$ ls -aslh
> total 6.8M
> 4.0k drwxrwsr-x    2 likwoka  svn          4.0k Aug 28 13:33 .
> 4.0k drwxrwsr-x    6 likwoka  svn          4.0k Aug 22 11:24 ..
> 4.0k -rw-rw-r--    1 likwoka  svn          1.3k Aug 21 22:00 DB_CONFIG
[snip]
> 1.1M -rw-rw-r--    1 likwoka  svn         1023k Aug 25 01:35 log.0000000003

The above ones look fine.

> 1.1M -rw-r--r--    1 likwoka  staff        1.0M Aug 28 13:33 log.0000000004
>  32k -rw-r--r--    1 likwoka  staff         29k Sep 23 01:53 log.0000000005
[snip]

These look suspect.  Try changing these to be the same as the others.

-- 
Michael Wood <mw...@its.uct.ac.za>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Error when commit

Posted by Alex Li <li...@yahoo.com>.
Thanks, changed the permission of the file 'activities' within dav/ and
I can commit now.

--- Ben Collins-Sussman <su...@collab.net> wrote:
> Alex Li <li...@yahoo.com> writes:
> 
> > Hi all,
> > 
> > I have encountered an error when committing my work:
> > 
> > svn: APR does not understand this error code
> > svn: Commit failed (details follow):
> > svn:
> > failed to open activity db;  check repos perms.
> 
> The activity db is private to mod_dav_svn, and lives in the dav/
> directory of your repository, not the db/ area.
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Error when commit

Posted by Ben Collins-Sussman <su...@collab.net>.
Alex Li <li...@yahoo.com> writes:

> Hi all,
> 
> I have encountered an error when committing my work:
> 
> svn: APR does not understand this error code
> svn: Commit failed (details follow):
> svn:
> failed to open activity db;  check repos perms.

The activity db is private to mod_dav_svn, and lives in the dav/
directory of your repository, not the db/ area.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org