top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

svnsync: Authorization failed

0 votes
572 views

I got the following error when I ran svnsync:

$ svnsync sync svn://XXX/miracle3 
subversion/svnserve/serve.c:167: (apr_err=170001) 
svnsync: Authorization failed 

but I can co or export it with the same user, e.g. 
$ svn export svn://XXX/miracle3 

A miracle3 

Below is my system info:

$ cat /etc/issue 
CentOS release 6.4 (Final) 
Kernel r on an m 

$ svnsync --version 
svnsync, version 1.6.6 (r40053) 
 compiled Oct 24 2013, 13:59:58 

BTW, we can sync it before rebooting the system, but after reboot it, we got this error. I start the service with this command:

svnserve -d -r /svn_files/svn/ 
posted Sep 14, 2015 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
0 votes

Can anyone give me what is useful and when we actually use?

0 votes

Question about the http authentication when using the subversion api 1.8.13.

For example using the svn_client_list3' function: Everytime this function is called the first http request does not contain any Authorization header which leads to a 401 Authorization Required' response.

In my opinion this leads to an unnecessary delay when the function is called multiple times and the same credentials could be used.

When calling this function the svn_client_ctx_t contains an svn_auth_baton_t with set default username and default password parameters.

Now to my actual question:

Can this behaviour somehow be changed or is it just designed to work this way? I also know that the version I'm using is not the newest one so if you think an upgrade to a newer version could lead to some performance improvement please let me know.

...