Re: svnadmin create repo/path - Error

2011-02-10 Thread Rajesh Saha
>
> 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
>


RE: svnadmin create repo/path - Error

2011-02-10 Thread Curley, John

-Original Message-
From: Rajesh Saha [mailto:rajeshsaha...@gmail.com] 
Sent: Thursday, February 10, 2011 10:46 PM
To: users@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


Re: svnadmin create repo/path - Error

2011-02-11 Thread Rajesh Saha
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.

Regards,
Rajesh



On Fri, Feb 11, 2011 at 1:07 PM, Curley, John wrote:

>
> -Original Message-
> From: Rajesh Saha [mailto:rajeshsaha...@gmail.com]
> Sent: Thursday, February 10, 2011 10:46 PM
> To: users@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
>


Re: svnadmin create repo/path - Error

2011-02-11 Thread Andy Levy
On Fri, Feb 11, 2011 at 02:59, Rajesh Saha  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 
> wrote:
>>
>> -Original Message-
>> From: Rajesh Saha [mailto:rajeshsaha...@gmail.com]
>> Sent: Thursday, February 10, 2011 10:46 PM
>> To: users@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
>
>


Re: svnadmin create repo/path - Error

2011-02-11 Thread Daniel Shahaf
1.5.6 has a known security hole, consider upgrading.

Rajesh Saha wrote on Fri, Feb 11, 2011 at 12:16:22 +0530:
> >
> > 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
> >


Re: svnadmin create repo/path - Error

2011-02-11 Thread Nico Kadel-Garcia
On Fri, Feb 11, 2011 at 2:59 AM, Rajesh Saha  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.
> Regards,
> Rajesh

Get *off* of RHEL 4. Seriously, it's no longer feasible to maintain
the current Subversion with that OS. Jump up to RHEL 6, which has
subversion-1.6.13, or at least update to RHEL 5 and use
Subversion-1.6.16 from the RPMforge repository. The Subversion-1.4.2
that comes with RHEL 4 is dangerously out of date and should not be
used in any production environment.