You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Nicholas Palmer <ni...@overtsolutions.com> on 2003/10/29 19:01:06 UTC

COPY problem.

Hey all,

I am pretty new to subversion. I have been pretty happy so far, however
I am having some trouble with COPY via apache and WebDAV. Whenver I try
to commit something that includes a 'svn mv' I get a 502 Bad Gateway
error, and I can not figure out why.

Here is the relevant part of error message I get:
svn: RA layer request failed
svn: Commit failed (details follow):
svn: COPY of db.sql: 502 Bad Gateway (https://overt-solutions.com)

This bug seems to indicate that it is an apache problem:
http://subversion.tigris.org/issues/show_bug.cgi?id=612

But it does not discuss what could be wrong.

Note that a commit that does not include a COPY works just fine.

Also, I have noticed that most accesses to the repository are not logged
in the access_log. Only failures seem to be logged. Any thoughts on why
this might be?

In apache.conf I have:
<IfDefine SVN>
	<IfModule !mod_dav_svn.c>
		LoadModule dav_svn_module	extramodules/mod_dav_svn.so
	</IfModule>
	<Location /svn>
		DAV svn
		SVNParentPath /home/svn
		AuthType Basic
		AuthName "Subversion repository"
		AuthUserFile /home/svn/conf/svnusers
		<LimitExcept GET PROPFIND OPTIONS REPORT>
			Require valid-user
		</LimitExcept>
	</Location>

	<Directory /home/svn/sbm>
		Options All
		Order deny,allow
		Allow from all
	</Directory>
</IfDefine>

Any help would be apreciated.

Thanks,
-Nick


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

Re: COPY problem.

Posted by Nicholas Palmer <ni...@sluggardy.net>.
Sander Striker wrote:

 > Did you set your ServerName correctly?

Yes. This is a virtual host, and there is a ServerName directive for the
host. Does anybody else have it working with a virtual host? Perhaps
that is the problem.

Thanks,
-Nick


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

RE: COPY problem.

Posted by Sander Striker <st...@apache.org>.
> From: Nicholas Palmer [mailto:nick@overtsolutions.com]
> Sent: Friday, October 31, 2003 6:07 PM

> Jason Vasquez wrote:
>  > You're not using a reverse proxy of any sort are you?  I ran into a 
> similar problem using the Pound (http://www.apsis.ch/pound/index.html) 
> reverse proxy.  I have spoken with the author, and they are planning on 
> adding in the final bit of support necessary to get Subversion working 
> with their next release (after 1.5)

> 192.168.1.1 - nick [31/Oct/2003:08:59:28 -0800] "COPY
> /svn/sbm/!svn/bc/39/trunk/schema/objects.sql HTTP/1.1" 502 395 "-"
> "SVN/0.32.1 (r7497) neon/0.24.2"

> Any hints on what to do with apache to not get it to return a 502 for
> this? Apache is version 2.0.47. As you can see subversion is version
> 0.32.1 (r7497) and neon is 0.24.2.

Did you set your ServerName correctly?


Sander

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

Re: COPY problem.

Posted by Nicholas Palmer <ni...@overtsolutions.com>.
Jason Vasquez wrote:
 > You're not using a reverse proxy of any sort are you?  I ran into a 
similar problem using the Pound (http://www.apsis.ch/pound/index.html) 
reverse proxy.  I have spoken with the author, and they are planning on 
adding in the final bit of support necessary to get Subversion working 
with their next release (after 1.5)

As I said on the dev list, and I thought I mained here, I am not using a
reverse proxy. Further investigation allowed me to fix my problem with
the access_log not showing the access. Here is what I see when I try to
do a move on the file: svn/sbm/trunk/schema/objects.sql

192.168.1.1 - nick [31/Oct/2003:08:59:28 -0800] "MKACTIVITY
/svn/sbm/!svn/act/3b578b8b-feca-0310-b5b2-9e916aa58fee HTTP/1.1" 201 367
"-" "SVN/0.32.1 (r7497) neon/0.24.2"
192.168.1.1 - - [31/Oct/2003:08:59:28 -0800] "PROPFIND
/svn/sbm/trunk/schema HTTP/1.1" 207 443 "-" "SVN/0.32.1 (r7497) neon/0.24.2"
192.168.1.1 - - [31/Oct/2003:08:59:28 -0800] "PROPFIND
/svn/sbm/!svn/vcc/default HTTP/1.1" 207 397 "-" "SVN/0.32.1 (r7497)
neon/0.24.2"
192.168.1.1 - nick [31/Oct/2003:08:59:28 -0800] "CHECKOUT
/svn/sbm/!svn/bln/39 HTTP/1.1" 201 382 "-" "SVN/0.32.1 (r7497) neon/0.24.2"
192.168.1.1 - nick [31/Oct/2003:08:59:28 -0800] "PROPPATCH
/svn/sbm/!svn/wbl/3b578b8b-feca-0310-b5b2-9e916aa58fee/39 HTTP/1.1" 207
353 "-" "SVN/0.32.1 (r7497) neon/0.24.2"
192.168.1.1 - - [31/Oct/2003:08:59:28 -0800] "PROPFIND
/svn/sbm/trunk/schema HTTP/1.1" 207 407 "-" "SVN/0.32.1 (r7497) neon/0.24.2"
192.168.1.1 - nick [31/Oct/2003:08:59:28 -0800] "CHECKOUT
/svn/sbm/!svn/ver/15/trunk/schema HTTP/1.1" 201 392 "-" "SVN/0.32.1
(r7497) neon/0.24.2"
192.168.1.1 - - [31/Oct/2003:08:59:28 -0800] "PROPFIND
/svn/sbm/trunk/schema/db.sql HTTP/1.1" 404 366 "-" "SVN/0.32.1 (r7497)
neon/0.24.2"
192.168.1.1 - - [31/Oct/2003:08:59:28 -0800] "PROPFIND
/svn/sbm/trunk/schema/objects.sql HTTP/1.1" 207 688 "-" "SVN/0.32.1
(r7497) neon/0.24.2"
192.168.1.1 - - [31/Oct/2003:08:59:28 -0800] "PROPFIND
/svn/sbm/!svn/vcc/default HTTP/1.1" 207 450 "-" "SVN/0.32.1 (r7497)
neon/0.24.2"
192.168.1.1 - nick [31/Oct/2003:08:59:28 -0800] "COPY
/svn/sbm/!svn/bc/39/trunk/schema/objects.sql HTTP/1.1" 502 395 "-"
"SVN/0.32.1 (r7497) neon/0.24.2"
192.168.1.1 - nick [31/Oct/2003:08:59:29 -0800] "DELETE
/svn/sbm/!svn/act/3b578b8b-feca-0310-b5b2-9e916aa58fee HTTP/1.1" 204 0
"-" "SVN/0.32.1 (r7497) neon/0.24

Any hints on what to do with apache to not get it to return a 502 for
this? Apache is version 2.0.47. As you can see subversion is version
0.32.1 (r7497) and neon is 0.24.2.

Thanks for any help,
-Nick


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

Re: COPY problem.

Posted by Jason Vasquez <ja...@obiwan.homelinux.org>.
You're not using a reverse proxy of any sort are you?  I ran into a similar problem using the Pound (http://www.apsis.ch/pound/index.html) reverse proxy.  I have spoken with the author, and they are planning on adding in the final bit of support necessary to get Subversion working with their next release (after 1.5)

-jason


On Wed, Oct 29, 2003 at 11:01:06AM -0800, Nicholas Palmer wrote:
> Hey all,
> 
> I am pretty new to subversion. I have been pretty happy so far, however
> I am having some trouble with COPY via apache and WebDAV. Whenver I try
> to commit something that includes a 'svn mv' I get a 502 Bad Gateway
> error, and I can not figure out why.
> 
> Here is the relevant part of error message I get:
> svn: RA layer request failed
> svn: Commit failed (details follow):
> svn: COPY of db.sql: 502 Bad Gateway (https://overt-solutions.com)
> 
> This bug seems to indicate that it is an apache problem:
> http://subversion.tigris.org/issues/show_bug.cgi?id=612
> 
> But it does not discuss what could be wrong.
> 
> Note that a commit that does not include a COPY works just fine.
> 
> Also, I have noticed that most accesses to the repository are not logged
> in the access_log. Only failures seem to be logged. Any thoughts on why
> this might be?
> 
> In apache.conf I have:
> <IfDefine SVN>
> 	<IfModule !mod_dav_svn.c>
> 		LoadModule dav_svn_module	extramodules/mod_dav_svn.so
> 	</IfModule>
> 	<Location /svn>
> 		DAV svn
> 		SVNParentPath /home/svn
> 		AuthType Basic
> 		AuthName "Subversion repository"
> 		AuthUserFile /home/svn/conf/svnusers
> 		<LimitExcept GET PROPFIND OPTIONS REPORT>
> 			Require valid-user
> 		</LimitExcept>
> 	</Location>
> 
> 	<Directory /home/svn/sbm>
> 		Options All
> 		Order deny,allow
> 		Allow from all
> 	</Directory>
> </IfDefine>
> 
> Any help would be apreciated.
> 
> Thanks,
> -Nick
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 

-- 
-------------------------------------------------------------------
|                              |                                  |
| Jason Vasquez                | When their numbers dwindled from |
| jason@obiwan.homelinux.org   | 50 to 8, the other dwarves began |
| http://obiwan.homelinux.org  | to suspect Hungry.               |
|                              |                                  |
|------------------------------------------------------------------
| Public Key: http://obiwan.homelinux.org/~jason/pubkey.txt       |
-------------------------------------------------------------------