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

Re: Could not MERGE resource on COMMIT (Apache 2.0.55)

From: Christopher Ness <chris_at_nesser.org>
Date: 2005-12-10 04:49:11 CET

On Fri, 2005-12-09 at 16:13 -0500, Christopher Ness wrote:
> Hi all,
>
> I have an interesting problem here. Any time I try to use subversion
> 1.2.x-branch with apache 2.0.55 and SSL (aka https://) I get this in the
> error log when I try to commit a revision.
>
> The revision DOES goe into the repository though, but the client doesn't
> update the fact that it was successful since an error is returned.
>
> I built the Linux binaries
> svn, version 1.2.4 (dev build)
> compiled Dec 8 2005, 11:20:28
>
> CLI:
>
> P:\ModuleTrac-SRS>svn mkdir https://servicesvn/svn/trunk/blah -m"Testing
> 1.2.3.."
> Authentication realm: <https://servicesvn:443> Service I.T. Subversion
> Repository
> Password for 'cgness': **********
> svn: MERGE request failed on '/svn/trunk'
> svn: Can't open directory
> '/svn/repositories/zenon/db/transactions/23-1.txn/transactions': No such
> file or directory
>
>
> APACHE LOG:
>
> Could not MERGE resource
> "/svn/!svn/act/dad13bfb-137d-bc4f-8056-27bc2c18657c" into "/svn/trunk".
> [409, #0]
> An error occurred while committing the transaction. [409, #2]
> Can't open directory
> '/svn/repositories/zenon/db/transactions/22-1.txn/transactions': No such
> file or directory [409, #2]
>
> Or similar. BUT the file:// protocal works like a charm, so I'm assuming
> it has something to do with DAV. The file system is owned by apache which
> is the username that httpd is running as.
>
> Any ideas what could be causing this?

After screwing my head back on straight I was trying to get two
different versions of APR and APR-UTIL working with Apache and SVN.

It appears that Apache dictates what version of APR* should be used to
compile SVN with so that the modules speak the same language. Makes
sense doesn't it.

My exact versions that caused my above errors were:
  httpd: APR*=0.9.7 (comes with the 2.0.55 tarball)
  svn: APR*=1.1.x (from source)

The moral of the story is don't do this.

Use the "--with-apxs=/path/to/bin/apxs" flag and the scripts should
discover the required APR* programs.

Cheers,
Chris

-- 
http://www.nesser.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Dec 10 04:49:47 2005

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

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