This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Rsync auth failed message

Synchronize files & directories to/from XigmaNAS with minimal data transfer.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
marcusman
NewUser
NewUser
Posts: 5
Joined: 20 Nov 2012 19:01
Status: Offline

Rsync auth failed message

Post by marcusman »

Folks I'm having a strange issue that I'm looking for help with. I'm trying to rsync files from a ubuntu server to NAS4free using the Service|Rsync|Client.
When I use this command ssh'd into NAS4free from my mac ( rsync -avr mallen@xxx.xxx.x::ubuntu ~/test ) all my files are copied correctly, however if I use the GUI client I get this error message

2013/01/21 19:17:32 [36474] Welcome to my Ubuntu server please enjoy
2013/01/21 19:17:32 [36474]
2013/01/21 19:17:32 [36474] @ERROR: auth failed on module ubuntu
2013/01/21 19:17:32 [36474] rsync error: error starting client-server protocol (code 5) at main.c(1536) [Receiver=3.0.9]

Any idea what is going wrong? The message in my Ubuntu server logs is this:
2013/01/21 19:36:37 [1851] connect from nas4free.local (192.xxx.x.xx)
2013/01/21 19:36:37 [1851] auth failed on module ubuntu from nas4free.local (xxx.xxx.x.xx): password mismatch

I've setup keyless entry into my Ubuntu server from NAS4free
Here's my Ubuntu rysnc file:

motd file = /etc/rsyncd.motd
log file = /var/log/rsyncd.log

[ubuntu]
path = /home/me
comment = This is the path to folder on the server
uid = me
gid = me
read only = false
auth users = me
secrets file = /etc/rsyncd.scrt
---------------------------------------------------------------
secrets file content = me:xxxxx

And finally settings from NAS4free
Remote module (source) Remote address Local share (destination) Who Description
ubuntu ubuntu.local /mnt/pool1/media/ me

al562
Advanced User
Advanced User
Posts: 210
Joined: 12 Dec 2012 08:02
Location: New Jersey, U.S.A.
Contact:
Status: Offline

Re: Rsync auth failed message

Post by al562 »

Hi Marcusman,

Welcome to the NAS4Free forum. Below is information you may find helpful.

Please read and follow the Forum Rules & Guidelines and the FAQs.
By doing so you will:
  • Understand what information you should provide when you ask a question or report a problem/bug. By providing all information upfront you will get faster and better answers; that's what you want right?
  • Find the answer to your problem in the FAQs or use the Advanced search to search the forum.
  • Help us understand your problem and allow us to provide an accurate answer/solution without asking additional questions.
  • Help the community by keeping the forum clean, focused and professional.
  • Remember to use WebGUI Tab> Help|Report Generator when creating new topics/threads.
  • If you have not, then please read the latest Setup & User Guide.
By the way, it doesn't help when you don't post the actual information. The problem could be as simple as an illegal character in your user name or password, but we can't see that from the information you've provided. If you are uncomfortable providing the real information then change it to something else and set it back once the problem is solved, this too is part of the troubleshooting process since if it suddenly starts to work when you change something it will give you a clue as to what's wrong :idea: .
marcusman wrote:When I use this command ssh'd into NAS4free from my mac ( rsync -avr mallen@xxx.xxx.x::ubuntu ~/test ) all my files are copied correctly,
OK, so everything is setup properly on the NAS4Free server and the shell/CLI command from your MAC client works fine.
marcusman wrote:however if I use the GUI client I get this error message
You have a GUI rsync client on your Mac? What GUI client? I'm not sure I understand.

What server are these errors from?
marcusman wrote:2013/01/21 19:17:32 [36474] Welcome to my Ubuntu server please enjoy
2013/01/21 19:17:32 [36474]
2013/01/21 19:17:32 [36474] @ERROR: auth failed on module ubuntu
2013/01/21 19:17:32 [36474] rsync error: error starting client-server protocol (code 5) at main.c(1536) [Receiver=3.0.9]
marcusman wrote: Any idea what is going wrong? The message in my Ubuntu server logs is this:
2013/01/21 19:36:37 [1851] connect from nas4free.local (192.xxx.x.xx)
2013/01/21 19:36:37 [1851] auth failed on module ubuntu from nas4free.local (xxx.xxx.x.xx): password mismatch
You haven't setup authentication properly, if you had Ubuntu would not claim a password mismatch, this is pretty clear.
marcusman wrote:I've setup keyless entry into my Ubuntu server from NAS4free
Don't you mean password-less or key authentication? If not, please explain what "keyless entry" means.
I see no mention of key files or their locations, it looks to me like you are setting up automatic password login. If that's the case then it seems from the error that the password given by NAS4Free is being rejected by Ubuntu. Check your settings and configuration and try again. Please post here again if you have further information or questions on this issue.

Regards,
Al

marcusman
NewUser
NewUser
Posts: 5
Joined: 20 Nov 2012 19:01
Status: Offline

Re: Rsync auth failed message

Post by marcusman »

Yes I meant password-less or key authentication. I'm new to all of this and new to posting on boards. Forgive me.
Anyway I'm still looking into this. Something strange is going on for sure. I agree with your statement "You haven't setup authentication properly, if you had Ubuntu would not claim a password mismatch, this is pretty clear." Yes this is 100% true. Somehow my password-less access isn't working anymore :-( I can get Rsync to work via Nas4free's GUI just fine as long as I don't have a password setup on ubuntu. I'm still working on this and will post again later

Post Reply

Return to “RSYNC”