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

Re: commit failed - No such file or directory

From: Vikrama Sanjeeva <viki.sanjeeva_at_gmail.com>
Date: Tue, 11 May 2010 11:15:47 +0300

Hi,

Subversion 1.6.9 hosted on Solaris 5.10 and am using TortoiseSVN 1.6.7 on
WinXP Pro SP2

permissions on "/my/svn/backup/repo-7" is "chmod -R 777" [so it should be
accessible by apache and all]

/my/svn/repo> ls
README.txt conf dav db format hooks
locks

/my/svn/backup/repo-7> ls
README.txt conf db format hooks locks

Only "dav" folder is missing in backup taken by "hot-backup.py"

size of "/my/svn/repo" 89K
size of "/my/svn/backup/repo-7" 81K

Bye,
Viki.

On Tue, May 11, 2010 at 10:59 AM, Cooke, Mark <mark.cooke_at_siemens.com>wrote:

> > On Mon, May 10, 2010 at 3:42 PM, Vikrama Sanjeeva
> > <viki.sanjeeva_at_gmail.com> wrote:
> >
> > Hi,
> >
> > 1: Did backup of live repository as below:
> > hot-backup.py --archive-type=zip /my/svn/repo /my/svn/backup
> >
> > 2: Unzipped /my/svn/backup/repo-7.zip
> >
> > 3: checkout /my/svn/backup/repo-7 (using Tortoise)
> >
> > 4: On commit, am getting below error in Apache error_log
> > ###############
> > Can't create directory
> > /my/svn/backup/repo-7/db/transactions/7-8.txn': No such file
> > or directory [500, #2]
> > ###############
> >
> > httpd.conf:
> > <Location /svn/bck>
> > DAV svn
> > SVNPath /my/svn/backup/repo-7
> > AuthType Basic
> > AuthName "Subversion repository"
> > AuthUserFile /my/svn/users/svn-repo-auth-file
> > Require valid-user
> > </Location>
> >
> > Please guide.
> >
> > Bye,
> > Viki.
> >
> >
> > Someone please help me to troubleshoot this issue.
> >
> > Thanks.
> >
> > Bye,
> > Viki.
> >
> Hmm, you do not give any information as to what platform(s) and versions
> of tortoise / subversion you are using. Your paths look unix but
> tortoise is windoze so I assume you have a linux server of some flavour
> running subversion behind apache. I assume you did your backup /
> restore on the server then accessed the repo from a windoze client.
>
> As a first stab in the dark: have you checked / set the proper
> permissions for the apache user on the new directories
> (/my/svn/backup/repo-7)? Are all the required directories (as created
> by svnadmin when you create a new repo) there? I'm not sure what
> hot-backup does as I've never used it, does it backup the extra
> directories?
>
> ~ mark c
>
Received on 2010-05-11 10:16:21 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.