ラベル subversion の投稿を表示しています。 すべての投稿を表示
ラベル subversion の投稿を表示しています。 すべての投稿を表示

2014年1月29日水曜日

Subversion - Could not open the requested SVN filesystem

svn checkoutが出来ない場合

試験用に突貫構築した環境で、svnリポジトリからチェックアウトを行った際、次のようなエラーに遭遇しました。

[Wed Jan 1 00:00:00 2014] [error] [client 192.168.13.125] Could not open the requested SVN filesystem  [500, #2]



[root@localhost ~]# getenforce
Enforcing

SELinuxが有効のままでした(゚ω゚;)


SELinuxを無効にする ①

現在のSELinux設定を無効にする方法。その1。

[root@localhost ~]# setenforce 0


SELinuxを無効にする ②

現在のSELinux設定を無効にする方法。その2

[root@localhost ~]# echo 0 > /selinux/enforce


起動時のSELinuxを無効に設定する

起動時のSELinux設定を無効に設定します。
以下の作業を行うことで設定可能です。

[root@localhost ~]# vi /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
#SELINUX=enforcing  ← コメントアウト
SELINUX=disabled  ← 追記した行
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted



結果の確認 (再起動前)

[root@localhost ~]# getenforce
Permissive

[root@localhost ~]# sestatus
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   permissive
Mode from config file:          disabled
Policy version:                 21
Policy from config file:        targeted


結果の確認 (再起動後)

[root@localhost ~]# getenforce
Disabled  

[root@localhost ~]# sestatus
SELinux status:                 disabled