So following on from the thread opened by Gary:
https://forums.koozali.org/index.php/topic,54879.0.html
A recent update to rsync that fixed a number of security holes in it broke Affa backup.
For anyone in ~Aug 2024, with SMEServer 10, who accidentally ran "yum update" ...
I test this by having two terminals open - one ssh'd to the affa server, the other ssh'd to the production server.
On the production server;
watch -n1 "ps aux|grep rsync"
On the affa server;
affa --run my_server_job
If the rsync appears on the production server, affa at least started. If it goes away in about 4 seconds, something crashed it, check your logs to see more info
To see if its the bad rsync version that is tripping up affa ...
First, confirm you have the bad rsync version;
rpm -qa|grep rsync
rsync-3.1.2-12.el7.x86_64
We are looking at the number after "3.1.2-"
"
12" is bad. "
11" is bad. "10" is good.
If you have 12 ...
yum downgrade rsync
This gets you back to 11 ( rsync-3.1.2-11.el7_9.x86_64 )
Then downgrade again;
yum downgrade rsync
This should get you back to v10; confirm this;
rpm -qa|grep rsync
rsync-3.1.2-10.el7.x86_64
Now you should be good to go.
Now ... to stop it happening again;
yum install yum-plugin-versionlock
yum versionlock rsync-*
# check this at any time ...
yum versionlock status
# or
cat /etc/yum/pluginconf.d/versionlock.list
"yum update" will also warn you each time you run it that versionlock is holding a/some packages, and also remind you of the command to see those packages. Very handy!
D