You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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/ -> root@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/ -> root@10.1.0.1:/home/. Terminating since "insist" is not set.
Here is my configuration file:
This is generally caused by the SSH key not being accepted on the local host for the remote host. Try establishing an SSH connection from the source to target and accepting the key.
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/ -> root@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/ -> root@10.1.0.1:/home/. Terminating since "insist" is not set.
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="root@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",
}
}`
thank you very much
The text was updated successfully, but these errors were encountered: