配置都已經做好了,就是啟動的時候出現這個錯誤,手動啟動時沒有問題的,可以正常訪問,更新等操作.
做完配置后,使用命令
[soft@localhost ~]$ systemctl start svnserve.service
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to manage system services or units.
Authenticating as: soft
Password:
==== AUTHENTICATION COMPLETE ===
Job for svnserve.service failed because the control process exited with error code. See "systemctl status svnserve.service" and "journalctl -xe" for details.
[soft@localhost ~]$ systemctl status svnserve.service
svnserve.service - Subversion protocol daemon
Loaded: loaded (/usr/lib/systemd/system/svnserve.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 四 2018-01-04 10:18:10 CST; 7s ago
Process: 7657 ExecStart=/usr/bin/svnserve --daemon --pid-file=/run/svnserve/svnserve.pid -d -r /home/soft/data/svn (code=exited, status=1/FAILURE)
1月 04 10:18:10 localhost.localdomain systemd[1]: Starting Subversion protocol daemon...
1月 04 10:18:10 localhost.localdomain svnserve[7657]: svnserve: E000013: 無法檢查路徑 “/home/soft/data/svn”: 權限不夠
1月 04 10:18:10 localhost.localdomain systemd[1]: svnserve.service: control process exited, code=exited status=1
1月 04 10:18:10 localhost.localdomain systemd[1]: Failed to start Subversion protocol daemon.
1月 04 10:18:10 localhost.localdomain systemd[1]: Unit svnserve.service entered failed state.
1月 04 10:18:10 localhost.localdomain systemd[1]: svnserve.service failed.
[soft@localhost ~]$
有沒有大神來看看!!!!
我已經嘗試過給目錄添加權限了..還是不行,我把相應的檔案也發出來
[soft@localhost ~]$ cat /usr/lib/systemd/system/svnserve.service
[Unit]
Description=Subversion protocol daemon
After=syslog.target network.target
[Service]
Type=forking
EnvironmentFile=/etc/sysconfig/svnserve
ExecStart=/usr/bin/svnserve --daemon --pid-file=/run/svnserve/svnserve.pid -d -r /home/soft/data/svn
[Install]
WantedBy=multi-user.target
目錄權限如下
[soft@localhost data]$ ll | grep svn
drwxrwxrwx. 6 soft soft 86 1月 3 14:26 svn
uj5u.com熱心網友回復:
在線等呀...大神來瞅瞅uj5u.com熱心網友回復:
1月 04 10:18:10 localhost.localdomain svnserve[7657]: svnserve: E000013: 無法檢查路徑 “/home/soft/data/svn”: 權限不夠可能是下級目錄的權限問題
chown soft:soft /home/soft/data/svn -R
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/43329.html
標籤:版本控制
