Lsyncd (Live Sync Daemon) for real-time synchronization of multiple servers

Asked 2 years ago, Updated 2 years ago, 173 views

http://liginc.co.jp/programmer/archives/4272
I am referring to the above site, but the last one is

/etc/init.d/rsync start

is not working.
It doesn't work, or it doesn't exist here.
rsync is
/etc/xinetd.d/rsync

as it exists in /etc/xinetd.d/rsync start
I tried, but I got the following error.

rsync —Unrecognized service.
/etc/xinetd.d/rsync:line6:disable:command not found
/etc/xinetd.d/rsync:line7:flags:command not found
/etc/xinetd.d/rsync:line8:socket_type:command not found
/etc/xinetd.d/rsync:line9:wait:=':not apid or valid job spec
/etc/xinetd.d/rsync:line9:wait:
no':not apid or valid job spec
/etc/xinetd.d/rsync:line10:user:command not found
/etc/xinetd.d/rsync:line11:server:command not found
/etc/xinetd.d/rsync:line12:server_args:command not found
/etc/xinetd.d/rsync:line13:log_on_failure:command not found

Please let me know if you know more.Thank you for your cooperation.

linux rsync lsyncd

2022-09-30 19:53

1 Answers

The rsync service (port TCP 873) starts via xinetd, so you should have started xinetd at "service xinetd start" (or "/etc/init.d/xinetd start").
Make sure that the xinetd process is up and that "ss-tln" (or "netstat-tln") has:873 LISTEN.

Isn't it /etc/init.d/lsyncd that starts at the end of the URL instead of /etc/init.d/rsync?


2022-09-30 19:53

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.