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

RE: SVN 1.8.1 Errors - Show Log and Commit New Files

From: Geoff Field <Geoff_Field_at_aapl.com.au>
Date: Thu, 15 Aug 2013 10:50:56 +1000

> From: Philip Martin
> Sent: Wednesday, 14 August 2013 9:59 AM

> Geoff Field writes:
> >> When I try to reproduce the problem I get a HEAD request that
> >> generates
> >> "404 not found" rather than "401 unauthorized". What sort of
> >> authentication have you configured? Are you using
> path-based authz?
> >
> > Here's what I think is the relevant section of our httpd.conf:
> >
> > <Location /Subversion>
> > DAV svn
> > SVNParentPath L:/Subversion/Repositories
> > SVNAutoversioning on
> >
> > AuthType SSPI
> > AuthName "Subversion repositories"
> > Require valid-user
> > SSPIAuth On
> > SSPIAuthoritative On
> > SSPIDomain AAPL
> > SSPIOfferBasic On
> > SSLRequireSSL
> > # SSPIUsernameCase lower ## Breaks authentication #
> > SSPIPerRequestAuth Off ## This breaks Apache2
> >
> > AuthzSVNAccessFile L:\Subversion\conf\svnaccessfile.conf
> >
> > Note that we're running Apache 2.0. Here are the exact
> details from
> > the server's "Services" applet:
>
> If you could disable AuthzSVNAccessFile, or move the test
> repository to another Location that doesn't have authz, and
> then try the commit we could determine whether Subversion's
> authz is the problem. The apache error log may also have
> some relevant information about the 401.

I've just commented out the "AuthzSVNAccessFile" line and have done the following:
C:\>svn co https://aapleng1/Subversion/Playground/trunk/ \SVN_Test
A SVN_Test\test.txt
Checked out revision 897.

C:\>cd SVN_Test

C:\SVN_Test>copy test.txt test6.txt
        1 file(s) copied.

C:\SVN_Test>svn ci test6.txt --message "test 1.8.1 checkin"
svn: E200009: Commit failed (details follow):
svn: E200009: 'C:\SVN_Test\test6.txt' is not under version control

C:\SVN_Test>svn add test6.txt
A test6.txt

C:\SVN_Test>svn ci test6.txt --message "test 1.8.1 checkin"
Adding test6.txt
svn: E155011: Commit failed (details follow):
svn: E155011: File 'C:\SVN_Test\test6.txt' is out of date
svn: E175005: File 'test6.txt' already exists

C:\SVN_Test>

That first ci is a procedural error, but I left it in for completeness.

The Apache error log DID NOT change at all. No new entries were added by the test. The new Apache access log entries are as follows:
10.63.36.69 - - [15/Aug/2013:10:31:10 +1000] "GET / HTTP/1.1" 200 28508
10.63.36.64 - - [15/Aug/2013:10:32:31 +1000] "OPTIONS /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.36.64 - - [15/Aug/2013:10:32:31 +1000] "OPTIONS /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:32:31 +1000] "OPTIONS /Subversion/Playground/trunk HTTP/1.1" 200 201
10.63.36.64 - - [15/Aug/2013:10:32:31 +1000] "OPTIONS /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.36.64 - - [15/Aug/2013:10:32:31 +1000] "OPTIONS /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:32:31 +1000] "OPTIONS /Subversion/Playground/trunk HTTP/1.1" 200 97
10.63.36.64 - - [15/Aug/2013:10:32:31 +1000] "PROPFIND /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:32:31 +1000] "PROPFIND /Subversion/Playground/trunk HTTP/1.1" 207 712
10.63.36.64 - - [15/Aug/2013:10:32:31 +1000] "PROPFIND /Subversion/Playground/!svn/vcc/default HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:32:31 +1000] "PROPFIND /Subversion/Playground/!svn/vcc/default HTTP/1.1" 207 426
10.63.36.64 - - [15/Aug/2013:10:32:31 +1000] "PROPFIND /Subversion/Playground/!svn/bln/897 HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:32:31 +1000] "PROPFIND /Subversion/Playground/!svn/bln/897 HTTP/1.1" 207 481
10.63.36.64 - - [15/Aug/2013:10:32:31 +1000] "PROPFIND /Subversion/Playground/!svn/bc/897/trunk HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:32:31 +1000] "PROPFIND /Subversion/Playground/!svn/bc/897/trunk HTTP/1.1" 207 343
10.63.36.64 - - [15/Aug/2013:10:32:31 +1000] "OPTIONS /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.36.64 - - [15/Aug/2013:10:32:31 +1000] "OPTIONS /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:32:31 +1000] "OPTIONS /Subversion/Playground/trunk HTTP/1.1" 200 201
10.63.36.64 - - [15/Aug/2013:10:32:31 +1000] "OPTIONS /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.36.64 - - [15/Aug/2013:10:32:31 +1000] "OPTIONS /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:32:31 +1000] "OPTIONS /Subversion/Playground/trunk HTTP/1.1" 200 97
10.63.36.64 - - [15/Aug/2013:10:32:31 +1000] "PROPFIND /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:32:31 +1000] "PROPFIND /Subversion/Playground/trunk HTTP/1.1" 207 712
10.63.36.64 - - [15/Aug/2013:10:32:31 +1000] "PROPFIND /Subversion/Playground/!svn/vcc/default HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:32:31 +1000] "PROPFIND /Subversion/Playground/!svn/vcc/default HTTP/1.1" 207 426
10.63.36.64 - - [15/Aug/2013:10:32:31 +1000] "PROPFIND /Subversion/Playground/!svn/bln/897 HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:32:31 +1000] "PROPFIND /Subversion/Playground/!svn/bln/897 HTTP/1.1" 207 481
10.63.36.64 - - [15/Aug/2013:10:32:32 +1000] "PROPFIND /Subversion/Playground/!svn/bc/897 HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:32:32 +1000] "PROPFIND /Subversion/Playground/!svn/bc/897 HTTP/1.1" 207 1297
10.63.36.64 - - [15/Aug/2013:10:32:32 +1000] "REPORT /Subversion/Playground/!svn/vcc/default HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:32:32 +1000] "REPORT /Subversion/Playground/!svn/vcc/default HTTP/1.1" 200 1417
10.63.36.64 - - [15/Aug/2013:10:33:20 +1000] "OPTIONS /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.36.64 - - [15/Aug/2013:10:33:20 +1000] "OPTIONS /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:33:20 +1000] "OPTIONS /Subversion/Playground/trunk HTTP/1.1" 200 201
10.63.36.64 - - [15/Aug/2013:10:33:20 +1000] "OPTIONS /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.36.64 - - [15/Aug/2013:10:33:20 +1000] "OPTIONS /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:33:20 +1000] "OPTIONS /Subversion/Playground/trunk HTTP/1.1" 200 97
10.63.36.64 - - [15/Aug/2013:10:33:20 +1000] "PROPFIND /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:33:20 +1000] "PROPFIND /Subversion/Playground/trunk HTTP/1.1" 207 712
10.63.36.64 - - [15/Aug/2013:10:33:20 +1000] "MKACTIVITY /Subversion/Playground/!svn/act/fe51daff-f5fc-d84f-ada1-17b5395050b2 HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:33:20 +1000] "MKACTIVITY /Subversion/Playground/!svn/act/fe51daff-f5fc-d84f-ada1-17b5395050b2 HTTP/1.1" 201 421
10.63.36.64 - - [15/Aug/2013:10:33:20 +1000] "PROPFIND /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:33:20 +1000] "PROPFIND /Subversion/Playground/trunk HTTP/1.1" 207 422
10.63.36.64 - - [15/Aug/2013:10:33:20 +1000] "CHECKOUT /Subversion/Playground/!svn/vcc/default HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:33:20 +1000] "CHECKOUT /Subversion/Playground/!svn/vcc/default HTTP/1.1" 201 437
10.63.36.64 - - [15/Aug/2013:10:33:20 +1000] "PROPPATCH /Subversion/Playground/!svn/wbl/fe51daff-f5fc-d84f-ada1-17b5395050b2/897 HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:33:20 +1000] "PROPPATCH /Subversion/Playground/!svn/wbl/fe51daff-f5fc-d84f-ada1-17b5395050b2/897 HTTP/1.1" 207 475
10.63.36.64 - - [15/Aug/2013:10:33:21 +1000] "CHECKOUT /Subversion/Playground/!svn/ver/897/trunk HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:33:21 +1000] "CHECKOUT /Subversion/Playground/!svn/ver/897/trunk HTTP/1.1" 201 439
10.63.36.64 - - [15/Aug/2013:10:33:21 +1000] "HEAD /Subversion/Playground/trunk/test6.txt HTTP/1.1" 401 -
10.63.36.64 - - [15/Aug/2013:10:33:21 +1000] "DELETE /Subversion/Playground/!svn/act/fe51daff-f5fc-d84f-ada1-17b5395050b2 HTTP/1.1" 401 580
10.63.36.64 - - [15/Aug/2013:10:33:21 +1000] "DELETE /Subversion/Playground/!svn/act/fe51daff-f5fc-d84f-ada1-17b5395050b2 HTTP/1.1" 401 580
10.63.36.64 - AAPL\\gf [15/Aug/2013:10:33:21 +1000] "DELETE /Subversion/Playground/!svn/act/fe51daff-f5fc-d84f-ada1-17b5395050b2 HTTP/1.1" 204 -

For comparison, I did the same test on a machine running a 1.2.3 client (actually the server):

C:\>svn co https://aapleng1/Subversion/Playground/trunk/ \SVN_Test
Authentication realm: <https://aapleng1:443> Subversion repositories
Password for 'AAPL\gf': ********
A \SVN_Test\test.txt
Checked out revision 897.

C:\>cd \SVN_Test

C:\SVN_Test>copy test.txt test7.txt
        1 file(s) copied.

C:\SVN_Test>svn add test7.txt
A test7.txt

C:\SVN_Test>svn ci test7.txt -message "Test 1.7 checkin"
svn: Commit failed (details follow):
svn: 'C:/SVN_Test/Test 1.7 checkin' is not under version control

C:\SVN_Test>svn ci test7.txt --message "Test 1.7 checkin"
Adding test7.txt
Transmitting file data .
Committed revision 898.

C:\SVN_Test>

Again, a slight typographical error there, but it worked in the end. The Apache access log had these lines added:

10.63.34.14 - - [15/Aug/2013:10:38:18 +1000] "PROPFIND /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.34.14 - - [15/Aug/2013:10:38:18 +1000] "PROPFIND /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:38:24 +1000] "PROPFIND /Subversion/Playground/trunk HTTP/1.1" 207 712
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:38:24 +1000] "PROPFIND /Subversion/Playground/!svn/vcc/default HTTP/1.1" 207 426
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:38:24 +1000] "PROPFIND /Subversion/Playground/!svn/bln/897 HTTP/1.1" 207 481
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:38:24 +1000] "PROPFIND /Subversion/Playground/trunk HTTP/1.1" 207 712
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:38:24 +1000] "PROPFIND /Subversion/Playground/!svn/vcc/default HTTP/1.1" 207 426
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:38:24 +1000] "PROPFIND /Subversion/Playground/!svn/bln/897 HTTP/1.1" 207 481
10.63.34.14 - - [15/Aug/2013:10:38:24 +1000] "PROPFIND /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:38:24 +1000] "PROPFIND /Subversion/Playground/trunk HTTP/1.1" 207 712
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:38:24 +1000] "PROPFIND /Subversion/Playground/!svn/vcc/default HTTP/1.1" 207 481
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:38:24 +1000] "PROPFIND /Subversion/Playground/!svn/bc/897/trunk HTTP/1.1" 207 724
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:38:24 +1000] "PROPFIND /Subversion/Playground/trunk HTTP/1.1" 207 712
10.63.34.14 - - [15/Aug/2013:10:38:24 +1000] "PROPFIND /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:38:24 +1000] "PROPFIND /Subversion/Playground/trunk HTTP/1.1" 207 712
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:38:24 +1000] "PROPFIND /Subversion/Playground/!svn/vcc/default HTTP/1.1" 207 426
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:38:24 +1000] "PROPFIND /Subversion/Playground/!svn/bln/897 HTTP/1.1" 207 481
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:38:24 +1000] "PROPFIND /Subversion/Playground/trunk HTTP/1.1" 207 712
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:38:24 +1000] "REPORT /Subversion/Playground/!svn/vcc/default HTTP/1.1" 200 1417
10.63.34.14 - - [15/Aug/2013:10:39:35 +1000] "OPTIONS /Subversion/Playground/trunk HTTP/1.1" 401 580
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:39:36 +1000] "OPTIONS /Subversion/Playground/trunk HTTP/1.1" 200 201
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:39:36 +1000] "MKACTIVITY /Subversion/Playground/!svn/act/b00c7807-8fb6-f341-b055-21b6d9fd08ee HTTP/1.1" 201 421
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:39:36 +1000] "PROPFIND /Subversion/Playground/trunk HTTP/1.1" 207 464
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:39:36 +1000] "PROPFIND /Subversion/Playground/!svn/vcc/default HTTP/1.1" 207 426
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:39:36 +1000] "CHECKOUT /Subversion/Playground/!svn/bln/897 HTTP/1.1" 201 437
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:39:36 +1000] "PROPPATCH /Subversion/Playground/!svn/wbl/b00c7807-8fb6-f341-b055-21b6d9fd08ee/897 HTTP/1.1" 207 368
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:39:36 +1000] "PROPFIND /Subversion/Playground/trunk HTTP/1.1" 207 422
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:39:36 +1000] "CHECKOUT /Subversion/Playground/!svn/ver/897/trunk HTTP/1.1" 201 439
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:39:36 +1000] "PROPFIND /Subversion/Playground/trunk/test7.txt HTTP/1.1" 404 414
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:39:38 +1000] "PUT /Subversion/Playground/!svn/wrk/b00c7807-8fb6-f341-b055-21b6d9fd08ee/trunk/test7.txt HTTP/1.1" 201 437
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:39:38 +1000] "MERGE /Subversion/Playground/trunk HTTP/1.1" 200 1065
10.63.34.14 - AAPL\\gf [15/Aug/2013:10:39:38 +1000] "DELETE /Subversion/Playground/!svn/act/b00c7807-8fb6-f341-b055-21b6d9fd08ee HTTP/1.1" 204 -

Again, the error log did not change.

> I don't have an Apache 2.0 build to test so I can't determine
> whether the problem is related to using 2.0. Perhaps
> something in 2.0 is causing the 401 instead of a 404.

Probably. Due largely to my current position on the learning curve, I'm still struggling to get Apache updated correctly. I suspect I'll have to update the SVN server software at the same time. A previous colleague had both running separately - the old version on port 80 and the new on port 81 - but I'm not entirely clear on how it was working (or even IF it was working).

Thanks again for your patience and time (and sorry for the long post).

Geoff

- The contents of this email, and any attachments, are strictly private
and confidential.
- It may contain legally privileged or sensitive information and is intended
solely for the individual or entity to which it is addressed.
- Only the intended recipient may review, reproduce, retransmit, disclose,
disseminate or otherwise use or take action in reliance upon the information
contained in this email and any attachments, with the permission of
Australian Arrow Pty. Ltd.
- If you have received this communication in error, please reply to the sender
immediately and promptly delete the email and attachments, together with
any copies, from all computers.
- It is your responsibility to scan this communication and any attached files
for computer viruses and other defects and we recommend that it be
subjected to your virus checking procedures prior to use.
- Australian Arrow Pty. Ltd. does not accept liability for any loss or damage
of any nature, howsoever caused, which may result
directly or indirectly from this communication or any attached files.
Received on 2013-08-15 02:51:36 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.