dPaste

$ rsync -av  myfile@IP::reader --port=25000
@ERROR: failed to open lock file
rsync error: error starting client-server protocol (code 5) at main.c(1648) [Receiver=3.1.2]
$


config file


pid file = /home/myfile/rsyncd.lock
uid = myfile
gid = *
motd = Rsync data server answering
port = 25000

[reader]
        path = /home/myfile/data
        log file = /home/myfile/read_rsync_log
        read only = true
        max connections = 50
        use chroot = false