当碰见svn服务器没法启动或是服务器重启时,可使用以下操做,对svn服务器进行从新配置。服务器
1.查看svnserver 状态和pidsvn
#ps -aux | grep svnspa
root 5425 0.0 0.0 166300 916 ? Ss 15:23 0:00 svnserve -d -r /home/
root 5432 0.0 0.0 112640 968 pts/0 S+ 15:23 0:00 grep --color=auto svnserver
2.杀死进程进程
#kill -9 5425 资源
3.从新启动,并制定资源所在目录后台
#svnserve -d -r /home/svn/document/配置
说明:资源库在“/home/svn/document/”下grep
或者:数据
#使用9999端口启动svn服务
svnserve --listen-port 9999 -d -r /home/svndata
#-d 表示后台运行
#-r 表示数据仓库目录
三步,便可从新启动svnserver。