You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Nicholas Riley <nj...@uiuc.edu> on 2002/07/23 09:31:08 UTC

The specified activity does not exist, again.

Hi again,

I'm having problems doing anything over HTTP to a Subversion server
which requires writing to the repository.  These seem very similar to
the problems Sebastian Bergmann discussed a few weeks ago on this
list:

  <http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgId=171612>

For example, with a completely virgin repository that I created with:

  cd /var/svn; rm -rf test; svnadmin create test; chmod -R go+rX test;
  chmod -R o+w test/db

if I try a very small sample import, it works fine from the server:

  [p1:5009] ~/src%mkdir test; touch test/testfile; svn import file:///var/svn/test test test -m "Initial import"
  Adding         test/testfile
  Transmitting file data .
  Committed revision 1.

But if I try that from a remote host:

  [p8:5020] ~/src%svn import http://svn.sabi.net/test testfile -m "import"
  nicholas's password:


  svn_error: #21110 : <Activity not found>

  The specified activity does not exist.

It definitely seems to authenticate me properly; if I don't type the
right password I get a "username:" prompt.  I also tried removing all
access controls in Apache and it did not help.  On the server, this
looks like:

[access_log]
  128.174.251.224 - - [23/Jul/2002:04:10:03 -0500] "OPTIONS /test HTTP/1.1" 200 184
  128.174.251.224 - - [23/Jul/2002:04:10:03 -0500] "MKACTIVITY /test/!svn/act/877089ca-6da6-0310-bbdd-cb70d85ed49d HTTP/1.1" 401 476
  128.174.251.224 - nicholas [23/Jul/2002:04:10:07 -0500] "MKACTIVITY /test/!svn/act/877089ca-6da6-0310-bbdd-cb70d85ed49d HTTP/1.1" 201 298
  128.174.251.224 - - [23/Jul/2002:04:10:07 -0500] "PROPFIND /test HTTP/1.1" 207 372
  128.174.251.224 - - [23/Jul/2002:04:10:07 -0500] "PROPFIND /test/!svn/vcc/default HTTP/1.1" 207 338
  128.174.251.224 - nicholas [23/Jul/2002:04:10:08 -0500] "CHECKOUT /test/!svn/bln/0 HTTP/1.1" 409 233

[error_log]
  [Tue Jul 23 04:09:59 2002] [notice] Apache/2.0.40-dev (Unix) SVN/0.13.2 (dev build) DAV/2 configured -- resuming normal operations
  [Tue Jul 23 04:10:08 2002] [error] [client 128.174.251.224] Could not CHECKOUT resource /test/!svn/bln/0.  [409, #0]
  [Tue Jul 23 04:10:08 2002] [error] [client 128.174.251.224] (2)No such file or directory: The specified activity does not exist.  [409, #21110]

Environment (as per BUGS file): Mac OS X 10.1.5 on client and server;
unmodified Subversion rev 2633 (server) and 2634 (client); APR tree as
of sometime yesterday (server) and today (client); stock compiler (gcc
2.95.2-derivative); Berkeley DB 4.0.14.

I saved a packet trace of an (unauthenticated) attempt to do the above
here:

  <http://svn.sabi.net/doesnotexist>

in case it's useful.

-- 
=Nicholas Riley <nj...@uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
        Pablo Research Group, Department of Computer Science and
  Medical Scholars Program, University of Illinois at Urbana-Champaign

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

Re: The specified activity does not exist, again.

Posted by Greg Stein <gs...@lyra.org>.
On Tue, Jul 23, 2002 at 01:10:05PM -0500, Nicholas Riley wrote:
> On Tue, Jul 23, 2002 at 03:05:07AM -0700, Greg Stein wrote:
> > On Tue, Jul 23, 2002 at 04:31:08AM -0500, Nicholas Riley wrote:
> > >...
> > >   svn_error: #21110 : <Activity not found>
> > > 
> > >   The specified activity does not exist.
> > 
> > We've seen this when the REPOS/dav/ directory is not writable by the httpd
> > process. Check the permissions to ensure Apache can write to the dav/
> > directory (and db/, of course).
> 
> This indeed is the problem.  I'm sure you're aware the error message
> isn't so great, and it will be fixed. :-)

hehe... "isn't so great" is a fantastic understatement :-)

In any case, it has already filed as issue #709:

  http://subversion.tigris.org/issues/show_bug.cgi?id=709

(to be fixed by beta)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

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

Re: The specified activity does not exist, again.

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On Tue, Jul 23, 2002 at 01:10:05PM -0500, Nicholas Riley wrote:
> On Tue, Jul 23, 2002 at 03:05:07AM -0700, Greg Stein wrote:
> > On Tue, Jul 23, 2002 at 04:31:08AM -0500, Nicholas Riley wrote:
> > >...
> > >   svn_error: #21110 : <Activity not found>
> > > 
> > >   The specified activity does not exist.
> > 
> > We've seen this when the REPOS/dav/ directory is not writable by the httpd
> > process. Check the permissions to ensure Apache can write to the dav/
> > directory (and db/, of course).
> 
> This indeed is the problem.  I'm sure you're aware the error message
> isn't so great, and it will be fixed. :-)
> 
> Is there any documentation on the permissions required for the
> Subversion server to run?  It seems strange (but I don't know anything
> about Berkeley DB) that db/ has to be _writable_ by httpd in order to
> allow _read-only_ access via HTTP or WebDAV.  Is this a Berkeley DB
> issue or a Subversion one?

it's not an "issue", it's just "the way things work".  when you access
a subversion repository in a "read only" manner you often actually are
writing to it, because you're creating a transaction, which involves
writing to the db.  just because you're not changing the data stored
in subversion doesn't mean it isn't keeping track of some bookkeeping
info about you in the database.

-garrett

-- 
garrett rooney                    Remember, any design flaw you're 
rooneg@electricjellyfish.net      sufficiently snide about becomes  
http://electricjellyfish.net/     a feature.       -- Dan Sugalski

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

Re: The specified activity does not exist, again.

Posted by Nicholas Riley <nj...@uiuc.edu>.
On Tue, Jul 23, 2002 at 03:05:07AM -0700, Greg Stein wrote:
> On Tue, Jul 23, 2002 at 04:31:08AM -0500, Nicholas Riley wrote:
> >...
> >   svn_error: #21110 : <Activity not found>
> > 
> >   The specified activity does not exist.
> 
> We've seen this when the REPOS/dav/ directory is not writable by the httpd
> process. Check the permissions to ensure Apache can write to the dav/
> directory (and db/, of course).

This indeed is the problem.  I'm sure you're aware the error message
isn't so great, and it will be fixed. :-)

Is there any documentation on the permissions required for the
Subversion server to run?  It seems strange (but I don't know anything
about Berkeley DB) that db/ has to be _writable_ by httpd in order to
allow _read-only_ access via HTTP or WebDAV.  Is this a Berkeley DB
issue or a Subversion one?

Thanks,

-- 
=Nicholas Riley <nj...@uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
        Pablo Research Group, Department of Computer Science and
  Medical Scholars Program, University of Illinois at Urbana-Champaign

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

Re: The specified activity does not exist, again.

Posted by Greg Stein <gs...@lyra.org>.
On Tue, Jul 23, 2002 at 04:31:08AM -0500, Nicholas Riley wrote:
>...
>   svn_error: #21110 : <Activity not found>
> 
>   The specified activity does not exist.

We've seen this when the REPOS/dav/ directory is not writable by the httpd
process. Check the permissions to ensure Apache can write to the dav/
directory (and db/, of course).

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

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