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

Re: Problem after upgrading to 0.33: mod_svn not working

From: Dominik Westner <lists_at_logicunited.com>
Date: 2003-11-24 09:18:37 CET

HI Jostein,

thanks for your help. I have tried to do this already. It did not help.

But I have tried something else.

I have recreated my repository (dumped with version 0.27) with version
0.31 on an other machine.
Then I have copied back the repository to my machine running 0.33.
Funny enough now apache works fine.
But if I do this as root:

loki subversion # svn ls file:///home/subversion/repository
svn: Couldn't open a repository
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///home/subversion/repository'
svn: Berkeley DB error
svn: Berkeley DB error while opening environment for filesystem
Resource temporarily unavailable

I get this error no matter if I run apache or not at the same time. And
it can't be a permission problem because I am doing this as root.

This is pretty weird I think.


On 23.11.2003, at 11:27, Jostein Chr. Andersen wrote:

> On Sunday 23 November 2003 10.57, Dominik Westner wrote:
>> I verified that my repository is owned by the user apache is running.
>> Any ideas what could be wrong?
> Stop Apache.
> As root, do the following command:
> svnadmin recover /home/subversion/repository
> Are _every_ file in "/home/subversion/repository" owned by "apache"?,
> this command will help:
> chown -R apache:yourgroupname /home/subversion/repository
> Are all the files writable by at least owner (and maybe group)?
> * If user and group needs this access:
> chmod 644 /home/subversion/repository/*/*
> * If only user needs write access:
> 664 /home/subversion/repository/*/*
> Then "chmod 755 dav db hooks locks" (if write access for both user and
> group) or "chmod 775 dav db hooks locks" (user only) from within
> "/home/
> subversion/repository".
> Jostein
> --
> Jostein Chr. Andersen <jostein@josander.net>
> http://www.josander.net/

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 24 09:19:39 2003

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.