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

Re: Importing/Commiting using the net-interface not working

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-09-10 16:08:11 CEST

Michael Süß <mai99dsr@ilabws.informatik.uni-leipzig.de> writes:

> [Tue Sep 10 13:10:33 2002] [error] [client 10.10.11.73] could not open dbm
> files. [500, #120022]
> [Tue Sep 10 13:10:33 2002] [error] [client 10.10.11.73] (22)Invalid
> argument: failed to open activity db; check repos perms. [500, #1
> 20022]
>
> The obvious conclusion for me was, that the apache httpd doesn't have
> enough rights to write to my repository, however the whole repository path
> belongs to user nobody allready (and apache runs as nobody). Even a chmod
> -R 777 to the whole path did not help.

Specifically, the httpd process is unable to open the files within the
'dav' subdirectory of your repository. If they are all truly chmod'd
777, then perhaps it's a version problem... i.e. svnadmin used some
database was used to create them (gdbm? bdb?) and httpd/mod_dav_svn is
trying to use a different database library to open them via APR.

Perhaps an 'ldd svnadmin' can show you what it's using?

Another tactic is to run 'httpd -X' within gdb, and break on
dav_svn_get_txn(). You can step into apr_dbm_open() and see what's
happening.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 10 16:10:37 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.