[rsyncd] error starting client-server protocol

  • Ich möchte von meinem PC (Kubuntu 13.10) auf ein QNap TS-239 Pro II per rsync backupen.


    Das NAS bringt ein eigenen rsyncd mit, der sich nur minimal in der Version unterscheidet.


    Wie im Ubuntu-Wiki beschrieben teste ich den ''rsyncd'' auf diese Weise von meinem PC aus, wobei auch gleich die Fehlermeldung ersichtlich wird.

    Code
    user@pc-kubuntu:~$ rsync sparky::Password: @ERROR: auth failed on module /rsync error: error starting client-server protocol (code 5) at main.c(1534) [Receiver=3.0.9]


    Ich bin nicht sicher, aber scheint er ein Problem mit dem Versionsunterschied zu haben? Rsync auf dem NAS sieht incl. config so aus.

    Code
    [/etc/config] # rsyncd --versionrsync  version 3.0.7  protocol version 30Copyright (C) 1996-2009 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, no ACLs, xattrs, iconv, symtimesrsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and youare welcome to redistribute it under certain conditions.  See the GNUGeneral Public Licence for details.[/etc/config] # cat rsyncd.confuid = admingid = administratorspid file = /var/run/rsyncd.pidread only = falsehosts allow = *port = 873rsync user = rsyncrsync pswd = SLimitRate = RLimitRate = [Multimedia]path = /share/MD0_DATA/Multimedia[Download]path = /share/MD0_DATA/Download[Recordings]path = /share/MD0_DATA/Recordings[Web]path = /share/MD0_DATA/Web[Usb]path = /share/MD0_DATA/Usb[Public]path = /share/MD0_DATA/Public[Network Recycle Bin 1]path = /share/MD0_DATA/Network Recycle Bin[Backup]path = /share/MD0_DATA/Backup[Pictures]path = /share/MD0_DATA/Pictures[homes]path = /share/MD0_DATA/homes[USBDisk2]path = /share/external/sds1[/etc/config] #


    Auf dem PC

    Code
    sync  version 3.0.9  protocol version 30                                                                                          
    Copyright (C) 1996-2011 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


    Die Protokollversion (30) ist also die gleiche. Ich konnte auch keine Option finden, damit sich der PC-rsync als älter ausgibt. ;)

  • Das Problem scheint darin zu bestehen, dass das Password vom QNAP nicht korrekt gehandelt wird. Gibt mal unter Anwendungen-->Backupserver beim Password des rsync Benutzers nur ein Space/Leerzeichen an und speichere dann. Danach sollte der auth-Fehler nicht mehr auftreten. Es gibt noch eine alternative Möglichkeit über die Option "--password-file=FILE".


    Gruß
    Vertex