Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@host]# csync2 -xvvv -N vcpidp1.test.com
- Config-File: /usr/local/etc/csync2/csync2.cfg
- My hostname is vcpidp1.test.com.
- Database-File: sqlite3:///usr/local/var/lib/csync2/vcpidp1.test.com.db3
- Opening shared library libsqlite3.so
- Reading symbols from shared library libsqlite3.so
- SQL: SELECT count(*) from file
- Upgrading database schema to version 0.
- SQL: CREATE TABLE file ( filename, checktxt, UNIQUE ( filename ) ON CONFLICT REPLACE)
- SQL: CREATE TABLE dirty ( filename, forced, myname, peername, UNIQUE ( filename, peername ) ON CONFLICT IGNORE)
- SQL: CREATE TABLE hint ( filename, recursive, UNIQUE ( filename, recursive ) ON CONFLICT IGNORE)
- SQL: CREATE TABLE action ( filename, command, logfile, UNIQUE ( filename, command ) ON CONFLICT IGNORE)
- SQL: CREATE TABLE x509_cert ( peername, certdata, UNIQUE ( peername ) ON CONFLICT IGNORE)
- Running recursive check for / ...
- SQL: SELECT filename from file where filename = '/' OR 1=1 ORDER BY filename
- SQL Query finished.
- Checking /* ..
- Don't check at all: /var
- Don't check at all: /usr
- Don't check at all: /tmp
- Don't check at all: /sys
- Don't check at all: /srv
- Don't check at all: /sbin
- Don't check at all: /run
- Don't check at all: /root
- Don't check at all: /proc
- Checking /opt/* ..
- Don't check at all: /opt/wrapper-linux-x86-64-3.5.27
- Don't check at all: /opt/wrapper
- Don't check at all: /opt/tomcat
- Match (+): /opt/testdir on /opt/testdir
- Checking /opt/testdir.
- SQL: SELECT checktxt FROM file WHERE filename = '/opt/testdir'
- New file: /opt/testdir
- SQL Query finished.
- SQL: DELETE FROM file WHERE filename = '/opt/testdir'
- SQL: INSERT INTO file (filename, checktxt) VALUES ('/opt/testdir', 'v1%3Amode=16877%3Auid=0%3Agid=0%3Atype=dir')
- Match (+): /opt/testdir on /opt/testdir
- Match (+): /opt/testdir on /opt/testdir
- Marking file as dirty: /opt/testdir
- SQL: DELETE FROM dirty WHERE filename = '/opt/testdir' AND peername = 'vcpidp2.test.com'
- SQL: INSERT INTO dirty (filename, forced, myname, peername) VALUES ('/opt/testdir', 0, 'vcpidp1.test.com', 'vcpidp2.test.com')
- Checking /opt/testdir/* ..
- Match (+): /opt/testdir on /opt/testdir/test.file
- Checking /opt/testdir/test.file.
- SQL: SELECT checktxt FROM file WHERE filename = '/opt/testdir/test.file'
- New file: /opt/testdir/test.file
- SQL Query finished.
- SQL: DELETE FROM file WHERE filename = '/opt/testdir/test.file'
- SQL: INSERT INTO file (filename, checktxt) VALUES ('/opt/testdir/test.file', 'v1%3Amtime=1461972615%3Amode=33188%3Auid=0%3Agid=0%3Atype=reg%3Asize=4')
- Match (+): /opt/testdir on /opt/testdir/test.file
- Match (+): /opt/testdir on /opt/testdir/test.file
- Marking file as dirty: /opt/testdir/test.file
- SQL: DELETE FROM dirty WHERE filename = '/opt/testdir/test.file' AND peername = 'vcpidp2.test.com'
- SQL: INSERT INTO dirty (filename, forced, myname, peername) VALUES ('/opt/testdir/test.file', 0, 'vcpidp1.test.com', 'vcpidp2.test.com')
- Don't check at all: /opt/opendj
- Don't check at all: /opt/jython-2.7.0
- Don't check at all: /opt/jython
- Don't check at all: /opt/idp
- Don't check at all: /opt/someapp-server24
- Don't check at all: /opt/someapp
- Don't check at all: /opt/dist
- Don't check at all: /opt/apache-tomcat-7.0.55
- Don't check at all: /mnt
- Don't check at all: /media
- Don't check at all: /lib64
- Don't check at all: /lib
- Don't check at all: /install
- Don't check at all: /home
- Don't check at all: /etc
- Don't check at all: /dev
- Don't check at all: /boot
- Don't check at all: /bin
- Match (-): .* on /.autorelabel
- Don't check at all: /.autorelabel
- SQL: SELECT peername FROM dirty GROUP BY peername
- SQL Query finished.
- SQL: SELECT filename, myname, forced FROM dirty WHERE peername = 'vcpidp2.test.com' ORDER by filename ASC
- SQL Query finished.
- Connecting to host vcpidp2.test.com (PLAIN) ...
- Bound to 137.146.24.140:0 as vcpidp1.test.com.
- Connect to 137.146.24.141:30865 (vcpidp2.test.com).
- Local> CONFIG \n
- Peer> OK (cmd_finished).\n
- response from peer(<no file>): vcpidp2.test.com [1] <- OK (cmd_finished).
- check: /opt/testdir/test.file 13, (null) 0, 0.
- check: /opt/testdir 5, /opt/testdir/ 13, 5.
- Dirty item /opt/testdir vcpidp1.test.com 0
- Local> HELLO vcpidp1.test.com\n
- Peer> OK (cmd_finished).\n
- While syncing file /opt/testdir:
- response from peer(/opt/testdir): vcpidp2.test.com [1] <- OK (cmd_finished).
- Match (+): /opt/testdir on /opt/testdir
- Updating /opt/testdir on vcpidp2.test.com ...
- Local> SIG hqq8DD.EsWZAzO..Dcke.2mLHGCCjH9bcMQHrwOz93ML3jq466Z7GHOAizMvEuV9 /opt/testdir\n
- Peer> OK (data_follows).\n
- While syncing file /opt/testdir:
- response from peer(/opt/testdir): vcpidp2.test.com [2] <- OK (data_follows).
- Peer> v1:mode=16877:uid=0:gid=0:type=dir\n
- Csync2 / Librsync: csync_rs_check('/opt/testdir', 0 [non-regular file])
- Reading signature size from peer....
- Peer> octet-stream 0\n
- Receiving 0 bytes ..
- File has been checked successfully (files are equal).
- Peer> OK (cmd_finished).\n
- While syncing file /opt/testdir:
- response from peer(/opt/testdir): vcpidp2.test.com [1] <- OK (cmd_finished).
- File is already up to date on peer.
- Local> SETIME hqq8DD.EsWZAzO..Dcke.2mLHGCCjH9bcMQHrwOz93ML3jq466Z7GHOAizMvEuV9 /opt/testdir 1461972615\n
- Peer> OK (cmd_finished).\n
- While syncing file /opt/testdir:
- response from peer(/opt/testdir): vcpidp2.test.com [1] <- OK (cmd_finished).
- SQL: DELETE FROM dirty WHERE filename = '/opt/testdir' AND peername = 'vcpidp2.test.com'
- Match (+): /opt/testdir on /opt/testdir/test.file
- Updating /opt/testdir/test.file on vcpidp2.test.com ...
- Local> SIG hqq8DD.EsWZAzO..Dcke.2mLHGCCjH9bcMQHrwOz93ML3jq466Z7GHOAizMvEuV9 /opt/testdir/test.file\n
- Peer> OK (data_follows).\n
- While syncing file /opt/testdir/test.file:
- response from peer(/opt/testdir/test.file): vcpidp2.test.com [2] <- OK (data_follows).
- Peer> v1:mtime=0:mode=33188:uid=0:gid=0:type=reg:size=4\n
- Csync2 / Librsync: csync_rs_check('/opt/testdir/test.file', 1 [regular file])
- Reading signature size from peer....
- Peer> octet-stream 32\n
- Receiving 32 bytes ..
- Opening basis_file and sig_file for /opt/testdir/test.file
- Running rs_sig_file() from librsync....
- 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
- Found diff in sig at -32:-0
- Got 32 bytes, 0 bytes left ..
- File has been checked successfully (difference found).
- File is different on peer (rsync sig).
- Peer> OK (cmd_finished).\n
- While syncing file /opt/testdir/test.file:
- response from peer(/opt/testdir/test.file): vcpidp2.test.com [1] <- OK (cmd_finished).
- Local> PATCH hqq8DD.EsWZAzO..Dcke.2mLHGCCjH9bcMQHrwOz93ML3jq466Z7GHOAizMvEuV9 /opt/testdir/test.file\n
- Peer> File is also marked dirty here!\n
- While syncing file /opt/testdir/test.file:
- response from peer(/opt/testdir/test.file): vcpidp2.test.com [10] <- File is also marked dirty here!
- Match (+): /opt/testdir on /opt/testdir/test.file
- Match (+): /opt/testdir on /opt/testdir/test.file
- Local> GETTM hqq8DD.EsWZAzO..Dcke.2mLHGCCjH9bcMQHrwOz93ML3jq466Z7GHOAizMvEuV9 /opt/testdir/test.file\n
- Peer> OK (data_follows).\n
- While syncing file /opt/testdir/test.file:
- response from peer(/opt/testdir/test.file): vcpidp2.test.com [2] <- OK (data_follows).
- Peer> 1461972573\n
- Auto-resolving conflict: Won 'younger/older' test.
- Updating /opt/testdir/test.file on vcpidp2.test.com ...
- Local> FLUSH hqq8DD.EsWZAzO..Dcke.2mLHGCCjH9bcMQHrwOz93ML3jq466Z7GHOAizMvEuV9 /opt/testdir/test.file\n
- Peer> OK (cmd_finished).\n
- While syncing file /opt/testdir/test.file:
- response from peer(/opt/testdir/test.file): vcpidp2.test.com [1] <- OK (cmd_finished).
- Local> PATCH hqq8DD.EsWZAzO..Dcke.2mLHGCCjH9bcMQHrwOz93ML3jq466Z7GHOAizMvEuV9 /opt/testdir/test.file\n
- Peer> Stating original file /opt rc: 0 mode: 40755Changing owner of /var/backups/csync2/opt to user 0 and group 0, rc= 0 \n
- While syncing file /opt/testdir/test.file:
- 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
- ERROR: Auto-resolving failed. Giving up.
- File stays in dirty state. Try again later...
- Local> BYE\n
- Peer> Changing mode of /var/backups/csync2/opt to mode 16877, rc= 0 \n
- response from peer(<no file>): vcpidp2.test.com [8] <- Changing mode of /var/backups/csync2/opt to mode 16877, rc= 0
- SQL: SELECT command, logfile FROM action GROUP BY command, logfile
- SQL Query finished.
- Connection closed.
- Finished with 3 errors.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement