Good'day,
   
  On a PC with Fedora Core 3 on, I need some help in configuring the http server
to allow subversion's LOCK directive. All other subversion's directives work as 
expected.
Subversion guys tell me it's an Apache config issue.
Whenever I issue a LOCK request, Apache returns "405 Method Not Allowed".
 
Using strace I've recorded Apache high level system calls while submitting 
two Subversion requests, a CHECKOUT, which works as expected, and a LOCK which 
returns "405 Method Not Allowed":
 
    strace svn co http://zinzalusa/svn/ContactsToLDIF
    strace svn lock http://zinzalusa/svn/ContactsToLDIF/ContactsToLDIF.bas
 
I've attached the relevant lines of the two logs. 
  If that's not enough or something different is needed, please advise.
I really do not know what else I can do to investigate and fix this problem.
 
I did not change httpd.conf, that is exactly the same as it comes 
  with Fedora Core 3. 
The specific Subversion config file in Apache is subversion.conf and it is 
attached.
  I'm not an Apache expert and this issue is delaying the deployment of 
Subversion.
Can somebody please explain what to do to fix it?
  Your help is very much appreciated.
Thanks,
 
Costa
  ---------------------- subversion.conf --------------------------------
LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so
<Location /svn>
   DAV svn
   SVNParentPath /var/lib/svn
   <LimitExcept GET PROPFIND OPTIONS REPORT>
      AuthType Basic
      AuthName "Subversion Server"
      AuthUserFile /etc/httpd/svn-auth-file
      Require valid-user
   </LimitExcept>
</Location>
=======================================================================
  -------------------- CHECKOUT trace -------------------------------
read(12, "PROPFIND /svn/ContactsToLDIF/Con"..., 8000) = 301
gettimeofday({1172669309, 13935}, NULL) = 0
stat64("/var/www/html/svn/ContactsToLDIF/ContactsToLDIF.bas", 0xbff59234) = -1 
ENOENT (No such file or directory)
lstat64("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/var/www", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/var/www/html", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/var/www/html/svn", 0xbff59214) = -1 ENOENT (No such file or directory)
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 13
fstat64(13, {st_mode=S_IFREG|0644, st_size=21544, ...}) = 0
mmap2(NULL, 21544, PROT_READ, MAP_SHARED, 13, 0) = 0xb776f000
close(13) = 0
futex(0xb7cf914c, FUTEX_WAKE, 2147483647) = 0
open("/var/lib/svn/ContactsToLDIF/format", O_RDONLY) = 13
read(13, "5\n", 80) = 2
close(13) = 0
open("/var/lib/svn/ContactsToLDIF/db/fs-type", O_RDONLY) = 13
read(13, "fsfs\n", 4096) = 5
close(13) = 0
open("/var/lib/svn/ContactsToLDIF/db/fs-type", O_RDONLY) = 13
read(13, "fsfs\n", 4096) = 5
close(13) = 0
open("/var/lib/svn/ContactsToLDIF/db/current", O_RDONLY) = 13
close(13) = 0
open("/var/lib/svn/ContactsToLDIF/db/format", O_RDONLY) = 13
read(13, "2\n", 80) = 2
close(13) = 0
open("/var/lib/svn/ContactsToLDIF/db/uuid", O_RDONLY) = 13
read(13, "7781e80b-232a-0410-a02c-8069c83c"..., 4096) = 37
close(13) = 0
open("/var/lib/svn/ContactsToLDIF/db/current", O_RDONLY) = 13
read(13, "2 2 1\n", 80) = 6
close(13) = 0
------------------- LOCK trace ------------------------------
semop(950283, 0xb7d99740, 1) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN, revents=POLLIN}], 2, -1) = 1
accept(3, {sa_family=AF_INET6, sin6_port=htons(43178), inet_pton(AF_INET6, 
"::ffff:127.0.0.1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 12
semop(950283, 0xb7d99746, 1) = 0
getsockname(12, {sa_family=AF_INET6, sin6_port=htons(80), inet_pton(AF_INET6, 
"::ffff:127.0.0.1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
fcntl64(12, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(12, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(12, 0xb91021b0, 8000) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=12, events=POLLIN, revents=POLLIN}], 1, 120000) = 1
read(12, "LOCK /svn/ContactsToLDIF/Contact"..., 8000) = 256
gettimeofday({1172669309, 46159}, NULL) = 0
stat64("/var/www/html/svn/ContactsToLDIF/ContactsToLDIF.bas", 0xbff59234) = -1 
ENOENT (No such file or directory)
lstat64("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/var/www", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/var/www/html", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/var/www/html/svn", 0xbff59214) = -1 ENOENT (No such file or directory)
open("/etc/httpd/svn-auth-file", O_RDONLY) = 13
fstat64(13, {st_mode=S_IFREG|0644, st_size=49, ...}) = 0
read(13, "costantino:$apr1$Wy.Gr...$lZDxpc"..., 4096) = 49
close(13) = 0
poll([{fd=12, events=POLLIN, revents=POLLIN}], 1, 120000) = 1
read(12, "<?xml version=\"1.0\" encoding=\"ut"..., 8000) = 145
writev(12, [{"HTTP/1.1 405 Method Not Allowed\r"..., 225}, {"<!DOCTYPE HTML 
PUBLIC \"-//IETF//"..., 334}], 2) = 559
write(9, "127.0.0.1 - costantino [28/Feb/2"..., 152) = 152
shutdown(12, 1 /* send */) = 0
poll([{fd=12, events=POLLIN, revents=POLLIN|POLLHUP}], 1, 2000) = 1
read(12, "", 512) = 0
close(12) = 0
read(5, 0xbff5958f, 1) = -1 EAGAIN (Resource temporarily unavailable)
semop(950283, 0xb7d99740, 1) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}], 2, -1) = -1 EINTR 
(Interrupted system call)
--- SIGINT (Interrupt) @ 0 (0) ---
brk(0xb910d000) = 0xb910d000
close(6) = 0
close(5) = 0
exit_group(0) = ?
=======================================================================================


 
---------------------------------
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.

Reply via email to