You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Reyaz <sk...@gmail.com> on 2016/03/28 11:44:49 UTC

Error---After upgrading from subversion 1.6 to 1.8.

Hi Team, 

We have recently upgraded subversion from 1.6 version to 1.8 version on RHEL
5.8. After upgrade we are getting below error in error_log file. Before
upgrade everything working fine.Now we are unable to access the projects
with below given error. 


"[Tue Mar 15 03:06:57 2016] [error] [client 10.191.212.115] Failed to load
the mod_authz_svn config: Section name 'Ents_0590_EA:2113:ELA Amd #5 - 340
BCDs:/' contains non-canonical fspath '2113:ELA Amd #5 - 340 BCDs:/''" 


<Location /svn>
  DAV svn 
  #AuthLDAPEnabled on 
  SVNListParentPath on 
  SVNAutoversioning on 
  SVNReposName "svn repository" 
  SVNParentPath /u10/~~~~~~~~/svnrepositories 
  AuthType Basic 
  AuthName "Subversion" 
  #AuthExternal ldap_auth 
  #Require valid-user 

  AuthzLDAPAuthoritative on 
  AuthType Basic 
  AuthBasicProvider ldap 
  AuthName "Subversion" 
  AuthLDAPBindDN "cn=~~,l=~~,dc=~~,dc=com" 
  AuthLDAPBindPassword pass 
  AuthLDAPURL "LDAP URL" 
  Require valid-user 

  AuthzSVNAccessFile /u10/~~~~~~~~/svnauthfile 
</Location>

can  someone please help on this.

Thanks



--
View this message in context: http://subversion.1072662.n5.nabble.com/Error-After-upgrading-from-subversion-1-6-to-1-8-tp196351.html
Sent from the Subversion Users mailing list archive at Nabble.com.

Re: Error---After upgrading from subversion 1.6 to 1.8.

Posted by Daniel Shahaf <da...@apache.org>.
Reyaz wrote on Mon, Mar 28, 2016 at 02:44:49 -0700:
> Hi Team, 
> 
> We have recently upgraded subversion from 1.6 version to 1.8 version on RHEL
> 5.8. After upgrade we are getting below error in error_log file. Before
> upgrade everything working fine.Now we are unable to access the projects
> with below given error. 
> 
> 
> "[Tue Mar 15 03:06:57 2016] [error] [client 10.191.212.115] Failed to load
> the mod_authz_svn config: Section name 'Ents_0590_EA:2113:ELA Amd #5 - 340
> BCDs:/' contains non-canonical fspath '2113:ELA Amd #5 - 340 BCDs:/''" 

Your /u10/~~~~~~~~/svnauthfile contains:

    [Ents_0590_EA:2113:ELA Amd #5 - 340 BCDs:/]

That's parsed as:

    repository name = "Ents_0590_EA"
    path within the repository = "2113:ELA Amd #5 - 340 BCDs:/"

Which is invalid.  (The path in section headers must have a leading
slash and no trailing slash.)

This is an instance of
https://subversion.apache.org/docs/release-notes/1.8#authz-fspath-syntax;
paraphrasing that:

     Subversion 1.7 and earlier would silently ignore those sections of
     the authz file; directives in those sections would never apply.
     That's been fixed in this release: Subversion will now error out
     if the authz file contains such a section.

It is not possible to escape colons in that context.  You may be able to
rename the repository (or create a symlink to it and start using that).

And see https://subversion.apache.org/docs/release-notes/1.7#http-redirects

Cheers,

Daniel

RE: Error---After upgrading from subversion 1.6 to 1.8.

Posted by Bert Huijben <be...@qqmail.nl>.

> -----Original Message-----
> From: Reyaz [mailto:skreyazahamed@gmail.com]
> Sent: maandag 28 maart 2016 11:45
> To: users@subversion.apache.org
> Subject: Error---After upgrading from subversion 1.6 to 1.8.
> 
> Hi Team,
> 
> We have recently upgraded subversion from 1.6 version to 1.8 version on
> RHEL
> 5.8. After upgrade we are getting below error in error_log file. Before
> upgrade everything working fine.Now we are unable to access the projects
> with below given error.
> 
> 
> "[Tue Mar 15 03:06:57 2016] [error] [client 10.191.212.115] Failed to load
> the mod_authz_svn config: Section name 'Ents_0590_EA:2113:ELA Amd #5 -
> 340
> BCDs:/' contains non-canonical fspath '2113:ELA Amd #5 - 340 BCDs:/''"

It looks like there is some invalid path in the authz file.

This should be the file that you configured in
[[
AuthzSVNAccessFile /u10/~~~~~~~~/svnauthfile
]]
in your configuration.


	Bert