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

Commit - 500 Internal Server Error in response to POST request

From: Mitchell Killian <info_at_integritydc.net>
Date: Thu, 20 Sep 2012 16:19:31 -0500

Guys,
I've been beating my head against a wall for the last several days trying to
figure this out. I'm moving my SVN repo to a new server. Shouldn't be too
big a deal. I made the data dump, transferred it to my new server, installed
svn v1.7.6, created the repo and imported the data dump into the new repo.
No problem at all. In fact, I can browse to the repo and view all of the
files. However, when I try to create a directory or commit changes to the
new repo, I get this error message:
Commit failed: Server sent unexpected return value (500 internal server
error) in response to POST request for '/repos/!svn/me'

I've thought it was a permissions issue, so I've tried every kind of
user:group combo that I can and even given 777 permissions to the SVN repo
folder and contents but to no avail. I've assigned nobody:nobody,
username:nobody, and username:username but no user:group combo seems to
work. For the life of me, I can't figure it out. Let me give some info about
my system.

Centos 5.8
WHM/cPanel 11.32.4
Apache 2.2.22
Subversion v1.7.6

I am attempting to run the svn from a subdomain: nat.domainname.com/repos
but I'm failing miserably. Here are the pertinent config files

httpd.conf

<VirtualHost 192.168.0.105:80>

    ServerName nat.domainname.com

    ServerAlias www.nat.domainname.com

    DocumentRoot /home/username/public_html/svn

    ServerAdmin webmaster_at_nat.domainname.com

    UseCanonicalName Off

    CustomLog /usr/local/apache/domlogs/nat.domainname.com combined

    CustomLog /usr/local/apache/domlogs/nat.domainname.com-bytes_log "%{%s}t
%I .\n%{%s}t %O ."

    ## User username # Needed for Cpanel::ApacheConf

    <IfModule mod_suphp.c>

        suPHP_UserGroup username username

    </IfModule>

    <IfModule !mod_disable_suexec.c>

        <IfModule !mod_ruid2.c>

            SuexecUserGroup username username

        </IfModule>

    </IfModule>

    <IfModule mod_ruid2.c>

        RUidGid username username

    </IfModule>

    ScriptAlias /cgi-bin/ /home/username/public_html/svn/cgi-bin/

 

<IfModule mod_dav_svn.c>

<Location /repos>

DAV svn

SVNPath /home/username/svn

#AuthType Digest

#AuthName "Integrity SVN"

#AuthUserFile /home/username/.htpasswds/passwd

#Require valid-user

</Location>

</IfModule>

</VirtualHost>

 

I'm also including the info from my access_log and error_log for this

ERROR_LOG

[Thu Sep 20 00:17:14 2012] [error] [client 192.168.0.105] Request exceeded
the limit of 10 internal redirects due to probable configuratio$
[Thu Sep 20 00:17:14 2012] [debug] core.c(3112): [client 192.168.0.105]
r->uri = /home/username/public_html/index.php
[Thu Sep 20 00:17:14 2012] [debug] core.c(3118): [client 192.168.0.105]
redirected from r->uri = /home/username/public_html/index.php
[Thu Sep 20 00:17:14 2012] [debug] core.c(3118): [client 192.168.0.105]
redirected from r->uri = /home/username/public_html/index.php
[Thu Sep 20 00:17:14 2012] [debug] core.c(3118): [client 192.168.0.105]
redirected from r->uri = /home/username/public_html/index.php
[Thu Sep 20 00:17:14 2012] [debug] core.c(3118): [client 192.168.0.105]
redirected from r->uri = /home/username/public_html/index.php
[Thu Sep 20 00:17:14 2012] [debug] core.c(3118): [client 192.168.0.105]
redirected from r->uri = /home/username/public_html/index.php
[Thu Sep 20 00:17:14 2012] [debug] core.c(3118): [client 192.168.0.105]
redirected from r->uri = /home/username/public_html/index.php
[Thu Sep 20 00:17:14 2012] [debug] core.c(3118): [client 192.168.0.105]
redirected from r->uri = /home/username/public_html/index.php
[Thu Sep 20 00:17:14 2012] [debug] core.c(3118): [client 192.168.0.105]
redirected from r->uri = /home/username/public_html/index.php
[Thu Sep 20 00:17:14 2012] [debug] core.c(3118): [client 192.168.0.105]
redirected from r->uri = /home/username/public_html/index.php
[Thu Sep 20 00:17:14 2012] [debug] core.c(3118): [client 192.168.0.105]
redirected from r->uri = /repos/!svn/me
[Thu Sep 20 00:17:14 2012] [error] [client 192.168.0.105] Request exceeded
the limit of 10 internal redirects due to probable configuratio$
[Thu Sep 20 00:17:14 2012] [debug] core.c(3112): [client 192.168.0.105]
r->uri = /home/username/public_html/index.php
[Thu Sep 20 00:17:14 2012] [debug] core.c(3118): [client 192.168.0.105]
redirected from r->uri = /home/username/public_html/index.php
[Thu Sep 20 00:17:14 2012] [debug] core.c(3118): [client 192.168.0.105]
redirected from r->uri = /home/username/public_html/index.php
[Thu Sep 20 00:17:14 2012] [debug] core.c(3118): [client 192.168.0.105]
redirected from r->uri = /home/username/public_html/index.php
[Thu Sep 20 00:17:14 2012] [debug] core.c(3118): [client 192.168.0.105]
redirected from r->uri = /home/username/public_html/index.php
[Thu Sep 20 00:17:14 2012] [debug] core.c(3118): [client 192.168.0.105]
redirected from r->uri = /home/username/public_html/index.php
[Thu Sep 20 00:17:14 2012] [debug] core.c(3118): [client 192.168.0.105]
redirected from r->uri = /home/username/public_html/index.php
[Thu Sep 20 00:17:14 2012] [debug] core.c(3118): [client 192.168.0.105]
redirected from r->uri = /home/username/public_html/index.php
[Thu Sep 20 00:17:14 2012] [debug] core.c(3118): [client 192.168.0.105]
redirected from r->uri = /home/username/public_html/index.php
[Thu Sep 20 00:17:14 2012] [debug] core.c(3118): [client 192.168.0.105]
redirected from r->uri = /home/username/public_html/index.php
[Thu Sep 20 00:17:14 2012] [debug] core.c(3118): [client 192.168.0.105]
redirected from r->uri = /repos/!svn/me

 

ACCESS_LOG

192.168.0.105 - - [20/Sep/2012:00:17:14 -0400] "OPTIONS
/repos/sitemanager/trunk/public_html HTTP/1.1" 200 185 "-" "SVN/1.7.6
serf/0.7.2"
192.168.0.105 - - [20/Sep/2012:00:17:14 -0400] "POST /repos/!svn/me
HTTP/1.1" 500 867 "-" "SVN/1.7.6 serf/0.7.2"

 

 

It looks like the POST command isn't working so whenever svn tries to POST
changes to the repos, it fails. And I have no idea what the redirecting is
about in the error_log so if you have any thoughts at all about how I can
figure out what's going on here, I would really, really appreciate it. If
you need more info, please ask! I'm not subscribed to the mailing list so if
you could CC me on the response, it would be helpful. Thanks so much!

 

Mitchell

 
Received on 2012-09-20 23:48:45 CEST

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.