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

diagnosing "Internal Server" errors on commit

From: Rick Jones <rick.jones2_at_hp.com>
Date: 2006-05-31 18:54:56 CEST

Hi -

I've been using a subversion repository for little whitepapers I write.
  It has been going well for quite some time. Somewhere along the line,
something has happened and when I try to commit a newly added file to
the repository I get:

raj@tardy:~/briefs_work$ svn commit -m "First draft of a write-up"
Authentication realm: <http://tardy.hpl.hp.com:80> Subversion Repository
Password for 'raj':
svn: Commit failed (details follow):
svn: MKACTIVITY of
'/svn/briefs/!svn/act/19ab434a-1815-0410-b759-bce11adaba64': 500
Internal Server Error (http://tardy.hpl.hp.com)

The query for the authentication realm was unexpected. I give it my
password and then get the above.

As for that has happened I've no clue. I cannot think of anything I've
changed explicitly on the system since it was last working.

I see this in the Apache error log:

[Wed May 31 09:46:18 2006] [error] [client 16.94.111.232] Could not
create activity
/svn/briefs/!svn/act/19ab434a-1815-0410-b759-bce11adaba64. [500, #0]
[Wed May 31 09:46:18 2006] [error] [client 16.94.111.232] could not
begin a transaction [500, #13]
[Wed May 31 09:46:18 2006] [error] [client 16.94.111.232] Can't create
directory '/svn/briefs/db/transactions/15-1.txn': Permission denied
[500, #13]

The permissions of /svn/briefs/db/transactions are:

tardy:/var/log/apache2# ls -ld /svn/briefs/db/transactions
drwxr-sr-x 2 raj raj 4096 2006-05-16 16:17 /svn/briefs/db/transactions

I would have expected that after authentication the web server would be
uid raj? In any event I've not explictly been messing about with
ownership or permissions.

Apache runs like this:

tardy:/var/log/apache2# ps -ef | grep ache
root 18173 1 0 Jan18 ? 00:00:04 /usr/sbin/apache2 -k restart
www-data 30444 18173 0 May30 ? 00:00:00 /usr/sbin/apache2 -k restart
www-data 30436 18173 0 May30 ? 00:00:00 /usr/sbin/apache2 -k restart

I have a system call trace of the Apache going through its paces - it is
a bit longer than I would post without checking.

Are there other logs I might be checking to see what might be going
wrong? I have this sneaking suspicion that the issue is one of those
silly things but don't know where exactly to go to search.

My subversion client is:

raj@tardy:~/briefs_work$ svn --version
svn, version 1.2.3 (r15833)
    compiled Dec 4 2005, 03:38:36

Copyright (C) 2000-2005 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet
(http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
   - handles 'http' scheme
   - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
   - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
   - handles 'file' scheme

I believe the server is the same version, it is running on the same
system and was installed via apt-get some time ago. The OS is Debian:

raj@tardy:~/briefs_work$ uname -a
Linux tardy 2.6.8-1-686 #1 Thu Nov 25 04:34:30 UTC 2004 i686 GNU/Linux

Gentle taps with a nerf clue bat would be most welcome,

rick jones

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 31 18:56:30 2006

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.