Advertisement
Guest User

Untitled

a guest
May 2nd, 2016
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.34 KB | None | 0 0
  1. [root@host]# csync2 -xvvv -N vcpidp1.test.com
  2. Config-File: /usr/local/etc/csync2/csync2.cfg
  3. My hostname is vcpidp1.test.com.
  4. Database-File: sqlite3:///usr/local/var/lib/csync2/vcpidp1.test.com.db3
  5. Opening shared library libsqlite3.so
  6. Reading symbols from shared library libsqlite3.so
  7. SQL: SELECT count(*) from file
  8. Upgrading database schema to version 0.
  9. SQL: CREATE TABLE file ( filename, checktxt, UNIQUE ( filename ) ON CONFLICT REPLACE)
  10. SQL: CREATE TABLE dirty ( filename, forced, myname, peername, UNIQUE ( filename, peername ) ON CONFLICT IGNORE)
  11. SQL: CREATE TABLE hint ( filename, recursive, UNIQUE ( filename, recursive ) ON CONFLICT IGNORE)
  12. SQL: CREATE TABLE action ( filename, command, logfile, UNIQUE ( filename, command ) ON CONFLICT IGNORE)
  13. SQL: CREATE TABLE x509_cert ( peername, certdata, UNIQUE ( peername ) ON CONFLICT IGNORE)
  14. Running recursive check for / ...
  15. SQL: SELECT filename from file where filename = '/' OR 1=1 ORDER BY filename
  16. SQL Query finished.
  17. Checking /* ..
  18. Don't check at all: /var
  19. Don't check at all: /usr
  20. Don't check at all: /tmp
  21. Don't check at all: /sys
  22. Don't check at all: /srv
  23. Don't check at all: /sbin
  24. Don't check at all: /run
  25. Don't check at all: /root
  26. Don't check at all: /proc
  27. Checking /opt/* ..
  28. Don't check at all: /opt/wrapper-linux-x86-64-3.5.27
  29. Don't check at all: /opt/wrapper
  30. Don't check at all: /opt/tomcat
  31. Match (+): /opt/testdir on /opt/testdir
  32. Checking /opt/testdir.
  33. SQL: SELECT checktxt FROM file WHERE filename = '/opt/testdir'
  34. New file: /opt/testdir
  35. SQL Query finished.
  36. SQL: DELETE FROM file WHERE filename = '/opt/testdir'
  37. SQL: INSERT INTO file (filename, checktxt) VALUES ('/opt/testdir', 'v1%3Amode=16877%3Auid=0%3Agid=0%3Atype=dir')
  38. Match (+): /opt/testdir on /opt/testdir
  39. Match (+): /opt/testdir on /opt/testdir
  40. Marking file as dirty: /opt/testdir
  41. SQL: DELETE FROM dirty WHERE filename = '/opt/testdir' AND peername = 'vcpidp2.test.com'
  42. SQL: INSERT INTO dirty (filename, forced, myname, peername) VALUES ('/opt/testdir', 0, 'vcpidp1.test.com', 'vcpidp2.test.com')
  43. Checking /opt/testdir/* ..
  44. Match (+): /opt/testdir on /opt/testdir/test.file
  45. Checking /opt/testdir/test.file.
  46. SQL: SELECT checktxt FROM file WHERE filename = '/opt/testdir/test.file'
  47. New file: /opt/testdir/test.file
  48. SQL Query finished.
  49. SQL: DELETE FROM file WHERE filename = '/opt/testdir/test.file'
  50. SQL: INSERT INTO file (filename, checktxt) VALUES ('/opt/testdir/test.file', 'v1%3Amtime=1461972615%3Amode=33188%3Auid=0%3Agid=0%3Atype=reg%3Asize=4')
  51. Match (+): /opt/testdir on /opt/testdir/test.file
  52. Match (+): /opt/testdir on /opt/testdir/test.file
  53. Marking file as dirty: /opt/testdir/test.file
  54. SQL: DELETE FROM dirty WHERE filename = '/opt/testdir/test.file' AND peername = 'vcpidp2.test.com'
  55. SQL: INSERT INTO dirty (filename, forced, myname, peername) VALUES ('/opt/testdir/test.file', 0, 'vcpidp1.test.com', 'vcpidp2.test.com')
  56. Don't check at all: /opt/opendj
  57. Don't check at all: /opt/jython-2.7.0
  58. Don't check at all: /opt/jython
  59. Don't check at all: /opt/idp
  60. Don't check at all: /opt/someapp-server24
  61. Don't check at all: /opt/someapp
  62. Don't check at all: /opt/dist
  63. Don't check at all: /opt/apache-tomcat-7.0.55
  64. Don't check at all: /mnt
  65. Don't check at all: /media
  66. Don't check at all: /lib64
  67. Don't check at all: /lib
  68. Don't check at all: /install
  69. Don't check at all: /home
  70. Don't check at all: /etc
  71. Don't check at all: /dev
  72. Don't check at all: /boot
  73. Don't check at all: /bin
  74. Match (-): .* on /.autorelabel
  75. Don't check at all: /.autorelabel
  76. SQL: SELECT peername FROM dirty GROUP BY peername
  77. SQL Query finished.
  78. SQL: SELECT filename, myname, forced FROM dirty WHERE peername = 'vcpidp2.test.com' ORDER by filename ASC
  79. SQL Query finished.
  80. Connecting to host vcpidp2.test.com (PLAIN) ...
  81. Bound to 137.146.24.140:0 as vcpidp1.test.com.
  82. Connect to 137.146.24.141:30865 (vcpidp2.test.com).
  83. Local> CONFIG \n
  84. Peer> OK (cmd_finished).\n
  85. response from peer(<no file>): vcpidp2.test.com [1] <- OK (cmd_finished).
  86. check: /opt/testdir/test.file 13, (null) 0, 0.
  87. check: /opt/testdir 5, /opt/testdir/ 13, 5.
  88. Dirty item /opt/testdir vcpidp1.test.com 0
  89. Local> HELLO vcpidp1.test.com\n
  90. Peer> OK (cmd_finished).\n
  91. While syncing file /opt/testdir:
  92. response from peer(/opt/testdir): vcpidp2.test.com [1] <- OK (cmd_finished).
  93. Match (+): /opt/testdir on /opt/testdir
  94. Updating /opt/testdir on vcpidp2.test.com ...
  95. Local> SIG hqq8DD.EsWZAzO..Dcke.2mLHGCCjH9bcMQHrwOz93ML3jq466Z7GHOAizMvEuV9 /opt/testdir\n
  96. Peer> OK (data_follows).\n
  97. While syncing file /opt/testdir:
  98. response from peer(/opt/testdir): vcpidp2.test.com [2] <- OK (data_follows).
  99. Peer> v1:mode=16877:uid=0:gid=0:type=dir\n
  100. Csync2 / Librsync: csync_rs_check('/opt/testdir', 0 [non-regular file])
  101. Reading signature size from peer....
  102. Peer> octet-stream 0\n
  103. Receiving 0 bytes ..
  104. File has been checked successfully (files are equal).
  105. Peer> OK (cmd_finished).\n
  106. While syncing file /opt/testdir:
  107. response from peer(/opt/testdir): vcpidp2.test.com [1] <- OK (cmd_finished).
  108. File is already up to date on peer.
  109. Local> SETIME hqq8DD.EsWZAzO..Dcke.2mLHGCCjH9bcMQHrwOz93ML3jq466Z7GHOAizMvEuV9 /opt/testdir 1461972615\n
  110. Peer> OK (cmd_finished).\n
  111. While syncing file /opt/testdir:
  112. response from peer(/opt/testdir): vcpidp2.test.com [1] <- OK (cmd_finished).
  113. SQL: DELETE FROM dirty WHERE filename = '/opt/testdir' AND peername = 'vcpidp2.test.com'
  114. Match (+): /opt/testdir on /opt/testdir/test.file
  115. Updating /opt/testdir/test.file on vcpidp2.test.com ...
  116. Local> SIG hqq8DD.EsWZAzO..Dcke.2mLHGCCjH9bcMQHrwOz93ML3jq466Z7GHOAizMvEuV9 /opt/testdir/test.file\n
  117. Peer> OK (data_follows).\n
  118. While syncing file /opt/testdir/test.file:
  119. response from peer(/opt/testdir/test.file): vcpidp2.test.com [2] <- OK (data_follows).
  120. Peer> v1:mtime=0:mode=33188:uid=0:gid=0:type=reg:size=4\n
  121. Csync2 / Librsync: csync_rs_check('/opt/testdir/test.file', 1 [regular file])
  122. Reading signature size from peer....
  123. Peer> octet-stream 32\n
  124. Receiving 32 bytes ..
  125. Opening basis_file and sig_file for /opt/testdir/test.file
  126. Running rs_sig_file() from librsync....
  127. Peer> rs\0016\000\000\010\000\000\000\000\020\002\37777777771\001\031\37777777737\37777777677rY\021`\37777777776\37777777751\017)\37777777651\37777777730\37777777625U\37777777767D
  128. Found diff in sig at -32:-0
  129. Got 32 bytes, 0 bytes left ..
  130. File has been checked successfully (difference found).
  131. File is different on peer (rsync sig).
  132. Peer> OK (cmd_finished).\n
  133. While syncing file /opt/testdir/test.file:
  134. response from peer(/opt/testdir/test.file): vcpidp2.test.com [1] <- OK (cmd_finished).
  135. Local> PATCH hqq8DD.EsWZAzO..Dcke.2mLHGCCjH9bcMQHrwOz93ML3jq466Z7GHOAizMvEuV9 /opt/testdir/test.file\n
  136. Peer> File is also marked dirty here!\n
  137. While syncing file /opt/testdir/test.file:
  138. response from peer(/opt/testdir/test.file): vcpidp2.test.com [10] <- File is also marked dirty here!
  139. Match (+): /opt/testdir on /opt/testdir/test.file
  140. Match (+): /opt/testdir on /opt/testdir/test.file
  141. Local> GETTM hqq8DD.EsWZAzO..Dcke.2mLHGCCjH9bcMQHrwOz93ML3jq466Z7GHOAizMvEuV9 /opt/testdir/test.file\n
  142. Peer> OK (data_follows).\n
  143. While syncing file /opt/testdir/test.file:
  144. response from peer(/opt/testdir/test.file): vcpidp2.test.com [2] <- OK (data_follows).
  145. Peer> 1461972573\n
  146. Auto-resolving conflict: Won 'younger/older' test.
  147. Updating /opt/testdir/test.file on vcpidp2.test.com ...
  148. Local> FLUSH hqq8DD.EsWZAzO..Dcke.2mLHGCCjH9bcMQHrwOz93ML3jq466Z7GHOAizMvEuV9 /opt/testdir/test.file\n
  149. Peer> OK (cmd_finished).\n
  150. While syncing file /opt/testdir/test.file:
  151. response from peer(/opt/testdir/test.file): vcpidp2.test.com [1] <- OK (cmd_finished).
  152. Local> PATCH hqq8DD.EsWZAzO..Dcke.2mLHGCCjH9bcMQHrwOz93ML3jq466Z7GHOAizMvEuV9 /opt/testdir/test.file\n
  153. Peer> Stating original file /opt rc: 0 mode: 40755Changing owner of /var/backups/csync2/opt to user 0 and group 0, rc= 0 \n
  154. While syncing file /opt/testdir/test.file:
  155. response from peer(/opt/testdir/test.file): vcpidp2.test.com [8] <- Stating original file /opt rc: 0 mode: 40755Changing owner of /var/backups/csync2/opt to user 0 and group 0, rc= 0
  156. ERROR: Auto-resolving failed. Giving up.
  157. File stays in dirty state. Try again later...
  158. Local> BYE\n
  159. Peer> Changing mode of /var/backups/csync2/opt to mode 16877, rc= 0 \n
  160. response from peer(<no file>): vcpidp2.test.com [8] <- Changing mode of /var/backups/csync2/opt to mode 16877, rc= 0
  161. SQL: SELECT command, logfile FROM action GROUP BY command, logfile
  162. SQL Query finished.
  163. Connection closed.
  164. Finished with 3 errors.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement