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

RE: Issue | Moving and Renaming files on Mirror/Slave repository

From: Nikhil Gupta II <nGupta13_at_sapient.com>
Date: Sat, 25 Jul 2009 11:31:44 +0530

Hi Peter ,

Thanks for your reply.

For Windows Configuration

I have installed Collabnet 1.6.3 on two Windows Machines

I have done one way configuration on Windows :
Machine 1(master) --------------> Machine 2 ( slave)

But renaming the file on the slave gave the same problem :

svn: Commit failed (details follow):
svn: Server sent unexpected return value (405 Method Not Allowed) in response to COPY request for '/slave/qa1/helloiamthe_masteronqa1/!svn/bc/17/branches'

I have attached the Master and Slave httpd configuration on Windows for your review.

For Mac Configuration

Subversion server ( slave/ master ) : 1.6.2
Apache : 2.2.8

Also , we want this configuration to run on Mac/Linux servers. And we are getting the same problem while renaming/moving the files on slave machine.
I am also sending the configuration for master and slave along with the httpd.conf for Mac machine.

We have configured the two way replication between two Mac/Linux severs in the following manner.
Machine 1(master) --------------> Machine 2 ( slave)
Machine 2(master) ---------------> Machine 1 ( slave)

Please provide your valuable inputs.

Thanks in Advance,
Nikhil Gupta
Associate Technology L2, Delivery Capabilities | Sapient

DLF Cyber Greens, DLF Phase-III, Sector 25-A,
Gurgaon 122 002, Haryana, India.mobile: +91.9899699639
E-mail: ngupta13_at_sapient.com

-----Original Message-----
From: Peter Samuelson [mailto:peter_at_p12n.org]
Sent: Saturday, July 25, 2009 12:56 AM
To: Nikhil Gupta II
Cc: dev_at_subversion.tigris.org; Jay Kumar Sharma
Subject: Re: Issue | Moving and Renaming files on Mirror/Slave repository

Are you sure you are using Subversion 1.6.2 on the slave as well as the
master? There was a bug in mod_dav_svn in some releases of Subversion
1.5 that sounds a lot like what you are seeing.

--
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
_____________________________________________
From:   Nikhil Gupta II
Sent:   Thursday, July 23, 2009 8:54 PM
To:     'dev_at_subversion.tigris.org'
Cc:     Jay Kumar Sharma
Subject:        Issue | Moving and Renaming files on Mirror/Slave repository
Hi ,
We are using the SVN write through proxy for our distributed environment and the configuration has been achieved as mentioned in the blog :
http://blogs.open.collab.net/svn/2007/10/yesterday-at-th.html
We have configured the Two way replication between two severs I,e
Machine (master)  -----------> Machine 2 ( slave)
Machine (slave) ---------------> Machine 2 ( master)
The following versions for Apache, Subversion and SNIT are used
Apache : 2.2.8
Subversion server : 1.6.2
SVN KIT API  : 1.3.0
With the help of WEBDAV Write through proxy , the write operations performed on the slave repository are proxied to the master repository.
The following operation are working fine on slave repository
1) Add files /folders
2) Updating files
3) Deleting files/folders
4) Changing the custom property for files.
The problem we are facing is while the renaming and moving files/folders only on the slave repository.
Whereas the rename and move operations work correctly on the master repository and the changes are also well replicated on all the slave repositories.
While performing the rename and move operation from the tortoise client , the following error messages are received
While renaming a file it gives the following error
svn: Commit failed (details follow):
svn: Server sent unexpected return value (405 Method Not Allowed) in response to COPY request for '/slave/qa1/helloiamthe_masteronqa1/!svn/bc/17/branches'
Similarly while moving the folder gives the following error
svn: Server sent unexpected return value (405 Method Not Allowed)
As per the Apache Error logs : Following is the error message seen in the logs :
[error]  (2)No such file or directory: Requests for a collection must have a trailing slash on the URI.
I have attached the master and slave configuration along with the httpd.conf  for your review.
Looking forward for early reply
 << File: httpd.conf >>  << File: port-443.conf >>
Thanks in Advance,
Nikhil Gupta
Associate Technology L2, Delivery Capabilities | Sapient
DLF Cyber Greens, DLF Phase-III, Sector 25-A,
Gurgaon 122 002, Haryana, India.mobile: +91.9899699639
E-mail: ngupta13_at_sapient.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2375470


Received on 2009-07-27 18:30:08 CEST

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.