lsyncd Terminating since "insist" is not set

85 views
Skip to first unread message

Bravad Sem

unread,
Mar 25, 2021, 9:06:22 AM3/25/21
to lsyncd
Hello,

I installed Lsyncd version 2.2.2 to do the syncronization between two Centos 7 servers. When I start it everything works fine and the files synchronize as desired. But after three minutes he stops. The connection is made with an ssh key. Here is what I have in the Logs:

`Wed Mar 24 23:41:46 2021 Normal: --- Startup ---
Wed Mar 24 23:43:14 2021 Normal: recursive startup rsync: /home/ -> ro...@10.1.0.1:/home/
Wed Mar 24 23:43:14 2021 Normal: recursive startup rsync: /var/cpanel/datastore/ -> 10.1.0.1:/var/cpanel/datastore/
Wed Mar 24 23:43:14 2021 Normal: recursive startup rsync: /var/cpanel/databases/ -> 10.1.0.1:/var/cpanel/databases/
Wed Mar 24 23:43:15 2021 Normal: Startup of /var/cpanel/datastore/ -> 10.1.0.1:/var/cpanel/datastore/ finished.
Wed Mar 24 23:43:15 2021 Normal: Startup of /var/cpanel/databases/ -> 10.1.0.1:/var/cpanel/databases/ finished.
Wed Mar 24 23:44:24 2021 Error: Temporary or permanent failure on startup of /home/ -> ro...@10.1.0.1:/home/. Terminating since "insist" is not set.
`

thank you very much

Bravad Sem

unread,
Mar 25, 2021, 9:31:17 AM3/25/21
to lsyncd

Here is my configuration file:

settings{
        logfile = "/var/log/lsyncd/lsyncd.log",
        statusFile = "/var/log/lsyncd/lsyncd.stat",
        statusInterval = 2,
}
-- Home
sync{
        default.rsync,
        source="/home",
        target="ro...@10.1.0.1:/home",
        delay = 1,
        rsync={
                compress = true,
                verbose = true,
                update = true,
                perms = true,
                owner = true,
                group = true,
                rsh ="/usr/bin/ssh -p 42 -l root -i /root/.ssh/id_rsa",
        }
}

sync{
        default.rsync,
        source="/var/cpanel/datastore",
        target="10.1.0.1:/var/cpanel/datastore",
        delay = 1,
        rsync={
                compress = true,
                verbose = true,
                update = true,
                perms = true,
                owner = true,
                group = true,
                rsh ="/usr/bin/ssh -p 42 -l root -i /root/.ssh/id_rsa",
        }
}

sync{
        default.rsync,
        source="/var/cpanel/databases",
        target="10.1.0.1:/var/cpanel/databases",
        delay = 1,
        rsync={
                compress = true,
                verbose = true,
                update = true,
                perms = true,
                owner = true,
                group = true,
                rsh ="/usr/bin/ssh -p 42 -l root -i /root/.ssh/id_rsa",
        }
}
Reply all
Reply to author
Forward
0 new messages