You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by David Land <da...@eurekasoft.com> on 2008/06/11 21:35:03 UTC

Couldn't determine absolute path

I have Subversion installed on Windows Server 2003 along with Apache
2.2.  Most operations appear to work fine except the copy/move
operation. I get the following error from Subversion:

 

   svn: Couldn't determine absolute path of
'\\network_files\dir\svn\repo'

 

There are similar errors in the Apache log file:

 

   Couldn't determine absolute path of
'\\\\network_files\\dir\\svn\\repo'  [500, #125001]

 

I have the repository databases stored on our network.  My understanding
is that this is okay as long as you use fsfs, which I did.  I got this
working on another Subversion installation a few months ago with a
different repository.  In fact, when I point the older Subversion system
at the newer repository, the move command works fine.  But when I try to
point the new Subversion box that older repository, I get the same
error.  That being the case, I don't think it's a permission thing on
the file system, I think it's a Subversion or Apache configuration
issue, I just don't know what.

 

I saw similar posts here:

 

http://subversion.tigris.org/servlets/ReadMsg?listName=users&msgNo=55398

http://svn.haxx.se/users/archive-2005-10/0654.shtml

 

but no responses to them.  Any help would be greatly appreciated.  See
below for more information on the configuration I'm using.

 

Thanks,

Dave

 

------------------------------------------------

Configuration details:

------------------------------------------------

 

Windows: Server 2003 R2

Subversion: version 1.4.6 (r28521)

Apache: version 2.2.8 (Win32)

 

httpd.conf:

 

<Location /Test/>

  DAV svn

  SVNParentPath "//network_files/dir/svn/"

 

  AuthType Basic

  AuthName "Subversion Repository"

  AuthUserFile "C:/Program Files/Subversion/config/auth.txt"

 

  Require valid-user

 

  AuthzSVNAccessFile "C:/Program Files/Subversion/config/acl.txt"

</Location>


RE: Couldn't determine absolute path

Posted by David Land <da...@eurekasoft.com>.
The commands that are failing are these:

svn copy http://localhost/Test/repo/test2/
http://localhost/Test/repo/test3/ -m ""
svn move http://localhost/Test/repo/test2/
http://localhost/Test/repo/test3/ -m ""

I did a little more testing and found that if the repository is stored
locally on the server along with Apache and Subversion that everything
works okay, which points back to maybe some type of network permissions
issue maybe? I know you can't store Berkley DB repositories on the a
network, but I'm using FSFS.

Dave

-----Original Message-----
From: Matt imMute Sickler [mailto:immute@msk4.ath.cx] 
Sent: Wednesday, June 11, 2008 5:52 PM
To: David Land
Cc: users@subversion.tigris.org
Subject: Re: Couldn't determine absolute path

What command, exactly, is failing?
What are the URLs for the WC ?

David Land wrote:
> I have Subversion installed on Windows Server 2003 along with Apache 
> 2.2.  Most operations appear to work fine except the copy/move 
> operation. I get the following error from Subversion:
> 
>  
> 
>    svn: Couldn't determine absolute path of
'\\network_files\dir\svn\repo'
> 
>  
> 
> There are similar errors in the Apache log file:
> 
>  
> 
>    Couldn't determine absolute path of 
> '\\\\network_files\\dir\\svn\\repo'  [500, #125001]
> 
>  
> 
> I have the repository databases stored on our network.  My
understanding 
> is that this is okay as long as you use fsfs, which I did.  I got this

> working on another Subversion installation a few months ago with a 
> different repository.  In fact, when I point the older Subversion
system 
> at the newer repository, the move command works fine.  But when I try
to 
> point the new Subversion box that older repository, I get the same 
> error.  That being the case, I don't think it's a permission thing on 
> the file system, I think it's a Subversion or Apache configuration 
> issue, I just don't know what.
> 
>  
> 
> I saw similar posts here:
> 
>  
> 
>
http://subversion.tigris.org/servlets/ReadMsg?listName=users&msgNo=55398

>
<http://subversion.tigris.org/servlets/ReadMsg?listName=users&msgNo=5539
8>
> 
> http://svn.haxx.se/users/archive-2005-10/0654.shtml
> 
>  
> 
> but no responses to them.  Any help would be greatly appreciated.  See

> below for more information on the configuration I'm using.
> 
>  
> 
> Thanks,
> 
> Dave
> 
>  
> 
> ------------------------------------------------
> 
> Configuration details:
> 
> ------------------------------------------------
> 
>  
> 
> Windows: Server 2003 R2
> 
> Subversion: version 1.4.6 (r28521)
> 
> Apache: version 2.2.8 (Win32)
> 
>  
> 
> httpd.conf:
> 
>  
> 
> <Location /Test/>
> 
>   DAV svn
> 
>   SVNParentPath "//network_files/dir/svn/"
> 
>  
> 
>   AuthType Basic
> 
>   AuthName "Subversion Repository"
> 
>   AuthUserFile "C:/Program Files/Subversion/config/auth.txt"
> 
>  
> 
>   Require valid-user
> 
>  
> 
>   AuthzSVNAccessFile "C:/Program Files/Subversion/config/acl.txt"
> 
> </Location>
> 


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


RE: Couldn't determine absolute path

Posted by David Land <da...@eurekasoft.com>.
It appears to be a permission related issue after all. The Apache
service is running under the local System account. It makes sense that
it wouldn't be able to access the repository on the network because, as
I understand it, this account is not allowed to access network
resources. If I change this to another account with greater permissions,
such as my own account, it appears to work correctly.

What is weird that Apache is running under local System on the other
Subversion server and it can access repositories on the network just
fine, so I'm not sure what the difference is there. I'll have to talk
with our network admin and see if he can figure anything out.

Dave
-----Original Message-----
From: Matt imMute Sickler [mailto:immute@msk4.ath.cx] 
Sent: Wednesday, June 11, 2008 5:52 PM
To: David Land
Cc: users@subversion.tigris.org
Subject: Re: Couldn't determine absolute path

What command, exactly, is failing?
What are the URLs for the WC ?

David Land wrote:
> I have Subversion installed on Windows Server 2003 along with Apache 
> 2.2.  Most operations appear to work fine except the copy/move 
> operation. I get the following error from Subversion:
> 
>  
> 
>    svn: Couldn't determine absolute path of
'\\network_files\dir\svn\repo'
> 
>  
> 
> There are similar errors in the Apache log file:
> 
>  
> 
>    Couldn't determine absolute path of 
> '\\\\network_files\\dir\\svn\\repo'  [500, #125001]
> 
>  
> 
> I have the repository databases stored on our network.  My
understanding 
> is that this is okay as long as you use fsfs, which I did.  I got this

> working on another Subversion installation a few months ago with a 
> different repository.  In fact, when I point the older Subversion
system 
> at the newer repository, the move command works fine.  But when I try
to 
> point the new Subversion box that older repository, I get the same 
> error.  That being the case, I don't think it's a permission thing on 
> the file system, I think it's a Subversion or Apache configuration 
> issue, I just don't know what.
> 
>  
> 
> I saw similar posts here:
> 
>  
> 
>
http://subversion.tigris.org/servlets/ReadMsg?listName=users&msgNo=55398

>
<http://subversion.tigris.org/servlets/ReadMsg?listName=users&msgNo=5539
8>
> 
> http://svn.haxx.se/users/archive-2005-10/0654.shtml
> 
>  
> 
> but no responses to them.  Any help would be greatly appreciated.  See

> below for more information on the configuration I'm using.
> 
>  
> 
> Thanks,
> 
> Dave
> 
>  
> 
> ------------------------------------------------
> 
> Configuration details:
> 
> ------------------------------------------------
> 
>  
> 
> Windows: Server 2003 R2
> 
> Subversion: version 1.4.6 (r28521)
> 
> Apache: version 2.2.8 (Win32)
> 
>  
> 
> httpd.conf:
> 
>  
> 
> <Location /Test/>
> 
>   DAV svn
> 
>   SVNParentPath "//network_files/dir/svn/"
> 
>  
> 
>   AuthType Basic
> 
>   AuthName "Subversion Repository"
> 
>   AuthUserFile "C:/Program Files/Subversion/config/auth.txt"
> 
>  
> 
>   Require valid-user
> 
>  
> 
>   AuthzSVNAccessFile "C:/Program Files/Subversion/config/acl.txt"
> 
> </Location>
> 


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


Re: Couldn't determine absolute path

Posted by Matt imMute Sickler <im...@msk4.ath.cx>.
What command, exactly, is failing?
What are the URLs for the WC ?

David Land wrote:
> I have Subversion installed on Windows Server 2003 along with Apache 
> 2.2.  Most operations appear to work fine except the copy/move 
> operation. I get the following error from Subversion:
> 
>  
> 
>    svn: Couldn't determine absolute path of '\\network_files\dir\svn\repo’
> 
>  
> 
> There are similar errors in the Apache log file:
> 
>  
> 
>    Couldn't determine absolute path of 
> '\\\\network_files\\dir\\svn\\repo'  [500, #125001]
> 
>  
> 
> I have the repository databases stored on our network.  My understanding 
> is that this is okay as long as you use fsfs, which I did.  I got this 
> working on another Subversion installation a few months ago with a 
> different repository.  In fact, when I point the older Subversion system 
> at the newer repository, the move command works fine.  But when I try to 
> point the new Subversion box that older repository, I get the same 
> error.  That being the case, I don’t think it’s a permission thing on 
> the file system, I think it’s a Subversion or Apache configuration 
> issue, I just don’t know what.
> 
>  
> 
> I saw similar posts here:
> 
>  
> 
> http://subversion.tigris.org/servlets/ReadMsg?listName=users&msgNo=55398 
> <http://subversion.tigris.org/servlets/ReadMsg?listName=users&msgNo=55398>
> 
> http://svn.haxx.se/users/archive-2005-10/0654.shtml
> 
>  
> 
> but no responses to them.  Any help would be greatly appreciated.  See 
> below for more information on the configuration I’m using.
> 
>  
> 
> Thanks,
> 
> Dave
> 
>  
> 
> ------------------------------------------------
> 
> Configuration details:
> 
> ------------------------------------------------
> 
>  
> 
> Windows: Server 2003 R2
> 
> Subversion: version 1.4.6 (r28521)
> 
> Apache: version 2.2.8 (Win32)
> 
>  
> 
> httpd.conf:
> 
>  
> 
> <Location /Test/>
> 
>   DAV svn
> 
>   SVNParentPath “//network_files/dir/svn/”
> 
>  
> 
>   AuthType Basic
> 
>   AuthName "Subversion Repository"
> 
>   AuthUserFile "C:/Program Files/Subversion/config/auth.txt"
> 
>  
> 
>   Require valid-user
> 
>  
> 
>   AuthzSVNAccessFile "C:/Program Files/Subversion/config/acl.txt"
> 
> </Location>
> 


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