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

Re: svnadmin create repo/path - Error

From: Andy Levy <andy.levy_at_gmail.com>
Date: Fri, 11 Feb 2011 06:16:17 -0500

On Fri, Feb 11, 2011 at 02:59, Rajesh Saha <rajeshsaha123_at_gmail.com> wrote:
> Hi
>
> No, it does. I have run this command on linux (RHEL4) on local path. It
> creates.
>
> However, in this case, even if I mention the full path then also, it is
> giving this error. Btw, the path is nfs mounted.

When you put a repository on an NFS mount, it must be configured
properly for file locking. See
http://subversion.apache.org/faq.html#nfs

>
> On Fri, Feb 11, 2011 at 1:07 PM, Curley, John <John.Curley_at_windriver.com>
> wrote:
>>
>> -----Original Message-----
>> From: Rajesh Saha [mailto:rajeshsaha123_at_gmail.com]
>> Sent: Thursday, February 10, 2011 10:46 PM
>> To: users_at_subversion.apache.org
>> Subject: Re: svnadmin create repo/path - Error
>>
>>        Hi
>>
>>        I was trying to create a repository with this command.
>>
>>        svnadmin create --fs-type fsfs newrepo
>>
>>        But, it is giving error as follows.
>>
>>        svnadmin: Repository creation failed
>>        svnadmin: Creating db lock file
>>        svnadmin: Can't open file 'newrepo/locks/db.lock': Permission
>> denied
>>
>>        My SVN version is 1.5.6.
>>        The OS is Solaris 8
>>
>>        Anybody have any idea/resolution ?
>>
>>
>>        Thanks in advance,
>>        Rajesh
>>
>> ----------------------------
>> Hi,
>>
>> According to 'Version Control with Subversion', chapter 5, section
>> 'Creating and Configuration Your Repository', the command should resemble:
>>
>>   svnadmin create --fs-type fsfs /var/svn/repos
>>
>> Where you specify the path to your repository in place of
>> "/var/svn/repos". It does not understand your current location.
>>
>> HTH,
>> John
>
>
Received on 2011-02-11 12:17:37 CET

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.