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

Re: "Couldn't open rep-cache database" (post commit FS processing)

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 16 Nov 2011 15:04:44 +0000

Aleksandr Sidorenko <asidorenko_at_cashontime.com> writes:

> I tried changed the permissions on the repository to be more permissive, and changing the user/group of the Apache server: no help.
>
> I also tried recompiling from source, but that did not help either.
>
> To recap, I am getting this warning after every commit since we upgraded the SVN server to 1.7.1:
>
> Warning: post commit FS processing had error:
> Couldn't open rep-cache database

As you are building from source could you try the following patch, it
will cause the lower level error to be returned:

Index: subversion/libsvn_fs_fs/rep-cache.c
===================================================================
--- subversion/libsvn_fs_fs/rep-cache.c (revision 1202695)
+++ subversion/libsvn_fs_fs/rep-cache.c (working copy)
@@ -121,7 +121,7 @@
   fs_fs_data_t *ffd = fs->fsap_data;
   svn_error_t *err = svn_atomic__init_once(&ffd->rep_cache_db_opened,
                                            open_rep_cache, fs, pool);
- return svn_error_quick_wrap(err, _("Couldn't open rep-cache database"));
+ return err;
 }
 
 svn_error_t *

-- 
Philip
Received on 2011-11-16 16:05:21 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.