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

Strange svnsync failure "svnsync: REPORT request failed"

From: Jonathan Ashley <jonathan.ashley_at_praxis-his.com>
Date: 2007-05-11 17:20:51 CEST

Hello,

I have just spent a day solving this problem - was on the verge of
making a detailed post to this list asking for help when the answer
dawned. But since Google turned up nothing useful for me, I thought I'd
post the answer anyway, so that anyone else who gets a similar problem
might find the solution.

I was trying to use svnsync to mirror a repository between two Apache
servers, from 'main' to 'standby'. Each was running under an account
'svnowner'. I was also running the svnsync process under that account.
Naturally, that account had full read and write access to the repository
areas.

I could initialise the empty repository fine, by running "svnsync init
http://standby-server/svn/repo http://main-server/svn/repo" on the main
server. But when I ran "svnsync sync http://standby-server/svn/repo", I
got the result:

---
svnsync: REPORT request failed on 'http://main-server/svn/repo'
svnsync: REPORT of 'http://main-server/svn/repo': 200 OK
(http://main-server)
---
Confusing error message, especially the "200 OK" success code. Anyway,
the stupid thing that I had forgotten was to give 'svnowner' full write
access to the destination repository *as* *a* *user* (access was being
controlled using an AuthzSVNAccessFile). In fact, I don't think it had
any write access at all. I'd remembered to give it read access to the
source repository.
I think what really slowed me down is that the error message makes it
look as though the problem is with the *source* repository.
regards,
--
Jon Ashley
This email is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use, disclosure, copying or distribution or any action taken or omitted to be taken in reliance on it is strictly prohibited. If you have received this email in error please contact the sender. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Praxis. 
Although this email and any attachments are believed to be free of any virus or other defect, no responsibility is accepted by Praxis or any of its associated companies for any loss or damage arising in any way from the receipt or use thereof. The IT Department at Praxis can be contacted at it.support@praxis-his.com.
Praxis High Integrity Systems Ltd:
Company Number: 3302507, registered in England and Wales
Registered Address: 20 Manvers Street, Bath. BA1 1PX
VAT Registered in Great Britain: 682635707
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 11 17:21:13 2007

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.