sophia-985935365

 

当遇见svn服务器无法启动或是服务器重启时,可以使用如下操作,对svn服务器进行重新配置。

1.查看svnserver 状态和pid

 #ps -aux | grep svn

  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 svn

2.杀死进程

 #kill -9 5425

3.重新启动,并制定资源所在目录

 #svnserve -d -r /home/svn/document/

 说明:资源库在“/home/svn/document/”下

或者:

 #使用9999端口启动svn服务
 svnserve --listen-port 9999 -d -r /home/svndata
 #-d 表示后台运行
 #-r 表示数据仓库目录

三步,即可重新启动svnserver。

分类:

技术点:

相关文章:

  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
  • 2021-09-07
  • 2021-07-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-01
猜你喜欢
  • 2021-06-17
  • 2021-08-13
  • 2021-09-01
  • 2022-12-23
  • 2021-09-17
  • 2021-05-06
相关资源
相似解决方案