[SOLVED] pmgcm sync gives no such file or directory error

ArchanfelHUN

Member
Apr 27, 2020
15
0
6
44
Hi!

I have a 2 node cluster (1 master+1 slave).
The two node was working perfectly until a few weeks ago when its stopped after a dist-upgrade.

pmgcm status:
NAME(CID)--------------IPADDRESS----ROLE-STATE---------UPTIME---LOAD----MEM---DISK
pmgref01(2) 10.174.0.5 node S 00:12 0.09 37% 17%
pmg01(1) 10.174.0.6 master A 00:12 0.03 34% 15%

pmgtunnel is tunning, pmgmirror is running, both nodes are active and the status is syncing. The two node can connect to each other via ssh.
I can do manual rsync without any issues.

But pmgcm sync gives this:
syncing master configuration from '10.174.0.6'
rsync: [sender] change_dir "/etc/pmg/* /etc/mail/spamassassin/custom.cf /etc/mail/spamassassin" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1865) [Receiver=3.2.7]
syncing master configuration from '10.174.0.6' failed: rsync: [Receiver] write error: Broken pipe (32)

I can see in the master log the ssh connection succeeded and rsync starts to sync, but disconnected afterwards with broken pipe.
I already removed and recreated the cluster, nothing help.

I have rsync version 3.2.7 protocol version 31 on both servers and have around 60Gig free space.

Any ideas whats wrong with this?
I did not change anything in the configuration except when i did the apt-get update && apt-get dist-upgrade

Regards, Peter
 
Last edited:
I figured out! Somehow the rsync upgraded to a backports version and it seems this broken.
Downgrade back to the standard version and the problem is gone.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!