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

Re: Apache/DAV/SVN don't work after some period of time

From: Justin Patrin <papercrane_at_gmail.com>
Date: 2006-09-03 18:52:12 CEST

On 9/3/06, Ryan Schmidt <subversion-2006c@ryandesign.com> wrote:
>
> On Sep 3, 2006, at 03:24, Justin Patrin wrote:
>
> > When I first start up Apache I can checkin to my DAV-hosted SVN
> > project just fine. However, after it has been running for a while, if
> > I try to check in I get errors on creating transactions.
> >
> > My Apache log has this:
> >
> > [Tue Aug 29 22:33:55 2006] [error] [client 192.168.1.101] Could not
> > create activity
> > /svn/repos/!svn/act/ffb7c749-3c60-2d4a-a2b9-150bb55dfcf4. [500, #0]
> > [Tue Aug 29 22:33:55 2006] [error] [client 192.168.1.101] could not
> > begin a transaction [500, #13]
> > [Tue Aug 29 22:33:55 2006] [error] [client 192.168.1.101] Can't open
> > file '/var/svn/repos/db/transactions/19-1.txn/node.0.0': Permission
> > denied [500, #13]
> >
> > The 19-1.txn directory exists but does not have execute permissions
> > for any user which I expect causes the problem.
> >
> > If I restart Apache and do the same checkin it works just fine so this
> > is only a problem once Apache has been running for awhile. Any ideas?
>
> Wait, are you saying that if you restart Apache, the execute bit
> reappears on the directory? Or that it works for awhile even when the
> execute bit is not set? Or that you're manually setting the execute
> bit, and something is removing it again after awhile?
>

The transaction directories are created by the checkin. I have never
touched them manually.

What I'm saying is exactly what I said above. When I first start
Apache, checkins work fine. After Apache runs for a while I get the
permissions issue above on all checkins. I have not changed any
permissions or masks in the meantime.

If I try to checkin and get that error, restarting apache and checking
in again works perfectly.

-- 
Justin Patrin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Sep 3 18:53:47 2006

This is an archived mail posted to the Subversion Users mailing list.