You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Russ W. Knize" <rk...@yahoo.com> on 2003/11/17 20:41:37 UTC

DB Errors with Apache2 (not permissions?)

I have been using SVN for a short while now, but can't quite get Apache2
to play nice.  It is a Debian system, with Apache running at www-data,
which is a member of the svn group.  The Repos files and directories are
660 and all are in the svn group.  Umask for users and for Apache are 002.
 Sticky group bit set in repos.  I can chmod -R 666 * in the repository,
but it doesn't help at all.  I can checkout via Apache, but I get this
with I try to commit:


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


The apache logs show:

[Mon Nov 17 14:31:18 2003] [error] [client 136.182.2.221] Could not create
activity /svn/web/!svn/act/ac60077b-57cc-0310-8ca0-e59cc387cfcb.  [500,
#0]
[Mon Nov 17 14:31:18 2003] [error] [client 136.182.2.221] could not open
dbm files.  [500, #120022]
[Mon Nov 17 14:31:18 2003] [error] [client 136.182.2.221] (17)File exists:
failed to open activity db;  check repos perms.  [500, #120022]


What's up with the "file exists" error?


Thanks,
Russ

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

Re: DB Errors with Apache2 (not permissions?)

Posted by Ben Collins-Sussman <su...@collab.net>.
On Mon, 2003-11-17 at 15:35, Russ W. Knize wrote:
> I went ahead and moved the activities file aside.  The commit worked fine
> and an update form another location pulled in the changes.  There now is a
> new 8k activities file.  So what else did I break by moving this file?

It's no big deal.  DAV clients refer to repository transactions by
special "activity" uuids.  The mini db file you moved is a mapping of
DAV activity-uuids to the actual names of the svn transactions.  If we
had long-lived transactions, it would matter.  But we don't.



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

Re: DB Errors with Apache2 (not permissions?)

Posted by Ben Collins-Sussman <su...@collab.net>.
On Mon, 2003-11-17 at 14:41, Russ W. Knize wrote:

> failed to open activity db;  check repos perms.

This is a separate database.  It's not the repository database living in
repos/db/, but rather a tiny private database used by mod_dav_svn,
living in repos/dav/.  Go look in there for munged permissions.



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