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

Master-Slave

From: Somashekarappa, Anup (CWM-NR) <anup.somashekarappa_at_rbc.com>
Date: Tue, 19 Aug 2014 19:22:37 +0000

Hi,

We have configured master-slave setup in the linux servers and getting the below error while doing sync.

If I remove the SVNMasterURI in the config file then sync will happen successfully.

<Location /svn>
        DAV svn
        SVNListParentPath on
        SVNParentPath /app/application/svn/dataProd
        SVNPathAuthz short_circuit
        #SVNListParentPath on
        AuthzSVNAccessFile /app/application/svn/access/svnaccessfile

SVNMasterURI http://MASTER_SERVER_IP/svn

ERROR:=============================================================================================
svnsync: E175002: DAV request failed; it's possible that the repository's pre-revprop-change hook either failed or is non-existent
svnsync: E175008: At least one property change failed; repository is unchanged
svnsync: E175002: Error setting property 'sync-lock':
Repository has not been enabled to accept revision propchanges;
ask the administrator to create a pre-revprop-change hook
:=============================================================================================

I have kept the pre-revprop-change hook in slave repository and made it has "exit 0"

Sync command used in post-commit of master:-> svnsync --non-interactive sync http://SLAVE_IP/svn/Repo --username=admin --password=********

Thanks,
Anup T S

______________________________________________________________________

This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential.
Unauthorised use or disclosure is prohibited. If you receive this e-mail in error, please advise immediately
and delete the original message. This message may have been altered without your or our knowledge
and the sender does not accept any liability for any errors or omissions in the message.

Emails are monitored by supervisory personnel in jurisdictions where monitoring is permitted.
Such communications are retained and may be produced to regulatory authorities or others with legal rights to the information.
Received on 2014-08-19 21:23:12 CEST

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.