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

RE: svnsync: Authorization failed

From: Li, Hubert <Hubert.Li_at_arris.com>
Date: Mon, 14 Sep 2015 07:39:24 +0000

I got the new error messages below:

[root_at_zch124svn01 tmp]# svnsync info svn://zch124svn01.ap.mot-mobility.com/miracle3
subversion/libsvn_subr/sqlite.c:192: (apr_err=200030)
svnsync: database is locked
subversion/libsvn_subr/sqlite.c:362: (apr_err=200030)
svnsync: database is locked

Thanks,
Hubert Li
ARRIS


From: Li, Hubert
Sent: Monday, September 14, 2015 3:00 PM
To: 'Eric Johnson' <eric_at_tibco.com>
Cc: users_at_subversion.apache.org
Subject: RE: svnsync: Authorization failed

Thanks, Eric. I tried to add –username and –password in svnsync, and got the same error messages. Yes, 1.6.6 is old, but we have to use it for some reasons.

Thanks,
Hubert Li
ARRIS

From: Eric Johnson [mailto:eric_at_tibco.com]
Sent: Monday, September 14, 2015 2:43 PM
To: Li, Hubert <Hubert.Li_at_arris.com<mailto:Hubert.Li_at_arris.com>>
Cc: users_at_subversion.apache.org<mailto:users_at_subversion.apache.org>
Subject: Re: svnsync: Authorization failed

Two quick thoughts (I'm not a developer, just a user of Subversion):

1) 1.6.6 is old. If you can upgrade, you might get easier to understand error messages.

2) The sync operation is trying to sync from some other place. Given that your credentials to access the zch124... repository may be fine, the likely culprit is the credentials to access the source of the sync request data. In any case, "svnsync help sync" will give you the command line options you can pass to set the creds.

Eric.


On Sun, Sep 13, 2015 at 8:02 PM, Li, Hubert <Hubert.Li_at_arris.com<mailto:Hubert.Li_at_arris.com>> wrote:
Hi,

I got the following error when I ran svnsync:
[root@zch124svn01 conf]# svnsync sync svn://zch124svn01.ap.mot-mobility.com/miracle3<http://zch124svn01.ap.mot-mobility.com/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.
[/dept/stb/...67/svn/test]$ svn export svn://zch124svn01.ap.mot-mobility.com/miracle3<http://zch124svn01.ap.mot-mobility.com/miracle3>
A miracle3


Below is my system info:
[root_at_zch124svn01 conf]# cat /etc/issue
CentOS release 6.4 (Final)
Kernel \r on an \m

[root_at_zch124svn01 conf]# 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/

Thanks,
Hubert Li
ARRIS


Received on 2015-09-14 09:39:48 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.