centos7 做svn开机启动时出现E000013: 无法检查路径

想走在道路上 2018-01-04 10:20:40
配置都已经做好了,就是启动的时候出现这个错误,手动启动时没有问题的,可以正常访问,更新等操作.
做完配置后,使用命令
[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
...全文
2274 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
tianfang 2020-06-10
  • 打赏
  • 举报
回复
1月 04 10:18:10 localhost.localdomain svnserve[7657]: svnserve: E000013: 无法检查路径 “/home/soft/data/svn”: 权限不够 可能是下级目录的权限问题 chown soft:soft /home/soft/data/svn -R
想走在道路上 2018-01-04
  • 打赏
  • 举报
回复
在线等呀...大神来瞅瞅

1,279

社区成员

发帖
与我相关
我的任务
社区描述
软件工程 CVS/SVN
社区管理员
  • 版本控制社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧