NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

gk2's avatar
gk2
Aspirant
Mar 23, 2021
Solved

RSYNC ERROR 4

Héllo,

 

ReadyNas 104 in version 6.10.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...

 

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)

Any one could help on fix this ?

  • gk2's avatar
    gk2
    Apr 01, 2021

    The DNS name is a local resolution (I am using OpenWrt router)...

     

    The error looks to be only shown when trying the job from GUI ReadNas, but the job also look to complete...

     

    on the ReadyNas :

    $ ps aux
    root 19061 27.8 0.9 17196 5012 ? RN 13:06 0:42 rsync -vP -8 --timeout=1800 --recursive --links --times --omit-dir-times --devices --specials --ignore-times --one-file-system --owner --group --no-acls --no-perms --port=873 /tmp/19024/EBOOKS user2@10.4.2.102::share2/EBOOKS/

    on the OpenWrt NAS client :

    $ tail /var/log/rsyncd.log
    2021/04/01 13:06:23 [23456] connect from GDISK.lpm.nddc.gk2.net (10.4.2.25)
    2021/04/01 13:06:23 [23456] rsync allowed access on module share2 from GDISK.lpm.nddc.gk2.net (10.4.2.25)
    2021/04/01 11:06:23 [23456] rsync to share2/EBOOKS/ from user2@GDISK.lpm.nddc.gk2.net (10.4.2.25)
    2021/04/01 11:06:23 [23456] rsync: ACLs are not supported on this server
    2021/04/01 11:06:23 [23456] rsync error: requested action not supported (code 4) at clientserver.c(1098) [Receiver=3.2.3]
    2021/04/01 13:06:24 [23457] connect from GDISK.lpm.nddc.gk2.net (10.4.2.25)
    2021/04/01 13:06:24 [23457] rsync allowed access on module share2 from GDISK.lpm.nddc.gk2.net (10.4.2.25)
    2021/04/01 11:06:24 [23457] rsync to share2/EBOOKS/ from user2@GDISK.lpm.nddc.gk2.net (10.4.2.25)
    2021/04/01 11:06:24 [23457] receiving file list
    2021/04/01 11:38:42 [23457] sent 19978620 bytes received 12183841 bytes total size 26229514080
    
    
    $ top
    23458 23457 nobody R 13716 3% 42% /usr/bin/rsync --daemon --no-detach
    23457 2053 nobody R 6116 1% 40% /usr/bin/rsync --daemon --no-detach

    For reference :

    https://forum.openwrt.org/t/solved-rsyncd-error-4/92026

     

    Thanks all for your advices and help !

     

     

     

10 Replies

Replies have been turned off for this discussion
  • PatrycjaG's avatar
    PatrycjaG
    NETGEAR Moderator

    Bonjour gk2,

     

    Bienvenue sur le forum Netgear :)

     

    Pourriez-vous reformuler votre question en français afin que les autres utilisateurs puissent y avoir accès ?

     

    Vous pouvez également directement poser votre question sur la partie anglaise de la Communauté.

     

    Bonne journée,

    Patrycja

    Equipe Netgear

  • StephenB's avatar
    StephenB
    Guru - Experienced User

    gk2 wrote:

     

    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/


    With the default task, this error appear :

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

    Any one could help on fix this ?


    Are you logging in as root on the NAS?  If not, try that first.

     

    Also, by default the NAS will try to use rsync over ssh.  So also try adding -rsh=rsh to your command line, and see if that helps.

    • gk2's avatar
      gk2
      Aspirant

      the SMB, and RSYNC-SSH works fine.

      only the pure RSYNC gie me this error...

      • StephenB's avatar
        StephenB
        Guru - Experienced User

        gk2 wrote:

        the SMB, and RSYNC-SSH works fine.

        only the pure RSYNC gie me this error...


        Did you try adding -rsh=rsh to the command line?  If you did, then what happened?

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More