2016-01-21 67 views
0

我在AWS EC2上安裝了Subversion服務器。大部分工作正常。我可以結帳,但無法在命令行簽入文件。我得到svn:E000013:無法開始交易。在日誌中的錯誤是:安裝在AWS EC2上的Subversion服務器上的簽入錯誤

[Wed Jan 20 22:02:25.679636 2016] [:error] [pid 28816] [client 96.242.58.29:53390] Can't open file '/var/www/svn/repos/db/txn-current-lock': Permission denied [500, #13] 

這是我subversion.conf語法

cat /etc/httpd/conf.d/subversion.conf 
LoadModule dav_svn_module  modules/mod_dav_svn.so 
LoadModule authz_svn_module modules/mod_authz_svn.so 

    <Location /svn> 
DAV svn 
SVNParentPath /var/www/svn 
<LimitExcept GET PROPFIND OPTIONS REPORT> 
    SVNListParentPath on 
    AuthType Basic 
    AuthName "Subversion Repositories" 
    AuthUserFile /etc/svn-auth-conf 
    Require valid-user 
</LimitExcept> 

回購權限是這樣的:

ls -lrt /var/www/ 
total 0 
drwxrwxrwx. 2 root root 6 Sep 17 09:07 cgi-bin 
drwxrwxrwx. 3 root root 28 Jan 20 20:17 html 
drwsrwsr-x. 3 apache apache 18 Jan 20 20:25 svn 

ls -lrt /var/www/svn 
total 0 
drwsr-sr-x. 6 apache apache 80 Jan 20 20:25 repos 

httpd ps -ef is: 

ps -ef | grep httpd 
root  28809  1 0 21:59 ?  00:00:00 /usr/sbin/httpd -DFOREGROUND 
apache 28811 28809 0 21:59 ?  00:00:00 /usr/sbin/httpd -DFOREGROUND 
apache 28813 28809 0 21:59 ?  00:00:00 /usr/sbin/httpd -DFOREGROUND 
apache 28814 28809 0 21:59 ?  00:00:00 /usr/sbin/httpd -DFOREGROUND 
apache 28815 28809 0 21:59 ?  00:00:00 /usr/sbin/httpd -DFOREGROUND 
apache 28816 28809 0 21:59 ?  00:00:00 /usr/sbin/httpd -DFOREGROUND 
apache 28817 28809 0 21:59 ?  00:00:00 /usr/sbin/httpd -DFOREGROUND 
apache 28818 28809 0 22:00 ?  00:00:00 /usr/sbin/httpd -DFOREGROUND 
apache 28819 28809 0 22:00 ?  00:00:00 /usr/sbin/httpd -DFOREGROUND 
ec2-user 28856 9252 0 22:07 pts/0 00:00:00 grep --color=auto httpd 

回答

相關問題