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

Lock times out after 10 minutes and then can't save, MSO 2003 SP2 client/web folders

From: Sergey Korchak <jackaloff_at_mail.ru>
Date: 2007-05-30 14:49:37 CEST

Lock times out after 10 minutes and then can't save, MSO 2003 SP2
(11.8134.8132) client/web folders

I Can change and save spreadsheet repeatedly for 10 minutes and then can
no longer save. The sequence I followed here was to create the
spreadsheet in Excel, save it to the server, make two more saves before
lock time out, then attempt one save after the lock timeout.

MSO: 2003 SP2 (11.8134.8132)

#> uname -a
Linux masterhost 2.6.16.21-0.25-smp #1 SMP Tue Sep 19 07:26:15 UTC 2006
x86_64 x86_64 x86_64 GNU/Linux

Distrib: Suse 10.1

I tryed apache included in my linux distribution
(apache2-2.2.0-21.7.x86_64.rpm) and i tryed build apache 2.2.4 and 2.0.59
from sources with subversion-1.4.2 and subversion-1.4.3 also from sources.
Similar problem.

I searched this problem in google and i was found this:
http://www.lyra.org/pipermail/dav-dev/2000-July/001338.html

I tryed to increase DAVMinTimeout. No change in symptoms.

Tryed modify line of dav_fs_lock.c to read:
    return expires != DAV_TIMEOUT_INFINITE && time(NULL) >= expires + 120;
No change in symptoms.

_____ ERROR LOG______

[Sun May 13 17:12:24 2007] [notice] Apache/2.2.4 (Unix) DAV/2 mod_ssl/2.2.4
OpenSSL/0.9.8a SVN/1.4.3 configured -- resuming normal operations

[Sun May 13 17:15:14 2007] [error] [client 91.76.30.9] Could not LOCK
/svn/customs/two.xls due to a failed precondition (e.g. other locks).
[412, #0]

[Sun May 13 17:15:14 2007] [error] [client 91.76.30.9] (17)File exists: The
precondition(s) specified by the "If:" header did not match this resource.
At least one failure is because: a State-token was supplied, but it was not
found in the locks on this resource. [412, #0]

[Sun May 13 17:16:18 2007] [error] [client 91.76.30.9] (2)No such file or
directory: The precondition(s) specified by the "If:" header did not match
this resource. At least one failure is because: a State-token was supplied,
but it was not found in the locks on this resource. [412, #0]

[Sun May 13 17:16:40 2007] [error] [client 91.76.30.9] (2)No such file or
directory: The locktoken specified in the "Lock-Token:" header is invalid
because this resource has no outstanding locks. [400, #0]

_____ httpd.conf ___________

ServerRoot "/usr/local/apache2"

Listen 8080
LoadModule ssl_module modules/mod_ssl.so
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
<IfModule !mpm_netware_module>
User wwwrun
Group www
</IfModule>
        ServerAdmin you@example.com
        DocumentRoot "/usr/local/apache2/htdocs"
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

<Directory "/usr/local/apache2/htdocs">
    Options Indexes FollowSymLinks
    Order allow,deny
    Allow from all
</Directory>
<IfModule dir_module>
    DirectoryIndex index.html
</IfModule>
<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
</FilesMatch>
LogLevel warn

<IfModule log_config_module>
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    <IfModule logio_module>
      LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\" %I %O" combinedio
    </IfModule>

CustomLog logs/access_log common
</IfModule>
<IfModule alias_module>
    ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/"
</IfModule>

<IfModule cgid_module>
</IfModule>
<Directory "/usr/local/apache2/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>
DefaultType text/plain
<IfModule mime_module>
    TypesConfig conf/mime.types
</IfModule>
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
<Location /svn>
    DAV svn
# DAVMinTimeout 1800
    SVNListParentPath on
    SVNParentPath /usr/local/apache2/htdocs/svn
    SVNAutoversioning on
    AuthType Basic
    AuthName "Subversion repositories"
    AuthUserFile /usr/local/apache2/passwd
    #AuthzSVNAccessFile svnaccessfile
    Require valid-user
</Location>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 30 14:49:51 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.