Hi, our mirror mozart.ee.ic.ac.uk, 155.198.130.31, 2a0c:5bc0:40:1082:21b:78ff:fe7b:b824/64
has started to give unknown module errors. Has it been removed from the authorised sync list?
Thanks.
msync.CentOS.org rsync service (centosa7) ---------------------------------------
This service is intended for the sole use of the CentOS worldwide mirror network to synchronize mirrors.
Unless you are running or intending to run a listed public CentOS mirror use a mirror listed at http://centos.org/download/mirrors
If you intend to populate a mirror for public use please read the notes at http://wiki.centos.org/HowTos/CreatePublicMirrors
If you do use this service then it is implied that you are providing a mirror for public use and giving us authority to publicise such mirror.
@ERROR: Unknown module 'CentOS' rsync error: error starting client-server protocol (code 5) at main.c(1503) [receiver=3.0.6]
Hi Bryan,
Can you please post the command you are using to mirror from the msync servers?
Based on the error message, it appears as though your server's IP address is not in the ACL. This may be for a number of reasons, however, I cannot comment further as I do not have access to the server rsync logs.
Thanks, Christopher Hawker Phone: +61 434 512 834
-----Original Message----- From: CentOS-mirror [mailto:centos-mirror-bounces@centos.org] On Behalf Of Cochrane, Bryan T Sent: Friday, 22 June 2018 9:16 PM To: centos-mirror@centos.org Subject: [CentOS-mirror] Rsync giving unknown module error
Hi, our mirror mozart.ee.ic.ac.uk, 155.198.130.31, 2a0c:5bc0:40:1082:21b:78ff:fe7b:b824/64
has started to give unknown module errors. Has it been removed from the authorised sync list?
Thanks.
msync.CentOS.org rsync service (centosa7) ---------------------------------------
This service is intended for the sole use of the CentOS worldwide mirror network to synchronize mirrors.
Unless you are running or intending to run a listed public CentOS mirror use a mirror listed at http://centos.org/download/mirrors
If you intend to populate a mirror for public use please read the notes at http://wiki.centos.org/HowTos/CreatePublicMirrors
If you do use this service then it is implied that you are providing a mirror for public use and giving us authority to publicise such mirror.
@ERROR: Unknown module 'CentOS' rsync error: error starting client-server protocol (code 5) at main.c(1503) [receiver=3.0.6]
_______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org https://lists.centos.org/mailman/listinfo/centos-mirror
Do you monitor the mirror transfer? If so, there really is no need to and if not, you can change the command and it's arguments as follows:
rsync -aqzh --delete eu-msync.centos.org::CentOS /bak/centos/CentOS
However, the command you posted does appear to be valid, so it looks like the IP address is not authorised to sync direct from the msync pool.
Anssi: Over to you.
Regards, Christopher Hawker Phone: +61 434 512 834
From: CentOS-mirror [mailto:centos-mirror-bounces@centos.org] On Behalf Of Cochrane, Bryan T Sent: Friday, 22 June 2018 9:46 PM To: centos-mirror@centos.org Subject: Re: [CentOS-mirror] Rsync giving unknown module error
rsync -ah --stats --delete eu-msync.centos.org::CentOS /bak/centos/CentOS
Cochrane, Bryan T kirjoitti 22.6.2018 klo 14.46:
rsync -ah --stats --delete eu-msync.centos.org::CentOS /bak/centos/CentOS
I believe you can sync OK now, but a comment on this command line.
rsync's -h option is "output numbers in a human-readable format". While that may be nice for logging purposes and such, I would recommend adding the -H option as well. -H is "preserve hard links", which is particularly useful at point release times.
For a slightly simplified example, 6.9's rpms take up around 8 GB of disk space. The updated packages in the upcoming 6.10 take up around 1 GB. If your rsync does not use that -H option, you will need to download around 8 GB of 6.10 packages when 6.10 gets released. If you have -H enabled, you will need to download only that 1 GB of fresh 6.10 packages. The remaining unchanged packages (around 7 GB) will be hard linked between 6.9 and 6.10, and transferring this hard link information is very quick.
Each hard linked file needs to be stored on disk only once, saving you some hard disk space.
If you (or any others reading this message) don't have -H in your rsync command line, please add it. The next time you sync your mirror, rsync will remove the duplicate files and create hard links for them.
In certain rare situations the underlying file system does not understand hard links. In this case the -H flag won't help.
Yep it's all working. Thanks for the advice on Hardlinks and IPv4, I've modified our rsync command to use both now.
Regards,
Bryan
On 22/06/18 13:15, Cochrane, Bryan T wrote:
Hi, our mirror mozart.ee.ic.ac.uk, 155.198.130.31, 2a0c:5bc0:40:1082:21b:78ff:fe7b:b824/64
has started to give unknown module errors. Has it been removed from the authorised sync list?
Thanks.
That's because you switched your ipv6 address without telling us :-) https://lists.centos.org/pipermail/centos-mirror/2017-March/010262.html (so yes, 2001:630:12:1082:21b:78ff:fe7b:b824 was indeed allowed, but not your "new" one)
So I have now updated that in the correct DB/table and ACL will be regenerated everywhere automatically in the next minutes.
Also worth noting that you can also (in such ipv6 mismatch) just try to force rsync over ipv4 (-4) and so still be able to sync.
Let us know if that's fixed for you in maximum 15 minutes
Cheers,