You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Anthony Talo <at...@biggs-gilmore.com> on 2006/09/26 13:43:14 UTC

Commit Error-Can't close activity db: Internal Error REDUX

My bad - I neglected to include the apache log information:
My Problem again:
I have svn 1.3.2 (no BDB) running on an xserve (10.4.7) with Apache  
2.2.3 (+SSL, +LDAP). I can check out a repository, update it, but  
when I try to commit, I get the following error:

"svn-commit.2.tmp" 4L, 48210C written
isvn: Commit failed (details follow):
svn: Can't close activity db: Internal error
svn: Your commit message was left in a temporary file:
svn:    '/mypath/svn-commit.2.tmp'

My guess is that it is a permissions error but I haven't tracked it  
down. The BDB is installed (4.4.20 for OpenLDAP) but not used for  
svn. I've searched but not found the specific error I'm receiving, so  
I'm thinking (hoping) it must be a simple fix. Help with this would  
be very appreciated!

Subversion was compiled with:
CFLAGS="-arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk" \
sudo ./configure --prefix=/usr/local --mandir=/usr/local/share/man -- 
with-ssl --with-apxs=/usr/local/apache2/bin/apxs --with-zlib -- 
without-berkeley-db --with-apr=/usr/local/apache2 --with-apr-util=/ 
usr/local/apache2 --with-ldap

Apache was compiled with:
CFLAGS="-arch ppc" sudo ./configure --enable-mods-shared=most -- 
enable-ssl --with-ssl-lib=/usr/local/ssl/lib --with-mpm=worker -- 
without-berkeley-db --enable-rewrite --enable-deflate --with-ldap -- 
with-ldap-lib=/usr/local/lib --with-ldap-include=/usr/local/include -- 
enable-ldap --enable-auth-ldap

APACHE LOG:
[Mon Sep 25 15:18:26 2006] [crit] (70023)This function has not been  
implemented on this platform: DBD: driver for [DBDriver unset] not  
available
[Mon Sep 25 15:18:26 2006] [crit] (70023)This function has not been  
implemented on this platform: DBD: failed to initialise
[Mon Sep 25 15:18:26 2006] [crit] (70023)This function has not been  
implemented on this platform: DBD: driver for [DBDriver unset] not  
available
[Mon Sep 25 15:18:26 2006] [crit] (70023)This function has not been  
implemented on this platform: DBD: failed to initialise
[Mon Sep 25 15:18:26 2006] [crit] (70023)This function has not been  
implemented on this platform: DBD: driver for [DBDriver unset] not  
available
[Mon Sep 25 15:18:26 2006] [crit] (70023)This function has not been  
implemented on this platform: DBD: failed to initialise
[Mon Sep 25 15:18:26 2006] [crit] (70023)This function has not been  
implemented on this platform: DBD: driver for [DBDriver unset] not  
available
[Mon Sep 25 15:18:26 2006] [crit] (70023)This function has not been  
implemented on this platform: DBD: failed to initialise
[Mon Sep 25 15:18:26 2006] [crit] (70023)This function has not been  
implemented on this platform: DBD: driver for [DBDriver unset] not  
available
[Mon Sep 25 15:18:26 2006] [crit] (70023)This function has not been  
implemented on this platform: DBD: failed to initialise
[Mon Sep 25 15:18:26 2006] [notice] Apache/2.2.3 (Unix) mod_ssl/2.2.3  
OpenSSL/0.9.7i DAV/2 SVN/1.3.2 configured -- resuming normal operations
[Mon Sep 25 15:19:36 2006] [error] [client 10.10.1.113] Could not  
create activity /svn/experimental/!svn/act/6c49d9c8-3889-4f27-a5a9- 
aa4cf19f9534.  [500, #0]
[Mon Sep 25 15:19:36 2006] [error] [client 10.10.1.113] could not  
close dbm files.  [500, #20014]
[Mon Sep 25 15:19:36 2006] [error] [client 10.10.1.113] Can't close  
activity db: Internal error  [500, #20014]
[Mon Sep 25 15:21:56 2006] [error] [client 10.10.1.113] Could not  
create activity /svn/experimental/!svn/act/fa644e4a-a155-4e86- 
a562-75c654c476c6.  [500, #0]
[Mon Sep 25 15:21:56 2006] [error] [client 10.10.1.113] could not  
close dbm files.  [500, #20014]
[Mon Sep 25 15:21:56 2006] [error] [client 10.10.1.113] Can't close  
activity db: Internal error  [500, #20014]

Any help appreciated!

Anthony Talo
Digital Wrangler
Biggs|Gilmore Communications
atalo is at biggs-gilmore.com





Re: Commit Error-Can't close activity db: Internal Error REDUX

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 9/26/06, Anthony Talo <at...@biggs-gilmore.com> wrote:
> My bad - I neglected to include the apache log information:
> My Problem again:
> I have svn 1.3.2 (no BDB) running on an xserve (10.4.7) with Apache 2.2.3
> (+SSL, +LDAP). I can check out a repository, update it, but when I try to
> commit, I get the following error:
>
> "svn-commit.2.tmp" 4L, 48210C written
> isvn: Commit failed (details follow):
> svn: Can't close activity db: Internal error
> svn: Your commit message was left in a temporary file:
> svn:    '/mypath/svn-commit.2.tmp'

So, mod_dav_svn uses this auxiliary database called the 'activity db'.
 It's a little dbm file inside the repository in the dav subdirectory
on disk.  It appears that the dbm file is corrupted.  Fortunately, no
long-lived data is stored there, so you should be able to shut down
your server, delete that dbm file, and restart it and everything
should work again.

-garrett

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