You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Justin Patrin <pa...@gmail.com> on 2006/09/03 01:24:17 UTC

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

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?

-- 
Justin Patrin

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

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

Posted by Justin Patrin <pa...@gmail.com>.
On 9/3/06, Ryan Schmidt <su...@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

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

Posted by Ryan Schmidt <su...@ryandesign.com>.
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?


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