LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-19-2013, 03:46 AM   #1
amilauduwerella
Member
 
Registered: Feb 2009
Distribution: Debian
Posts: 56

Rep: Reputation: 17
Unhappy SVN SYNC hangs


I have setup a SVN read only mirror at my server, and sometimes when I try to do s svn sync, it does not do anything just hang on, CLI.

Can you help me?
 
Old 06-20-2013, 12:39 AM   #2
eklavya
Member
 
Registered: Mar 2013
Posts: 551

Rep: Reputation: 113Reputation: 113
It is necessary to find out which of these is applicable. You can search for processes called ‘svnsync’ using the ps command:

Quote:
ps -C svnsync
If svnsync is running and you believe it has hung then you will need to kill it before proceeding.

If svnsync has died or been killed, and the destination repository remains locked, you can unlock it with the command:

Quote:
svn pd svn:sync-lock --revprop -r 0 file:///var/lib/svn/foo
Do not remove the lock unless you are confident that there is no instance of svnsync running. If two svnsync processes are allowed to write to the destination repository concurrently then it is possible they could leave it in an unusable state.

(In particular, do not assume that a process will necessarily die following a kill command. You should check using ps, and if necessary issue a kill -9.)
 
1 members found this post helpful.
Old 06-26-2013, 04:21 AM   #3
amilauduwerella
Member
 
Registered: Feb 2009
Distribution: Debian
Posts: 56

Original Poster
Rep: Reputation: 17
Thanks,

Got it fixed. There was a network issue. when it hangs, i had to kill the process and do as you mention.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
starting with git repos created from svn-all-fast-export, how to interact with svn? eantoranz Programming 0 03-16-2013 11:45 PM
copy svn working dir without svn hidden dirs and files? erinspice Linux - Software 4 03-29-2011 05:58 PM
SVN http connection hangs after first use cheshirex Linux - Software 1 12-16-2009 08:07 AM
svn sync myfoot Linux - Software 1 02-21-2008 01:03 PM
svn commit hangs (http server) xowl Linux - Server 1 04-24-2007 03:56 PM


All times are GMT -5. The time now is 04:43 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration