You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Jay Freeman (saurik)" <sa...@saurik.com> on 2002/01/16 09:55:28 UTC
commit failed: while sending tree-delta to repos. ... 502 Bad Gateway
Is there any hope that I can get this added to the testing setup?
*grin* :-P :
rm -rf <dbpath>
svnadmin create <dbpath>
chown apache.apache -R <dbpath>
rm -rf local
svn co <svnurl>
cd local; touch bob; svn add bob; svn commit
cd local; svn cp bob tom; svn commit
That's the stupid little script I've been trying to get working for
weeks now (ever since I couldn't quite get "svn cp" to work). Now that
I have the db4 problem dealt with, I'm getting this whacked tree-delta
issue:
[root(3)@dreadnought evil]# make
rm -rf /cvs/svn/ninetjer
svnadmin create /cvs/svn/ninetjer
chown apache.apache -R /cvs/svn/ninetjer
rm -rf ninetjer
su -c "svn co http://svn.ninetjer.org/repos/ninetjer" saurik
cd ninetjer; touch bob; svn add bob; svn commit
A bob
root's password:
username: saurik
saurik's password:
Adding /home/saurik/evil/ninetjer/bob
Committed revision 1.
cd ninetjer; svn cp bob tom; svn commit
A tom
svn_error: #21081 : <RA layer request failed>
commit failed: wc locks and tmpfiles have been removed.
svn_error: #21081 : <RA layer request failed>
commit failed: while sending tree-delta to repos.
svn_error: #21081 : <RA layer request failed>
COPY of tom: 502 Bad Gateway
make: *** [testcopy] Error 1
Last time I saw a 502 error was when I didn't have a ServerName property
set, but this time I have one: ServerName svn.ninetjer.org.
I'm "using" the latest, greatest (?) Subversion (r912) and Apache
(whatever CVS is at when I wrote this, hehe).
I'm too tired to do any debugging on this tonight, I'll look more into
this tomorrow :).
Sincerely,
Jay Freeman (saurik)
saurik@saurik.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: commit failed: while sending tree-delta to repos. ... 502 Bad Gateway
Posted by Greg Stein <gs...@lyra.org>.
Note that the 502 Bad Gateway can be caused by the ServerName thing (or a
missing ServerAlias). Also, a bug cropped up in Apache where we cannot match
properly against virtual hosts not on port 80. That means if you're running
on, say, port 8080, then you can't do a "svn cp" command :-(
Cheers,
-g
On Thu, Jan 17, 2002 at 02:11:43PM -0600, Jay Freeman (saurik) wrote:
> I'll try that. The reason was originally because I couldn't figure out
> how to log in to a repository with a different username than the one I
> was logged in as. So, to deal with that, I did an "su" to do it. Then,
> that stopped helping, as now svn does all the work required to figure
> out that I'm REALLY working as root. Then, apparently they added "hit
> enter at the login and it will ask for a username".
>
> I'll try that, and then (if need be) run through the client and isolate
> the error again late tonight.
>
> Sincerely,
> Jay Freeman (saurik)
> saurik@saurik.com
>
> -----Original Message-----
> From: Michael Wood [mailto:mwood@its.uct.ac.za]
> Sent: Thursday, January 17, 2002 2:02 AM
> To: svn-dev
> Subject: Re: commit failed: while sending tree-delta to repos. ... 502
> Bad Gateway
>
> Hi
>
> On Wed, Jan 16, 2002 at 03:55:28AM -0600, Jay Freeman (saurik) wrote:
> [snip]
> > [root(3)@dreadnought evil]# make
> > rm -rf /cvs/svn/ninetjer
> > svnadmin create /cvs/svn/ninetjer
> > chown apache.apache -R /cvs/svn/ninetjer
> > rm -rf ninetjer
> > su -c "svn co http://svn.ninetjer.org/repos/ninetjer" saurik
> > cd ninetjer; touch bob; svn add bob; svn commit
>
> Just a thought. Does it make any difference if you do the
> "touch bob; svn add bob; svn commit" as saurik instead of
> root?
>
> > A bob
> > root's password:
> >
> > username: saurik
> > saurik's password:
> >
> > Adding /home/saurik/evil/ninetjer/bob
> > Committed revision 1.
> > cd ninetjer; svn cp bob tom; svn commit
>
> This too.
>
> P.S. I have no idea if that would make any difference. It just
> seems strange to me that you're using two different users to
> manipulate the same working copy.
>
> --
> Michael Wood <mw...@its.uct.ac.za>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
--
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
RE: commit failed: while sending tree-delta to repos. ... 502 Bad Gateway
Posted by "Jay Freeman (saurik)" <sa...@saurik.com>.
I'll try that. The reason was originally because I couldn't figure out
how to log in to a repository with a different username than the one I
was logged in as. So, to deal with that, I did an "su" to do it. Then,
that stopped helping, as now svn does all the work required to figure
out that I'm REALLY working as root. Then, apparently they added "hit
enter at the login and it will ask for a username".
I'll try that, and then (if need be) run through the client and isolate
the error again late tonight.
Sincerely,
Jay Freeman (saurik)
saurik@saurik.com
-----Original Message-----
From: Michael Wood [mailto:mwood@its.uct.ac.za]
Sent: Thursday, January 17, 2002 2:02 AM
To: svn-dev
Subject: Re: commit failed: while sending tree-delta to repos. ... 502
Bad Gateway
Hi
On Wed, Jan 16, 2002 at 03:55:28AM -0600, Jay Freeman (saurik) wrote:
[snip]
> [root(3)@dreadnought evil]# make
> rm -rf /cvs/svn/ninetjer
> svnadmin create /cvs/svn/ninetjer
> chown apache.apache -R /cvs/svn/ninetjer
> rm -rf ninetjer
> su -c "svn co http://svn.ninetjer.org/repos/ninetjer" saurik
> cd ninetjer; touch bob; svn add bob; svn commit
Just a thought. Does it make any difference if you do the
"touch bob; svn add bob; svn commit" as saurik instead of
root?
> A bob
> root's password:
>
> username: saurik
> saurik's password:
>
> Adding /home/saurik/evil/ninetjer/bob
> Committed revision 1.
> cd ninetjer; svn cp bob tom; svn commit
This too.
P.S. I have no idea if that would make any difference. It just
seems strange to me that you're using two different users to
manipulate the same working copy.
--
Michael Wood <mw...@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: commit failed: while sending tree-delta to repos. ... 502 Bad Gateway
Posted by Michael Wood <mw...@its.uct.ac.za>.
Hi
On Wed, Jan 16, 2002 at 03:55:28AM -0600, Jay Freeman (saurik) wrote:
[snip]
> [root(3)@dreadnought evil]# make
> rm -rf /cvs/svn/ninetjer
> svnadmin create /cvs/svn/ninetjer
> chown apache.apache -R /cvs/svn/ninetjer
> rm -rf ninetjer
> su -c "svn co http://svn.ninetjer.org/repos/ninetjer" saurik
> cd ninetjer; touch bob; svn add bob; svn commit
Just a thought. Does it make any difference if you do the
"touch bob; svn add bob; svn commit" as saurik instead of
root?
> A bob
> root's password:
>
> username: saurik
> saurik's password:
>
> Adding /home/saurik/evil/ninetjer/bob
> Committed revision 1.
> cd ninetjer; svn cp bob tom; svn commit
This too.
P.S. I have no idea if that would make any difference. It just
seems strange to me that you're using two different users to
manipulate the same working copy.
--
Michael Wood <mw...@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org