You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Thorsten Schöning <ts...@am-soft.de> on 2017/01/03 12:56:34 UTC
strace output for svnsync:E210008: Error while replaying commit.
Hi all,
I'm dealing with the error mentioned in the subject currently. The
problem is present only for one repo out of dozens and this repo got
the last working commit yesterday, which has been successfully synced
some minutes later. Today a new commit was made to the source repo, I
can update to that commit, read the changed data and such, but svnsync
in the mirror is unable to replay it for some reason. The same
mirroring process is used for other repos as well and still works for
other commits to other repos.
Running svnadmin verify on the source and mirror didn't reveal any
errors. I have plenty of disk space, there were no changes in
permissions or such, checked those already, and the same problem
exists for a newly created mirror of the problematic repo. Revision
1396 syncs successfully, 1397 fails always.
Subversion is at version 1.8.8 coming from UB 16.04 LTS Server in
source and mirror.
Could you please be so kind and have a look at the following excerpt
from strace? I don't see what's wrong and would be very thankful for
any ideas. Especially the following line makes me wonder, but I don't
know were it belongs or how I can get more details about it:
> write(4, "( failure ( ( 160016 50:Pfad \302\273t"..., 86) = 86
Thanks!
> lstat("/home/ams_svn_repos/Src/Bibliothek/db/svn-hcU053", {st_mode=S_IFREG|0644, st_size=4, ...}) = 0
> stat("/home/ams_svn_repos/Src/Bibliothek/db/txn-current", {st_mode=S_IFREG|0644, st_size=4, ...}) = 0
> chmod("/home/ams_svn_repos/Src/Bibliothek/db/svn-hcU053", 0644) = 0
> rename("/home/ams_svn_repos/Src/Bibliothek/db/svn-hcU053", "/home/ams_svn_repos/Src/Bibliothek/db/txn-current") = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db", O_RDONLY|O_CLOEXEC) = 6
> fsync(6) = 0
> close(6) = 0
> fcntl(5, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
> close(5) = 0
> mkdir("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn", 0777) = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/revs/1/1396", O_RDONLY|O_CLOEXEC) = 5
> fstat(5, {st_mode=S_IFREG|0444, st_size=20417, ...}) = 0
> lseek(5, 20417, SEEK_SET) = 20417
> lseek(5, 20353, SEEK_SET) = 20353
> read(5, "Dokus/Webhosting/Rechteprobleme "..., 4096) = 64
> lseek(5, 20155, SEEK_SET) = 20155
> read(5, "id: 0.0.r1396/20155\ntype: dir\npr"..., 4096) = 262
> close(5) = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/revs/1/1396", O_RDONLY|O_CLOEXEC) = 5
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f212167b000
> lseek(5, 20155, SEEK_SET) = 20155
> read(5, "id: 0.0.r1396/20155\ntype: dir\npr"..., 4096) = 262
> close(5) = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/node.0.0", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 5
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2121679000
> write(5, "id: 0.0.t1396-13h\ntype: dir\npred"..., 163) = 163
> close(5) = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/txn-protorevs/1396-13h.rev", O_WRONLY|O_CREAT|O_EXCL|O_CLOEXEC, 0666) = 5
> close(5) = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/txn-protorevs/1396-13h.rev-lock", O_WRONLY|O_CREAT|O_EXCL|O_CLOEXEC, 0666) = 5
> close(5) = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/changes", O_WRONLY|O_CREAT|O_EXCL|O_CLOEXEC, 0666) = 5
> close(5) = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/next-ids", O_WRONLY|O_CREAT|O_EXCL|O_CLOEXEC, 0666) = 5
> write(5, "0 0\n", 4) = 4
> close(5) = 0
> open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 5
> fstat(5, {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
> fstat(5, {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f212182c000
> read(5, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\10\0\0\0\0"..., 4096) = 2309
> lseek(5, -1467, SEEK_CUR) = 842
> read(5, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\t\0\0\0\t\0\0\0\0"..., 4096) = 1467
> close(5) = 0
> munmap(0x7f212182c000, 4096) = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/props", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2121677000
> open("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/svn-Rl3Tzx", O_RDWR|O_CREAT|O_EXCL, 0600) = 5
> fcntl(5, F_GETFD) = 0
> fcntl(5, F_SETFD, FD_CLOEXEC) = 0
> fstat(5, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
> chmod("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/svn-Rl3Tzx", 0644) = 0
> write(5, "K 15\nsvn:check-locks\nV 4\ntrue\nK "..., 80) = 80
> fsync(5) = 0
> close(5) = 0
> rename("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/svn-Rl3Tzx", "/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/props") = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/props", O_RDONLY|O_CLOEXEC) = 5
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2121675000
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2121673000
> read(5, "K 15\nsvn:check-locks\nV 4\ntrue\nK "..., 4096) = 80
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> close(5) = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/svn-ePeI40", O_RDWR|O_CREAT|O_EXCL, 0600) = 5
> fcntl(5, F_GETFD) = 0
> fcntl(5, F_SETFD, FD_CLOEXEC) = 0
> fstat(5, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
> chmod("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/svn-ePeI40", 0644) = 0
> write(5, "K 10\nsvn:author\nV 18\nsvnsync@am-"..., 235) = 235
> fsync(5) = 0
> close(5) = 0
> rename("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/svn-ePeI40", "/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/props") = 0
> stat("/home/ams_svn_repos/Src/Bibliothek/hooks/start-commit", 0x7ffe8616d6a0) = -1 ENOENT (No such file or directory)
> lstat("/home/ams_svn_repos/Src/Bibliothek/hooks/start-commit", 0x7ffe8616d6c0) = -1 ENOENT (No such file or directory)
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2121671000
> open("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/props", O_RDONLY|O_CLOEXEC) = 5
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f212166f000
> read(5, "K 10\nsvn:author\nV 18\nsvnsync@am-"..., 4096) = 235
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> close(5) = 0
> read(3, "\230,\302\217\313R\270@Z]\32\2762.\274\264", 16) = 16
> gettid() = 1741
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f212166d000
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f212166b000
> open("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/props", O_RDONLY|O_CLOEXEC) = 5
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2121669000
> read(5, "K 10\nsvn:author\nV 18\nsvnsync@am-"..., 4096) = 235
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> close(5) = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/node.0.0", O_RDONLY|O_CLOEXEC) = 5
> read(5, "id: 0.0.t1396-13h\ntype: dir\npred"..., 4096) = 163
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> close(5) = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/node.0.0", O_RDONLY|O_CLOEXEC) = 5
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2121667000
> read(5, "id: 0.0.t1396-13h\ntype: dir\npred"..., 4096) = 163
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> read(5, "", 4096) = 0
> close(5) = 0
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2121665000
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2121663000
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2121661000
> open("/home/ams_svn_repos/Src/Bibliothek/db/revs/1/1396", O_RDONLY|O_CLOEXEC) = 5
> lseek(5, 20036, SEEK_SET) = 20036
> read(5, "PLAIN\nK 8\nbranches\nV 15\ndir 0-1."..., 4096) = 381
> close(5) = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/revs/1/1396", O_RDONLY|O_CLOEXEC) = 5
> lseek(5, 19883, SEEK_SET) = 19883
> read(5, "id: 3-1.0.r1396/19883\ntype: dir\n"..., 4096) = 534
> close(5) = 0
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f212165f000
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f212165d000
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f212165b000
> open("/home/ams_svn_repos/Src/Bibliothek/db/revs/1/1396", O_RDONLY|O_CLOEXEC) = 5
> lseek(5, 19650, SEEK_SET) = 19650
> read(5, "PLAIN\nK 11\nAnleitungen\nV 23\ndir "..., 4096) = 767
> close(5) = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/revs/1/1396", O_RDONLY|O_CLOEXEC) = 5
> lseek(5, 19468, SEEK_SET) = 19468
> read(5, "id: 1-2.0-1375.r1396/19468\ntype:"..., 4096) = 949
> close(5) = 0
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2121659000
> open("/home/ams_svn_repos/Src/Bibliothek/db/revs/1/1396", O_RDONLY|O_CLOEXEC) = 5
> lseek(5, 19027, SEEK_SET) = 19027
> read(5, "PLAIN\nK 12\nDocumentBeam\nV 26\ndir"..., 4096) = 1390
> close(5) = 0
> openat(AT_FDCWD, "/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5
> getdents(5, /* 6 entries */, 32768) = 176
> getdents(5, /* 0 entries */, 32768) = 0
> close(5) = 0
> unlink("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/node.0.0") = 0
> unlink("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/props") = 0
> unlink("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/changes") = 0
> unlink("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn/next-ids") = 0
> rmdir("/home/ams_svn_repos/Src/Bibliothek/db/transactions/1396-13h.txn") = 0
> unlink("/home/ams_svn_repos/Src/Bibliothek/db/txn-protorevs/1396-13h.rev") = 0
> unlink("/home/ams_svn_repos/Src/Bibliothek/db/txn-protorevs/1396-13h.rev-lock") = 0
> fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
> fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
> write(4, "( failure ( ( 160016 50:Pfad \302\273t"..., 86) = 86
> fcntl(4, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
> fcntl(4, F_SETFL, O_RDWR) = 0
> mmap(NULL, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2121654000
> read(4, "\201\232\6x^\224\271s\220oM\327%X\266m\343\226m\363\226m\33\267l\333\365+\333\266m\333"..., 18556) = 18556
> read(4, " ) ) ( textdelta-end ( 2:c4 ) ) "..., 16384) = 294
> unlink("/tmp/svn-Y3Ipc7") = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/revprops/0/0", O_RDONLY|O_CLOEXEC) = 5
> stat("/home/ams_svn_repos/Src/Bibliothek/db/revprops/0/0", {st_mode=S_IFREG|0444, st_size=321, ...}) = 0
> read(5, "K 8\nsvn:date\nV 27\n2008-08-08T10:"..., 16384) = 321
> read(5, "", 16384) = 0
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2121652000
> close(5) = 0
> open("/home/ams_svn_repos/Src/Bibliothek/conf/hooks-env", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
> stat("/home/ams_svn_repos/Src/Bibliothek/hooks/pre-revprop-change", {st_mode=S_IFREG|0755, st_size=137, ...}) = 0
> open("/dev/null", O_RDONLY|O_CLOEXEC) = 5
> open("/dev/null", O_WRONLY|O_CLOEXEC) = 6
> dup(5) = 7
> fcntl(7, F_GETFD) = 0
> fcntl(7, F_SETFD, 0) = 0
> dup(6) = 8
> fcntl(8, F_GETFD) = 0
> fcntl(8, F_SETFD, 0) = 0
> pipe([9, 10]) = 0
> fcntl(9, F_GETFD) = 0
> fcntl(9, F_SETFD, FD_CLOEXEC) = 0
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f212181fa50) = 1744
> close(7) = 0
> close(8) = 0
> close(10) = 0
> read(9, "", 16384) = 0
> wait4(1744, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WSTOPPED, NULL) = 1744
> --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1744, si_status=0, si_utime=0, si_stime=0} ---
> close(9) = 0
> close(6) = 0
> close(5) = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/write-lock", O_RDWR|O_CLOEXEC) = 5
> fcntl(5, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/min-unpacked-rev", O_RDONLY|O_CLOEXEC) = 6
> read(6, "0\n", 4096) = 2
> read(6, "", 4096) = 0
> read(6, "", 4096) = 0
> close(6) = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/current", O_RDONLY|O_CLOEXEC) = 6
> stat("/home/ams_svn_repos/Src/Bibliothek/db/current", {st_mode=S_IFREG|0644, st_size=5, ...}) = 0
> read(6, "1396\n", 16384) = 5
> read(6, "", 16384) = 0
> close(6) = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/revprops/0/0", O_RDONLY|O_CLOEXEC) = 6
> stat("/home/ams_svn_repos/Src/Bibliothek/db/revprops/0/0", {st_mode=S_IFREG|0444, st_size=321, ...}) = 0
> read(6, "K 8\nsvn:date\nV 27\n2008-08-08T10:"..., 16384) = 321
> read(6, "", 16384) = 0
> close(6) = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/revprops/0/svn-03GhCu", O_RDWR|O_CREAT|O_EXCL, 0600) = 6
> fcntl(6, F_GETFD) = 0
> fcntl(6, F_SETFD, FD_CLOEXEC) = 0
> fstat(6, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
> chmod("/home/ams_svn_repos/Src/Bibliothek/db/revprops/0/svn-03GhCu", 0644) = 0
> write(6, "K 8\nsvn:date\nV 27\n2008-08-08T10:"..., 251) = 251
> close(6) = 0
> lstat("/home/ams_svn_repos/Src/Bibliothek/db/revprops/0/svn-03GhCu", {st_mode=S_IFREG|0644, st_size=251, ...}) = 0
> stat("/home/ams_svn_repos/Src/Bibliothek/db/revs/0/0", {st_mode=S_IFREG|0444, st_size=115, ...}) = 0
> chmod("/home/ams_svn_repos/Src/Bibliothek/db/revprops/0/svn-03GhCu", 0444) = 0
> rename("/home/ams_svn_repos/Src/Bibliothek/db/revprops/0/svn-03GhCu", "/home/ams_svn_repos/Src/Bibliothek/db/revprops/0/0") = 0
> open("/home/ams_svn_repos/Src/Bibliothek/db/revprops/0", O_RDONLY|O_CLOEXEC) = 6
> fsync(6) = 0
> close(6) = 0
> fcntl(5, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
> close(5) = 0
> stat("/home/ams_svn_repos/Src/Bibliothek/hooks/post-revprop-change", 0x7ffe8616d900) = -1 ENOENT (No such file or directory)
> lstat("/home/ams_svn_repos/Src/Bibliothek/hooks/post-revprop-change", 0x7ffe8616d920) = -1 ENOENT (No such file or directory)
> write(2, "svnsync: E210008: Fehler beim Wi"..., 59svnsync: E210008: Fehler beim Wiederholen der Übertragung) = 59
> close(4) = 0
Mit freundlichen Grüßen,
Thorsten Schöning
--
Thorsten Schöning E-Mail: Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/
Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04
AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
Re: strace output for svnsync:E210008: Error while replaying commit.
Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Thorsten Sch�ning wrote on Tue, Jan 03, 2017 at 17:56:12 +0100:
> Guten Tag Daniel Shahaf,
> am Dienstag, 3. Januar 2017 um 16:02 schrieben Sie:
>
> >> > write(4, "( failure ( ( 160016 50:Pfad \302\273t"..., 86) = 86
>
> > In subversion/libsvn_ra_svn/protocol in the source tree.
>
> Does this tell me that svnsync is writing an error message to
> svnserve or somewhere else? Where would that message be saved/shown?
Yes, it appears that svnsync is sending a failure response to a replay
editor (svn_ra_replay*()) driven by the svnserve serving the master
repository. That svnserve then returns an error to svnsync. If the
latter error (E210008) does not contain the former error (E160016), then
the former error would be logged by the remote svnserve.
> I couldn't find it and AFAIK svnserve doesn't have logging facilities?
It does: --log-file.
> I'm starting svnserve using Upstart currently like the following:
>
> > exec /usr/bin/svnserve --daemon --root /[...] --listen-host [...] --listen-port [...]
>
> Upstart logs STDERR and STDOUT automatically this way and did for
> other errors in the past while e.g. starting the service itself, but
> this time no error was logged.
Right, svnserve --daemon prints nothing to stdout/stderr if it starts
successfully.
> Thanks a lot!
You're welcome. And I did enjoy the detective work :-)
Cheers,
Daniel
Re: strace output for svnsync:E210008: Error while replaying commit.
Posted by Thorsten Schöning <ts...@am-soft.de>.
Guten Tag Daniel Shahaf,
am Dienstag, 3. Januar 2017 um 16:02 schrieben Sie:
> It would have helepd to say what was being strace'd. It looks like the
> strace was of svnsync of r1397, run with the target repository accessed
> via file://.
Sorry, but your guess was correct. The sync source is svnserve
accessed through a SSH tunnel.
>> > write(4, "( failure ( ( 160016 50:Pfad \302\273t"..., 86) = 86
> In subversion/libsvn_ra_svn/protocol in the source tree.
Does this tell me that svnsync is writing an error message to
svnserve or somewhere else? Where would that message be saved/shown? I
couldn't find it and AFAIK svnserve doesn't have logging facilities?
I'm starting svnserve using Upstart currently like the following:
> exec /usr/bin/svnserve --daemon --root /[...] --listen-host [...] --listen-port [...]
Upstart logs STDERR and STDOUT automatically this way and did for
other errors in the past while e.g. starting the service itself, but
this time no error was logged.
> The error message probably says "Path '%s' is not a directory", so check
> that path on the master and mirror repositories; ensure it exists and
> has the same content on both of them.
Your were correct again, that was the root cause: I had access
permissions in the source repo on the mentioned path, visible after
running with "strace -s 255 ...", which prevented it from being synced
to the mirror in the past and now the commit in that path lead to the
error. I changed the permissions, rebuild the mirror-repo to include
the path and now everything seems to work again.
Thanks a lot!
Mit freundlichen Grüßen,
Thorsten Schöning
--
Thorsten Schöning E-Mail: Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/
Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04
AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
Re: strace output for svnsync:E210008: Error while replaying commit.
Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Thorsten Sch�ning wrote on Tue, Jan 03, 2017 at 13:56:34 +0100:
> Could you please be so kind and have a look at the following excerpt
> from strace?
It would have helepd to say what was being strace'd. It looks like the
strace was of svnsync of r1397, run with the target repository accessed
via file://.
> I don't see what's wrong and would be very thankful for
> any ideas. Especially the following line makes me wonder, but I don't
> know were it belongs or how I can get more details about it:
>
> > write(4, "( failure ( ( 160016 50:Pfad \302\273t"..., 86) = 86
In subversion/libsvn_ra_svn/protocol in the source tree.
The error numbers in the subject and here are informative:
% ./tools/dev/which-error.py 210008 160016
00210008 SVN_ERR_RA_SVN_EDIT_ABORTED
00160016 SVN_ERR_FS_NOT_DIRECTORY
The "50:..." is a counted string. The following text, "Pfad �t"..., is
an error message in German ("Pfad" is German for "path" and the two
escape sequences are the UTF-8 representation of '�', which is the quote
character the German localization uses). So, it would be helpful if you
could (run svnserve under an English LC_MESSAGES locale, and) post the
entirety of that truncated string (strace -s0), as it might contain
useful information.
>
Regarding the strace, nothing jumps out at me. I would suggest to post
the full error chains (both the E160016 chain and the E210008 chain).
The error message probably says "Path '%s' is not a directory", so check
that path on the master and mirror repositories; ensure it exists and
has the same content on both of them.
Cheers,
Daniel