You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Talden <ta...@gmail.com> on 2007/07/29 22:06:12 UTC

Cannot create a repository on Win2003 standard with v1.4.4

As stated in the topic I cannot create a repository on Windows 2003
Standard Edition (32bit) using Subversion 1.4.4

I am able to do so with the same Subversion distribution on my XP pro desktop.

The command I'm executing is

      C:\> svnadmin create c:\temp\testrepo

This results in

      svnadmin: Can't stat directory 'c:\temp\testrepo\db': Partial results are
      valid but processing is incomplete

The user account is a local administrator and has full control of the
folder being used for the installation.

Using FileMon.exe (sysinternals) I see the following error occuring
near what looks like the end of repo creation - after which svnadmin
removes the content so far created:

"svnadmin.exe:4716", "QUERY INFORMATION", "C:\Temp\testrepo\db",
"BUFFER OVERFLOW", "FileFsVolumeInformation"
"svnadmin.exe:4716", "QUERY INFORMATION", "C:\Temp\testrepo\db",
"BUFFER OVERFLOW", "FileAllInformation"

Further down the log the same occurs with a security check (it's very
soon after this that the deletions start)

"svnadmin.exe:4716", "QUERY SECURITY", "C:\Temp\testrepo\db", "BUFFER OVERFLOW"

The column-names as given in FileMon are:
    Process
    Request
    Path
    Result
    Other

The --version of svnadmin is

      C:\>svnadmin --version
      svnadmin, version 1.4.4 (r25188)
         compiled Jun  8 2007, 19:58:37

      Copyright (C) 2000-2006 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 back-end (FS) modules are available:

      * fs_base : Module for working with a Berkeley DB repository.
      * fs_fs : Module for working with a plain file (FSFS) repository.

Anyone have any ideas?

--
Talden

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Cannot create a repository on Win2003 standard with v1.4.4

Posted by Talden <ta...@gmail.com>.
On 7/29/07, Talden <ta...@gmail.com> wrote:
> > As stated in the topic I cannot create a repository on Windows 2003
> > Standard Edition (32bit) using Subversion 1.4.4
> >
> > I am able to do so with the same Subversion distribution on my XP pro desktop.
> > ...

On 7/31/07, D.J. Heap <dj...@gmail.com> wrote:
> Which binary set were you using?  I've seen a similar problem using
> the Apache 2.2.4/APR 1.x build and believe it is fixed on trunk.  If
> you are using that binary set, can you try the Apache 2.0.x/APR 0.9.x
> set and see if it happens with those as well?

This seemed a likely culprit and a quick download and retest... Yup
that's the issue. Mystery solved.

Thank you for clearing that up...

Running my test migrations is now much much faster than on my little desktop.

--
Talden

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Cannot create a repository on Win2003 standard with v1.4.4

Posted by "D.J. Heap" <dj...@gmail.com>.
On 7/29/07, Talden <ta...@gmail.com> wrote:
> As stated in the topic I cannot create a repository on Windows 2003
> Standard Edition (32bit) using Subversion 1.4.4
>
> I am able to do so with the same Subversion distribution on my XP pro desktop.
>
> The command I'm executing is
>
>      C:\> svnadmin create c:\temp\testrepo
>
> This results in
>
>      svnadmin: Can't stat directory 'c:\temp\testrepo\db': Partial results are
>      valid but processing is incomplete


Which binary set were you using?  I've seen a similar problem using
the Apache 2.2.4/APR 1.x build and believe it is fixed on trunk.  If
you are using that binary set, can you try the Apache 2.0.x/APR 0.9.x
set and see if it happens with those as well?

DJ

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Cannot create a repository on Win2003 standard with v1.4.4

Posted by Talden <ta...@gmail.com>.
> You are of course aware that this is not a proper place for a repository,
> right?

Heh - yes.  I want to use the server for it's performance not it's
permanence - I'm doing repeated iterations of a scripted migration and
my desktop is not up to the challenge.

> Okay, so at least it should work. However, two suggestions:
> 1. Turn off virus scanners. Those tend to hook into file operations and
> sometimes make it impossible to move/lock/delete files while scanning.

Already ahead of you - I've hit that one in the past (not with
Subversion though).

> 2. Use your home directory instead. If that changes anything, it seems that
> you only assumed the account had the required permissions.

Permissions was one of the first things I checked and hence why I
tried to remove this as a suspicion by noting the permissions and the
user priveleges...

> This might be unimportant. There are several functions in the win32 API where
> you first call with a zero-sized buffer (and thus always get a buffer
> overflow) to determine the required size, it might be one of those cases.

Interesting.  Oh what a lovely beast the win32 isn't.  I'm glad I
rarely end up having to use it directly.

Turned out (as seen in another post) that it is a known issue in the
Apache 2.2/ APR 1.x build of 1.4.4 that is fixed in trunk (and I
assume being rolled into 1.5)...  Roll on 1.5.

--
Talden

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Cannot create a repository on Win2003 standard with v1.4.4

Posted by Ulrich Eckhardt <ec...@satorlaser.com>.
On Monday 30 July 2007 00:06, Talden wrote:
> As stated in the topic I cannot create a repository on Windows 2003
> Standard Edition (32bit) using Subversion 1.4.4
>
> I am able to do so with the same Subversion distribution on my XP pro
> desktop.
>
> The command I'm executing is
>
>       C:\> svnadmin create c:\temp\testrepo

You are of course aware that this is not a proper place for a repository, 
right?

> This results in
>
>       svnadmin: Can't stat directory 'c:\temp\testrepo\db': Partial results
> are valid but processing is incomplete
>
> The user account is a local administrator and has full control of the
> folder being used for the installation.

Okay, so at least it should work. However, two suggestions:
1. Turn off virus scanners. Those tend to hook into file operations and 
sometimes make it impossible to move/lock/delete files while scanning.
2. Use your home directory instead. If that changes anything, it seems that 
you only assumed the account had the required permissions.

> Using FileMon.exe (sysinternals) I see the following error occuring
> near what looks like the end of repo creation - after which svnadmin
> removes the content so far created:
>
> "svnadmin.exe:4716", "QUERY INFORMATION", "C:\Temp\testrepo\db",
> "BUFFER OVERFLOW", "FileFsVolumeInformation"
> "svnadmin.exe:4716", "QUERY INFORMATION", "C:\Temp\testrepo\db",
> "BUFFER OVERFLOW", "FileAllInformation"
>
> Further down the log the same occurs with a security check (it's very
> soon after this that the deletions start)
>
> "svnadmin.exe:4716", "QUERY SECURITY", "C:\Temp\testrepo\db", "BUFFER
> OVERFLOW"

This might be unimportant. There are several functions in the win32 API where 
you first call with a zero-sized buffer (and thus always get a buffer 
overflow) to determine the required size, it might be one of those cases.

Uli

-- 
Sator Laser GmbH
Geschäftsführer: Ronald Boers, Amtsgericht Hamburg HR B62 932

**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.

**************************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org