You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ben Kyrlach <bk...@hobsons-us.com> on 2009/03/28 13:48:02 UTC

Can't create a new repository on Centos 5.2 with SVN 1.6

Hey...

 

Last night I spent a few hours downloading and building SVN 1.6 on a
brand new Centos 5.2 server. This morning, I'm attempting to create a
new repository to migrate my old SVN data into, and svnadmin fails to
create the new repository.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1456220

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re[2]: Can't create a new repository on Centos 5.2 with SVN 1.6

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, Ben Kyrlach!

BK> This is probably a server configuration issue. If I go to roots home
BK> directory, I can create new repositories to my hearts content. :-(

Try supplying the full path to repository.
Either from root or from other obvious point, like ~/


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 28.03.2009, <17:15>

Sorry for my terrible english...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1456664

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Can't create a new repository on Centos 5.2 with SVN 1.6

Posted by Ben Kyrlach <bk...@hobsons-us.com>.
Thank you. That pointed me in the right direction. Turns out that I hadn't started the nfslock service. The error message was complaining about database locks, so it kinda started me down the wrong path. Now I can create repositories successfully on the nfs mount.
 
Thanks again!

________________________________

From: Ryan Schmidt [mailto:subversion-2009a@ryandesign.com]
Sent: Sat 3/28/2009 6:55 PM
To: Ben Kyrlach
Cc: users@subversion.tigris.org
Subject: Re: Can't create a new repository on Centos 5.2 with SVN 1.6




On Mar 28, 2009, at 09:30, Ben Kyrlach wrote:

> Are there any known issues with creating an SVN repository on a NFS 
> file system? That's the only difference I can see between creating 
> the repo in roots home directory (which is on the servers physical 
> disk) and the other location I tried, which is an NFS mount point.
>

FSFS-based Subversion repositories can be stored on NFS, if the NFS 
implementation handles locking properly. It sounds like yours might not.

http://subversion.tigris.org/faq.html#nfs

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1462676

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Can't create a new repository on Centos 5.2 with SVN 1.6

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Mar 28, 2009, at 09:30, Ben Kyrlach wrote:

> Are there any known issues with creating an SVN repository on a NFS  
> file system? That’s the only difference I can see between creating  
> the repo in roots home directory (which is on the servers physical  
> disk) and the other location I tried, which is an NFS mount point.
>

FSFS-based Subversion repositories can be stored on NFS, if the NFS  
implementation handles locking properly. It sounds like yours might not.

http://subversion.tigris.org/faq.html#nfs

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1462368

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


RE: Can't create a new repository on Centos 5.2 with SVN 1.6

Posted by Ben Kyrlach <bk...@hobsons-us.com>.
Are there any known issues with creating an SVN repository on a NFS file
system? That's the only difference I can see between creating the repo
in roots home directory (which is on the servers physical disk) and the
other location I tried, which is an NFS mount point.

 

________________________________

From: Ben Kyrlach [mailto:bkyrlach@hobsons-us.com] 
Sent: Saturday, March 28, 2009 9:56 AM
To: users@subversion.tigris.org
Subject: RE: Can't create a new repository on Centos 5.2 with SVN 1.6

 

This is probably a server configuration issue. If I go to roots home
directory, I can create new repositories to my hearts content. :-(

 

________________________________

From: Ben Kyrlach [mailto:bkyrlach@hobsons-us.com] 
Sent: Saturday, March 28, 2009 9:50 AM
To: users@subversion.tigris.org
Subject: RE: Can't create a new repository on Centos 5.2 with SVN 1.6

 

Accidentally hit sent. :-(

 

Here's what I see on the server side.

 

[root@srv1 repositories]# svnadmin create repos

svnadmin: database is locked

svnadmin: database is locked

[root@srv1 repositories]#

 

Keep in mind that this is a brand new machine. I have run yum update and
used yum to get all of the dependencies required to build SVN from
source. The only thing I had to do which was slightly worrisome, was to
download the sqlite amalgamation tarball, because the version of sqlite
in the Centos yum repo wasn't the right one for SVN.

 

Any ideas? 

 

________________________________

From: Ben Kyrlach 
Sent: Saturday, March 28, 2009 9:48 AM
To: users@subversion.tigris.org
Subject: Can't create a new repository on Centos 5.2 with SVN 1.6

 

Hey...

 

Last night I spent a few hours downloading and building SVN 1.6 on a
brand new Centos 5.2 server. This morning, I'm attempting to create a
new repository to migrate my old SVN data into, and svnadmin fails to
create the new repository.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1456745

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Can't create a new repository on Centos 5.2 with SVN 1.6

Posted by Ben Kyrlach <bk...@hobsons-us.com>.
This is probably a server configuration issue. If I go to roots home
directory, I can create new repositories to my hearts content. :-(

 

________________________________

From: Ben Kyrlach [mailto:bkyrlach@hobsons-us.com] 
Sent: Saturday, March 28, 2009 9:50 AM
To: users@subversion.tigris.org
Subject: RE: Can't create a new repository on Centos 5.2 with SVN 1.6

 

Accidentally hit sent. :-(

 

Here's what I see on the server side.

 

[root@srv1 repositories]# svnadmin create repos

svnadmin: database is locked

svnadmin: database is locked

[root@srv1 repositories]#

 

Keep in mind that this is a brand new machine. I have run yum update and
used yum to get all of the dependencies required to build SVN from
source. The only thing I had to do which was slightly worrisome, was to
download the sqlite amalgamation tarball, because the version of sqlite
in the Centos yum repo wasn't the right one for SVN.

 

Any ideas? 

 

________________________________

From: Ben Kyrlach 
Sent: Saturday, March 28, 2009 9:48 AM
To: users@subversion.tigris.org
Subject: Can't create a new repository on Centos 5.2 with SVN 1.6

 

Hey...

 

Last night I spent a few hours downloading and building SVN 1.6 on a
brand new Centos 5.2 server. This morning, I'm attempting to create a
new repository to migrate my old SVN data into, and svnadmin fails to
create the new repository.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1456390

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Can't create a new repository on Centos 5.2 with SVN 1.6

Posted by Ben Kyrlach <bk...@hobsons-us.com>.
Accidentally hit sent. :-(

 

Here's what I see on the server side.

 

[root@srv1 repositories]# svnadmin create repos

svnadmin: database is locked

svnadmin: database is locked

[root@srv1 repositories]#

 

Keep in mind that this is a brand new machine. I have run yum update and
used yum to get all of the dependencies required to build SVN from
source. The only thing I had to do which was slightly worrisome, was to
download the sqlite amalgamation tarball, because the version of sqlite
in the Centos yum repo wasn't the right one for SVN.

 

Any ideas? 

 

________________________________

From: Ben Kyrlach 
Sent: Saturday, March 28, 2009 9:48 AM
To: users@subversion.tigris.org
Subject: Can't create a new repository on Centos 5.2 with SVN 1.6

 

Hey...

 

Last night I spent a few hours downloading and building SVN 1.6 on a
brand new Centos 5.2 server. This morning, I'm attempting to create a
new repository to migrate my old SVN data into, and svnadmin fails to
create the new repository.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1456230

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].