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
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!
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
-
al562
- Advanced User

- Posts: 210
- Joined: 12 Dec 2012 08:02
- Location: New Jersey, U.S.A.
- Contact:
- Status: Offline
Re: Rsync auth failed message
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:
.
What server are these errors from?
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
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.
OK, so everything is setup properly on the NAS4Free server and the shell/CLI command from your MAC client works fine.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,
You have a GUI rsync client on your Mac? What GUI client? I'm not sure I understand.marcusman wrote:however if I use the GUI client I get this error message
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]
You haven't setup authentication properly, if you had Ubuntu would not claim a password mismatch, this is pretty clear.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
Don't you mean password-less or key authentication? If not, please explain what "keyless entry" means.marcusman wrote:I've setup keyless entry into my Ubuntu server from NAS4free
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

- Posts: 5
- Joined: 20 Nov 2012 19:01
- Status: Offline
Re: Rsync auth failed message
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
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