Release Management

Monday, March 3, 2008

Can't open activity db: Permission denied error for SVN commits

On my way to work this morning I got an emergency call from developer who unsuccessfully tried to commit latest java code changes to Subversion repository using TortoiseSVN. The developers was getting "Can't open activity db: Permission denied" error in TortoiseSVN client when he tried to commit or create a new tag in SVN.

The Apache error log had this lines related to SVN commit problem
Could not create activity /!svn/act/9dac40a3-4acf-3456-b328-a2598c258d06
Could not open dbm files
Can't open activity db: Permission denied

Just in case I have run svnadmin verify on Subversion repository, but as expected there was no problem at all. Then I noticed that the files on the dav folder of the SVN repository are not writable by Apache server. I changed files permission and successfully committed files with TortoiseSVN again.

The configuration used in this solution

• SVN 1.4.6
• Apache 2.0.49
• Tortoise 1.4.7

Unfortunately no references related to SVN commit problem were found in Subversion FAQ or TortoiseSVN FAQ

Update: I set permissions for "activites.pag" and "activities.dir" files in dav folder to 777

Labels: ,

2 Comments:

  • I'm trying to resolve 'can't open activity' SVN error too. Could you provide details of required permission?

    JL

    By Anonymous Anonymous, At May 9, 2008 10:56 AM  

  • Thanks for this tip!

    I ran into the same problem and your tip solved it overhere

    By Blogger davy, At June 11, 2008 5:20 AM  

Post a Comment

Subscribe to Post Comments [Atom]



<< Home


All posts in one place

  • Doxygen vs JavaDoc
  • Installing JNetDirect's JSQLConnect driver
  • Finding problems in Java code wtih PMD
  • Log4j best practices
  • Can't open activity db: Permission denied error for SVN commits
  • Jira Subversion Plugin
  • Implementing Subversion post-commit hook
  • Troubleshooting Subversion and TortoiseSVN
  • IIS 6.0 does not serve files with .docx
  • Installing ANT on Windows XP
  • Luntbuild dealing with SMTP response 554
  • Confluence and Jira OutOfMemory errors
  •