Questions tagged [synchronization]
489 questions
4
votes
2 answers
TCP connection stuck in SYN_RECV state despite ACK received, Linux 2.6.18, embedded, ARM
My client cannot connect to my protocol port (TCP) after some network glitches, even though all other protocols (telnet/HTTP/FTP) work fine.
netstat shows that my server is listening and tcpdump on the server shows all 3 packets are…

waynix
- 41
- 1
- 1
- 2
4
votes
2 answers
Easiest way to sync two folders
What's the easiest way to sync the contents of a folder on a Mac OSX machine with another folder on a Linux server?
You can use scp:
scp -r /path/to/folder/ username@IP_ADDRESS:/path/to/sync/with
But scp is slow and copies all files, regardless of…

summatix
- 225
- 1
- 3
- 6
4
votes
6 answers
How to keep load-balanced servers synced even with deleted files?
I've recently setup a loadbalanced solution for our websites. We host about 200 sites, most run of our custom application, but some are running wordpress blogs (in which files can be uploaded/deleted). The setup is basic:
…

Derek Downey
- 3,955
- 4
- 27
- 29
4
votes
3 answers
A simple way to keep two drives in sync using rsync?
I have an external USB drive, which I plug into a Linux NAS. I want to keep specific folders synchronised, so changes to files in FolderA on the NAS are applied to FolderA on the USB drive, and vice-versa.
Would an appropriate solution be to run an…
user10097
4
votes
1 answer
How to synchronize Windows 2003 updates from Production > Test server?
We are using a Virtual Private Server to host our production Windows Server 2003 R2 web server. The hosting provider automatically installs the Windows patches (updates) on their own schedule.
We also have a test server on a virtual machine. Thus…

NightOwl888
- 281
- 3
- 13
4
votes
2 answers
S3 upload delayed
I have 2 servers using the same data located in AWS S3 storage. One is processing HTTP traffic, the other does longer lived jobs. How it works is that HTTP one saves data to S3, dispatches event to backend, and the data is processed.
However, it…

skrat
- 505
- 1
- 7
- 14
4
votes
7 answers
Network File Synchronization Tools
We need to keep a set of files on multiple servers synchronized. This seems like a simple problem, but I'm not a full-time system administrator, and while I've found a simple solution, it's not very robust.
We have an application that we serve to…

Bernard Dy
- 262
- 5
- 11
4
votes
1 answer
Rsync: dealing with absolute symlinks
Having read through the rsync manpage, I can't see any way for rsync to automagically transform absolute symlinks between machines, i.e
Server A
file -> /home/username/path/file
Server B
file -> /home/differentusername/path/file
Any ideas (bearing…

Andrew Bolster
- 326
- 2
- 11
4
votes
3 answers
Please help to find a solution for two way, real-time synchronization on Centos 5.5 64Bit
I am in need of a real time, two way synchronization software for Centos 5.5 / 64Bit.
Here's little explanation:
It needs to be able to perform:
Two way synchronization.
It must be realtime. By realtime means it can be almost realtime, i.e. a delay…

Vipul Limbachiya
- 81
- 1
- 3
4
votes
3 answers
Synchronize Active Directory to Database
We are in a situation where we would like to offer our customers to be able to manage their users themselves. It is around 300 customers with up to a total of 10.000 users.
Besides creating, updating and removing users, they will very often read…

Tommy Jakobsen
- 259
- 5
- 10
4
votes
2 answers
Upload a file using scp only if the file was updated/modified?
pscp is a very handful tool if you want to upload files to another server using SSH.
The only problem is that it is not able to detect if the destination file is already updated (based on datetime). I don't want to upload the file again if the file…

sorin
- 8,016
- 24
- 79
- 103
4
votes
2 answers
Keep AD Group Synced in OpenLDAP with POSIX Account Augmentation
What's the most obvious way of achieving the following: The site has an working AD infrastructure and certain parts of the infrastructure are tightly coupled GNU/Linux machines where people from the AD OU ou=linux-users,dc=example,dc=com should be…

pfo
- 5,700
- 24
- 36
3
votes
1 answer
How to configure Linux to ignore `sync`?
I'm re-building a server that needs to do awfully lot of I/O to complete the task. Is there a way to tell Linux to temporarily ignore all sync(), syncfs() and fdatasync() from any processes? I think the rebuilding would complete faster if I never…

Mikko Rantalainen
- 1,030
- 14
- 30
3
votes
2 answers
chrony does not log anything on my ec2 instance
i am trying to gather statistics from the chrony daemon on my EC 2 (Ubuntu 18.04.2 LTS) instance.
i have followed aws's guide on how to set it up and it runs as expected.
i need to compare the time sync difference between aws and another service…

Eitan Kats
- 133
- 1
- 5
3
votes
0 answers
Unison sync of sshfs mount - what can go wrong if the connection breaks?
I am syncing a local directory (say "/local") with a cloud storage server using Unison. The cloud storage is mounted to, say, "/mnt" via sshfs (with no-cache option), and I sync the two directories /local and /mnt with Unison locally.
[I don't have…

André
- 131
- 2