[SOLVED] Rsyncd error 4

I get rsync error: requested action not supported (code 4) at clientserver.c(1098) when I try to rsync from a netgear to an openwrt based NAS.
If I ssh on the netgear and try to rsync the "same" command line I find in the ps aux |grep rsync of the task running, I get no error ! and the rsync is running...

Make sure to install on both client and server:

See also:

 4     Requested action not supported: an attempt was made to manipulate 64-bit
       files on a platform that cannot support them; or an option was specified
       that is supported by the client and not by the server.

NETGEAR : (client)

admin@GDISK:~$ rsync --version
rsync  version 3.1.3  protocol version 31
Copyright (C) 1996-2018 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
    append, ACLs, xattrs, iconv, symtimes, prealloc

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.

OpenWrt : SnapShot : (server)

root@LS421DE:~# rsync --version
rsync  version 3.2.3  protocol version 31
Copyright (C) 1996-2020 by Andrew Tridgell, Wayne Davison, and others.
Web site: https://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
    no socketpairs, hardlinks, no hardlink-specials, symlinks, IPv6, atimes,
    batchfiles, inplace, append, no ACLs, no xattrs, optional protect-args,
    no iconv, symtimes, prealloc, stop-at, no crtimes
Optimizations:
    no SIMD, no asm, no openssl-crypto
Checksum list:
    md5 md4 none
Compress list:
    zlibx zlib none

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.

working command:

admin@GDISK:~$ rsync -vP -8 --timeout=1800 --recursive --links --times --omit-dir-times --devices --specials --modify-window=1 --one-file-system --owner --group --no-acls --no-perms --port=873 /GDATA01/DOCUMENTS/RECUP/FILMS user2@ls421de.lpm.nddc.gk2.net::share2/

the same command appear on the ps aux, so I do not understand where is the problem...
With the default task, this error appear :

rsync error: requested action not supported (code 4) at clientserver.c(1098)
1 Like

I recommend to troubleshoot using the following syntax:

rsync -n -v -r /src/dir/ user@host:/dest/dir/
  • Start with minimum required options.
  • Specify absolute paths and finishing slashes.
  • Use SSH for transport.

When it reports no error, you can add other options one by one.

it is an error only with the GUI of ReadyNas (NetGear) but the job complete correctly...

For reference : https://community.netgear.com/t5/Using-your-ReadyNAS-in-Business/RSYNC-ERROR-4/m-p/2074493/highlight/true#M191267

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.