rsync: connection unexpectedly closed

 check weather the sync is running on the server


root@server1:~# systemctl status rsync

○ rsync.service - fast remote file copy program daemon

     Loaded: loaded (/usr/lib/systemd/system/rsync.service; enabled; preset: enabled)

     Active: inactive (dead)

was getting error



root@server1:~# systemctl status rsync

○ rsync.service - fast remote file copy program daemon

     Loaded: loaded (/usr/lib/systemd/system/rsync.service; enabled; preset: enabled)

     Active: inactive (dead)

  Condition: start condition unmet at Sat 2024-06-15 04:27:31 CEST; 2min 5s ago

             └─ ConditionPathExists=/etc/rsyncd.conf was not met

       Docs: man:rsync(1)

             man:rsyncd.conf(5)


Jun 14 18:36:28 server1.cloudwebhost.ing systemd[1]: rsync.service - fast remote file copy program daemon was skipped because of an unmet condition check (ConditionPathExists=/etc/rsyncd.conf).

Jun 15 04:26:33 server1.cloudwebhost.ing systemd[1]: rsync.service - fast remote file copy program daemon was skipped because of an unmet condition check (ConditionPathExists=/etc/rsyncd.conf).

Jun 15 04:27:31 server1.cloudwebhost.ing systemd[1]: rsync.service - fast remote file copy program daemon was skipped because of an unmet condition check (ConditionPathExists=/etc/rsyncd.conf).



so I just created the file vi /etc/rsyncd.conf


and restart rsync and it started working

Comments

Popular posts from this blog

how to install internet download manger in linux

cpanel exam CPSP Answers

How to install zimbra collaboration suite 8.8.11 on CentOS 7