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

Re: Problem when trying to do svnsync slave master

From: RobBooke <robbooke_at_gmail.com>
Date: Tue, 30 Jun 2009 07:45:45 -0700 (PDT)

Yoo thanks fida! I did just that after spending hours quadruple checking my
hook scripts and httpd.conf and BOOYAH I am now svnsyncing my prod repos to
the DR site. Next is to work out the post-commit hook, works fine when you
run it manually but I must of missed something as it does not run when
Subversion initiates the process.

fida aljounaidi wrote:
>
> To fix that, I delete the line
>
> *SVNMasterURI http://master.server.server/svn
>
> *I don't think that it is a normal behaviour. Is it a bug on subversion ?
>
> Thanks *
> *
> 2009/5/6 fida aljounaidi <fida.aljounaidi_at_gmail.com>
>
>> Sorry
>> i've find the log in the master server:
>>
>> [Wed May 06 12:18:47 2009] [error] [client 10.0.0.1] Access denied:
>> 'user1'
>> PROPPATCH !svn:/bln/0
>> [Wed May 06 12:22:50 2009] [error] [client 10.0.0.1] could not remove a
>> property [500, #165006]
>> [Wed May 06 12:22:50 2009] [error] [client 10.0.0.1] Repository has not
>> been enabled to accept revision propchanges;\nask the administrator to
>> create a pre-revprop-change hook [500, #165006]
>> [Wed May 06 12:22:50 2009] [error] [client 10.0.0.1] Could not execute
>> PROPPATCH. [500, #206]
>> [Wed May 06 12:22:50 2009] [error] [client 10.0.0.1] Repository has not
>> been enabled to accept revision propchanges;\nask the administrator to
>> create a pre-revprop-change hook [500, #165006
>>
>> mut i create a pre-revprop hook script in the master svn ? if that what
>> can
>> i put on it to not restrict access to the other user ?
>>
>> Thanks
>>
>>
>> I'm using subversion 1.6.1
>>
>>
>> 2009/5/6 fida aljounaidi <fida.aljounaidi_at_gmail.com>
>>
>>
>>> Hello everybody
>>>
>>> I'm trying to perform a repository replication using svnsync.
>>> To do that and to limit access to the replicated repository, i
>>> configured
>>> the destination svn server to be a slave adding this directive in the
>>> apache
>>> conf file :
>>>
>>> *SVNMasterURI http://master.server.server/svn*
>>>
>>> And to restrict the write access to this only Master server with these
>>> directives:
>>>
>>> * Order deny,allow
>>> Deny from all
>>> Allow from 10.0.0.1 (@IP of the master server)*
>>>
>>> I put all these directive in the same <Location>
>>> And i restarted apache.
>>>
>>> When i tried to initialize the svnsync with this command
>>>
>>> "*svnsync init
>>> http://slave/svn-proxy-syncfile:///svnroot/svn-master-repos/branche
>>> --sync-username=syncuser
>>> --source-username=user1 --source-password=user1Password *"
>>>
>>> i get this error:
>>>
>>> *svnsync: DAV request failed; it's possible that the repository's
>>> pre-revprop-change hook either failed or is non-existent
>>> svnsync: At least one property change failed; repository is unchanged
>>> svnsync: Server sent unexpected return value (403 Forbidden) in response
>>> to PROPPATCH request for '/svn-proxy-sync/!svn/bln/0'*
>>>
>>> The apache Log doesn't seem to show anything. I don't have any log after
>>> this command.
>>>
>>> can someone help me to understand what is wrong with my configuration?
>>>
>>> Thanks
>>>
>>>
>>> <users_at_subversion.tigris.org>
>>
>>
>>
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2081541
>
> To unsubscribe from this discussion, e-mail:
> [users-unsubscribe_at_subversion.tigris.org].
>

-- 
View this message in context: http://www.nabble.com/Problem-when-trying-to-do-svnsync-slave-master-tp23403741p24273252.html
Sent from the Subversion Users mailing list archive at Nabble.com.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2366726
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-30 17:04:30 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.