SVN Import 를 할 경우 여러가지 오류 중,
버전이 다를 경우에는 버전을 바꿔주면 가능한데,
버전이 동일한데도 불구하고, 콘솔창에 아래와 같은 오류가 출력 된다면..
Cannot negotiate authentication mechanism
또는
svn: Could not obtain the list of SASL mechanisms
1. SVN 환경설정에서 SASL 기능이 켜져 있고,
SASL이 설치되어 있지 않다면, 이와같은 오류가 발생할 수 있다.
### This file controls the configuration of the svnserve daemon, if you
### use it to allow access to this repository. (If you only allow
### access through http: and/or file: URLs, then this file is
### irrelevant.)
### Visit http://subversion.tigris.org/ for more information.
[general]
### These options control access to the repository for unauthenticated
### and authenticated users. Valid values are "write", "read",
### and "none". The sample settings below are the defaults.
#anon-access = none
auth-access = write
### The password-db option controls the location of the password
### database file. Unless you specify a path starting with a /,
### the file's location is relative to the directory containing
### this configuration file.
### If SASL is enabled (see below), this file will NOT be used.
### Uncomment the line below to use the default password file.
password-db = passwd
### The authz-db option controls the location of the authorization
### rules for path-based access control. Unless you specify a path
### starting with a /, the file's location is relative to the the
### directory containing this file. If you don't specify an
### authz-db, no path-based access control is done.
### Uncomment the line below to use the default authorization file.
# authz-db = authz
### This option specifies the authentication realm of the repository.
### If two repositories have the same authentication realm, they should
### have the same password database, and vice versa. The default realm
### is repository's uuid.
realm = mumu
[sasl]
### This option specifies whether you want to use the Cyrus SASL
### library for authentication. Default is false.
### This section will be ignored if svnserve is not built with Cyrus
### SASL support; to check, run 'svnserve --version' and look for a line
### reading 'Cyrus SASL authentication is available.'
use-sasl = true
### These options specify the desired strength of the security layer
### that you want SASL to provide. 0 means no encryption, 1 means
### integrity-checking only, values larger than 1 are correlated
### to the effective key length for encryption (e.g. 128 means 128-bit
### encryption). The values below are the defaults.
min-encryption = 128
max-encryption = 256
해당 부분을 주석으로 막는다면, 가능하나 svn에 로그인을 않하므로,
뭔가 찜찜...
그래서 SASL을 설치해준다.
[root@localhost ~]# yum install cyrus-sasl-md5
Loaded plugins: fastestmirror, security
Setting up Install Process
Determining fastest mirrors
epel/metalink | 5.1 kB 00:00
* base: ftp.iij.ad.jp
* epel: ftp.jaist.ac.jp
* extras: ftp.iij.ad.jp
* remi-php55: mirrors.mediatemple.net
* remi-safe: mirrors.mediatemple.net
* rpmforge: ftp.kddilabs.jp
* updates: ftp.iij.ad.jp
base | 3.7 kB 00:00
epel | 4.3 kB 00:00
epel/primary_db | 5.9 MB 00:00
extras | 3.4 kB 00:00
pgdg94 | 4.1 kB 00:00
pgdg94/primary_db | 138 kB 00:00
remi-php55 | 2.9 kB 00:00
remi-php55/primary_db | 208 kB 00:00
remi-safe | 2.9 kB 00:00
remi-safe/primary_db | 420 kB 00:00
rpmforge | 1.9 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 3.1 MB 00:00
Resolving Dependencies
--> Running transaction check
---> Package cyrus-sasl-md5.x86_64 0:2.1.23-15.el6_6.2 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=====================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================
Installing:
cyrus-sasl-md5 x86_64 2.1.23-15.el6_6.2 base 47 k
Transaction Summary
=====================================================================================================================
Install 1 Package(s)
Total download size: 47 k
Installed size: 73 k
Is this ok [y/N]: y
Downloading Packages:
cyrus-sasl-md5-2.1.23-15.el6_6.2.x86_64.rpm | 47 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : cyrus-sasl-md5-2.1.23-15.el6_6.2.x86_64 1/1
Verifying : cyrus-sasl-md5-2.1.23-15.el6_6.2.x86_64 1/1
Installed:
cyrus-sasl-md5.x86_64 0:2.1.23-15.el6_6.2
Complete!
혹시 그래도!! 안된다면
상단 메뉴에서 Window > Preferences > Team > SVN > SVN Interface 를 확인해준다.
'Web > PHP' 카테고리의 다른 글
제로보드XE 짧은글 주소 htaccess (0) | 2015.02.17 |
---|