First could access the repository next cannot
- by Banani
Hi!
I have configured svnserve (1.6.5,plain, without apache) on Fedora 12.
I could ran the following svn subcommands which access the repository after configuration.
Such as, commit, update,checkout, list.
But, when next time ( after stopping,ctrl-c and then starting svnserve)I tried above commands, could not access the repository. This is happening both from local and remote machine.
I ran svn and svnserve as below.
'svn commit svn://127.0.0.1/myrepository/' from local client.
'svnserve -d --foregorund --listen-port=3690 -r /path-to-repository/mypository/'
To understand the problem better, I created another repository and found similar behavior . Frist I could access the repository and next I could not.
I tried doing strace on svnserve, but don't uderstand much of it. Below is the partial
output.
accept(3, {sa_family=AF_INET, sin_port=htons(54425), sin_addr=inet_addr("127.0.0
.1")}, [16]) = 4
fcntl64(4, F_GETFD) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
waitpid(-1, 0xbfcdf31c, WNOHANG|WSTOPPED) = -1 ECHILD (No child processes)
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, chil
d_tidptr=0xb7743758) = 9737
close(4) = 0
accept(3, 0xbfcdf2bc, [128]) = ? ERESTARTSYS (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn() = ? (mask now [])
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|WSTOPPED) = 9737
waitpid(-1, 0xbfcdf31c, WNOHANG|WSTOPPED) = -1 ECHILD (No child processes)
My question: Why user are not able to access the repository anymore? What information the strace output gives about this problem? Any help is much appreciated.
Thanks.
Banani