You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Banani Banerjee <bb...@yahoo.com> on 2010/03/31 16:59:12 UTC

strange problem running svnserve server with -d

Hi!
I am trying to find out the reason behind svnserve's behavior
I have configured svnserve server(1.6.5) on Fedora 12.
I could ran the following commands after configuration
svn update
svn list
svn commit
svn checkout
But, when next time ( after stopping,ctrl-c and then starting svnserve) when I try to ran these above commads ,receive following errors and I could not access the repository. 

svn update  gives error /proj-test does not exist. proj-test is repository name.
svn list    gives error url non-existent in that revision
svn commit  file not found
svn checkout url does not exist

Then, I created another repository and found similar behavior. Frist I could access the
repository and next I could not.


I googled a lot, could find few similar prolem with but without any answer which
solve this problem.

Could someone give some clue to resolve this problem.
Please, find below partial output from svnserve startce.


Thanks.
Banani

[pid  5087] fcntl64(5, F_GETFD)         = 0x1 (flags FD_CLOEXEC)
[pid  5087] fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
[pid  5087] read(5, "id: 0.0.t3-d\ntype: dir\npred: 0.0"..., 4096) = 145
[pid  5087] close(5)                    = 0
[pid  5087] open("/usr/local/svn/svn-repos/proj-test/db/transactions/3-d.txn/nod
e.0.0", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 5
[pid  5087] fcntl64(5, F_GETFD)         = 0x1 (flags FD_CLOEXEC)
[pid  5087] fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
[pid  5087] read(5, "id: 0.0.t3-d\ntype: dir\npred: 0.0"..., 4096) = 145
[pid  5087] close(5)                    = 0
[pid  5087] lstat64("/usr/local/svn/svn-repos/proj-test/db/revs/0/3", {st_dev=ma
kedev(253, 0), st_ino=929116, st_mode=S_IFREG|0664, st_nlink=1, st_uid=509, st_g
id=521, st_blksize=4096, st_blocks=8, st_size=509, st_atime=2010/03/29-13:13:19,
 st_mtime=2010/03/22-04:42:33, st_ctime=2010/03/22-04:42:34}) = 0
[pid  5087] open("/usr/local/svn/svn-repos/proj-test/db/revs/0/3", O_RDONLY|O_LA
RGEFILE|O_CLOEXEC) = 5
[pid  5087] fcntl64(5, F_GETFD)         = 0x1 (flags FD_CLOEXEC)
[pid  5087] fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
[pid  5087] _llseek(5, 239, [239], SEEK_SET) = 0
[pid  5087] read(5, "PLAIN\nK 10\nhello.text\nV 16\nfile "..., 4096) = 270
[pid  5087] close(5)                    = 0
[pid  5087] open("/usr/local/svn/svn-repos/proj-test/db/transactions/3-d.txn", O
_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 5
[pid  5087] getdents64(5, {{d_ino=928968, d_off=248917896, d_type=DT_REG, d_recl
en=32, d_name="props"} {d_ino=928966, d_off=1031576103, d_type=DT_REG, d_reclen=
32, d_name="next-ids"} {d_ino=942251, d_off=1088707524, d_type=DT_DIR, d_reclen=
24, d_name=".."} {d_ino=928962, d_off=1696279615, d_type=DT_REG, d_reclen=32, d_
name="node.0.0"} {d_ino=928965, d_off=2091421709, d_type=DT_REG, d_reclen=32, d_
name="changes"} {d_ino=942198, d_off=2147483647, d_type=DT_DIR, d_reclen=24, d_n
ame="."}}, 32768) = 176
[pid  5087] unlink("/usr/local/svn/svn-repos/proj-test/db/transactions/3-d.txn/p
rops") = 0
[pid  5087] unlink("/usr/local/svn/svn-repos/proj-test/db/transactions/3-d.txn/n
ext-ids") = 0
[pid  5087] unlink("/usr/local/svn/svn-repos/proj-test/db/transactions/3-d.txn/n
ode.0.0") = 0
[pid  5087] unlink("/usr/local/svn/svn-repos/proj-test/db/transactions/3-d.txn/c
hanges") = 0
[pid  5087] getdents64(5, {}, 32768)    = 0
[pid  5087] lseek(5, 0, SEEK_SET)       = 0
[pid  5087] getdents64(5, {{d_ino=942251, d_off=2091421709, d_type=DT_DIR, d_rec
len=24, d_name=".."} {d_ino=942198, d_off=2147483647, d_type=DT_DIR, d_reclen=24
, d_name="."}}, 32768) = 48
[pid  5087] getdents64(5, {}, 32768)    = 0
[pid  5087] close(5)                    = 0
[pid  5087] rmdir("/usr/local/svn/svn-repos/proj-test/db/transactions/3-d.txn")
= 0
[pid  5087] unlink("/usr/local/svn/svn-repos/proj-test/db/txn-protorevs/3-d.rev"
) = 0
[pid  5087] unlink("/usr/local/svn/svn-repos/proj-test/db/txn-protorevs/3-d.rev-
lock") = 0
[pid  5087] fcntl64(4, F_GETFL)         = 0x2 (flags O_RDWR)
[pid  5087] fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid  5087] write(4, "( failure ( ( 160013 63:File not"..., 132) = 132
[pid  5087] fcntl64(4, F_GETFL)         = 0x802 (flags O_RDWR|O_NONBLOCK)
[pid  5087] fcntl64(4, F_SETFL, O_RDWR) = 0
[pid  5087] read(4, "", 4096)           = 0
[pid  5087] read(4, "", 4096)           = 0
[pid  5087] close(4)                    = 0
[pid  5087] close(3)                    = 0
[pid  5087] munmap(0x17c000, 18208)     = 0
[pid  5087] munmap(0x4fd000, 23632)     = 0
[pid  5087] munmap(0x2a6000, 18112)     = 0
[pid  5087] munmap(0xed1000, 17664)     = 0
[pid  5087] munmap(0xf76000, 50792)     = 0
[pid  5087] munmap(0x714a000, 1600728)  = 0
[pid  5087] munmap(0x7a8000, 20352)     = 0
[pid  5087] brk(0x8859000)              = 0x8859000
[pid  5087] brk(0x8853000)              = 0x8853000
[pid  5087] exit_group(0)               = ?
Process 5087 detached
<... accept resumed> 0xbfc00dfc, [128]) = ? ERESTARTSYS (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|WSTOPPED) = 5087
waitpid(-1, 0xbfc00e5c, WNOHANG|WSTOPPED) = -1 ECHILD (No child processes)
accept(3,