After configuration, use the command
[soft @ localhost ~] $systemctl start svnserve. Service
====AUTHENTICATING FOR org. Freedesktop. Systemd1. The manage - units===
Authentication is required to manage system services or units.
Authenticating the as: soft
Password:
====AUTHENTICATION COMPLETE===
Job for svnserve. The service failed because the control process exited with the error code. See "systemctl status svnserve. Service" and "journalctl - xe" for details.
[soft @ localhost ~] $systemctl status svnserve. Service
Svnserve. Service - Subversion protocol daemon
The Loaded: the Loaded (/usr/lib/systemd/system/svnserve. Service; Enabled. Vendor preset: disabled)
Active: failed (Result: exit - code) since four 10:18:10 2018-01-04 CST; Line 7 s
Process: 7657 ExecStart=/usr/bin/svnserve - daemon - pid - file=/run/svnserve/svnserve. Pid - d - r/home/soft/data/SVN (code=exited, status=1/FAILURE)
Jan 04 10:18:10 localhost. Localdomain systemd [1] : Starting Subversion protocol daemon...
Jan 04 10:18:10 localhost. Localdomain svnserve [7657] : svnserve: E000013: unable to check the path "/home/soft/data/SVN" : permission not
Jan 04 10:18:10 localhost. Localdomain systemd [1] : svnserve. Service: control the process exited, code=exited the status=1
Jan 04 10:18:10 localhost. Localdomain systemd [1] : Failed to start the Subversion protocol daemon.
Jan 04 10:18:10 localhost. Localdomain systemd [1] : Unit svnserve. Service rose failed state.
Jan 04 10:18:10 localhost. Localdomain systemd [1] : svnserve. The service failed.
[soft @ localhost ~] $
Is there a great god to see see!!!!!!!!!!
I have tried to adding the directory permissions.. Or not, I put the corresponding documents issued to
[soft @ localhost ~] $cat/usr/lib/systemd/system/svnserve. Service
[Unit]
Description=Subversion protocol daemon
After=syslog. Target network. The 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
Directory permissions as
[soft @ localhost data] $ll | grep SVN
DRWXRWXRWX. 6 soft soft 86 January 3 14:26 SVN
CodePudding user response:
Online, etc... The great spirit to Chou ChouCodePudding user response:
Jan 04 10:18:10 localhost. Localdomain svnserve [7657] : svnserve: E000013: unable to check the path "/home/soft/data/SVN" : permission notMay be lower directory permissions problems
Chown soft: soft/home/soft/data/SVN - R