sysvol script problem
Published: March 21, 2018 - 4:37 PM
Good morning,
I used the tis-sysvol script for DC replication but it doesn't work.
I downloaded the deb from git, then I ran create.sh to create the deb files, and then I installed the deb files on dc1 using apt-get
I followed the same procedure on DC2
On DC1 I ran tis-sysvol configure, it asked me for the root password of DC2, then after three password entries it displayed this
Then I launched the same script from DC2 and repeated the same steps
Initially the two servers were not in time synchronous, this has been resolved but synchronization does not occur at all.
What procedure should be followed to delete and redo without reinstalling everything?
Thank you in advance, sincerely
Eric
Initially I wasn't in sync with the time, but now it's done
I used the tis-sysvol script for DC replication but it doesn't work.
I downloaded the deb from git, then I ran create.sh to create the deb files, and then I installed the deb files on dc1 using apt-get
I followed the same procedure on DC2
On DC1 I ran tis-sysvol configure, it asked me for the root password of DC2, then after three password entries it displayed this
Code: Select all
root@bdc2.domain.eu's password:
root@bdc2.domain.eu's password:
root@bdc2.domain.eu's password:
Traceback (most recent call last):
File "/opt/tis-sysvolsync/sysvolsync.py", line 409, in <module>
main()
File "/opt/tis-sysvolsync/sysvolsync.py", line 399, in main
syncthing.add_mutual_sysvol_sync(local_dc,remote_dc)
File "/opt/tis-sysvolsync/sysvolsync.py", line 273, in add_mutual_sysvol_sync
remote_hostname,self.id,local_hostname,local_hostname,self.dataport),shell=True)
File "/usr/lib/python2.7/subprocess.py", line 219, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command 'ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no bdc2.domain.eu python /opt/tis-sysvolsync/sysvolsync.py -ldebug -f /var/log/sysvolbind.log add-remote TA5PIMK-CZDJYBK-DNH4ATK-SUERFNJ-HUWNSKL-K3FOQ5K-K6NBJPX-DOTVKQY bdc1.domain.eu tcp://bdc1.domain.eu:22001' returned non-zero exit status 255Then I launched the same script from DC2 and repeated the same steps
Initially the two servers were not in time synchronous, this has been resolved but synchronization does not occur at all.
What procedure should be followed to delete and redo without reinstalling everything?
Thank you in advance, sincerely
Eric
Initially I wasn't in sync with the time, but now it's done