You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by mdean77 <md...@comcast.net> on 2004/10/14 15:50:48 UTC

Probable Newbie Screwup

I have a svn repository on the local drive of my Macintosh and have 
used three different modes to access it - the terminal, svnX, and 
SCPlugin v243.  The plugin is useful because I can right click on a 
file or inside a working directory and add, commit, etc. without 
invoking an application.  svnX is useful for browsing the repository, 
etc.

My repository only has 42 revisions in it, with two projects. There 
have been no problems up to this point, and I am the only user.  But I 
can no longer commit any changes to the repository.  When trying from 
the plugin:

svn: Unable to open an ra_local session to URL
svn: Unable to open repository 
'file:///localhost/users/mdean/repository/cdmcc/trunk'

Process finished with exit status 1.

After attempting this, if I try to browse the repository from svnX:

svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///Users/mdean/Repository'
svn: Berkeley DB error while opening environment for filesystem 
/Users/mdean/Repository/db:
DB_RUNRECOVERY: Fatal error, run database recovery

So I recover the database:

svnadmin recover /users/mdean/repository
Please wait; recovering the repository may take some time...

Recovery completed.
The latest repos revision is 42.

If I now try again to commit any changes, I get:

svn: Working copy '/Users/mdean/Desktop/cdmcc copy' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for 
details)

svn cleanup /Users/mdean/Desktop/cdmcc\ copy

Then I run a commit again, with no apparent problem, but when I try to 
browse the repository I am back to

svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///Users/mdean/Repository'
svn: Berkeley DB error while opening environment for filesystem 
/Users/mdean/Repository/db:
DB_RUNRECOVERY: Fatal error, run database recovery

At this point am at a loss about how I got into this mess.  Assistance 
will be appreciated.

Re: Probable Newbie Screwup

Posted by Tobias Ringström <to...@ringstrom.mine.nu>.
mdean77 wrote:

> I have a svn repository on the local drive of my Macintosh and have 
> used three different modes to access it - the terminal, svnX, and 
> SCPlugin v243. The plugin is useful because I can right click on a 
> file or inside a working directory and add, commit, etc. without 
> invoking an application. svnX is useful for browsing the repository, etc.

http://subversion.tigris.org/project_faq.html#stuck-bdb-repos

/Tobias


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org