Rsync connection problem....

Rsync connection problem....

Postby Ruvalfa » Fri Jul 15, 2022 6:11 pm

Hi !
I try to connect rsync for copy from other nas (Lenovo ix4-300d) to lacie 5 big network2 but tell me:
Se denegó el acceso a 'rsync://rsync@NAS:873/publico'.
every time...
can help me please...

Log :
2022/07/15 11:39:26 [1849] rsyncd version 3.2.4pre2 starting, listening on port 873
2022/07/15 11:54:44 [2395] name lookup failed for 192.168.1.52: Name or service not known
2022/07/15 11:54:44 [2395] connect from UNKNOWN (192.168.1.52)
2022/07/15 11:54:44 [2395] module-list request from UNKNOWN (192.168.1.52)
2022/07/15 11:54:46 [2396] name lookup failed for 192.168.1.52: Name or service not known
2022/07/15 11:54:46 [2396] connect from UNKNOWN (192.168.1.52)
2022/07/15 11:54:46 [2396] rsync allowed access on module publico from UNKNOWN (192.168.1.52)
2022/07/15 11:54:46 [2396] auth failed on module publico from UNKNOWN (192.168.1.52) for rsyncd: no matching rul
Ruvalfa
Donator VIP
Donator VIP
 
Posts: 4
Joined: Tue Jun 02, 2020 11:41 pm

Re: Rsync connection problem....

Postby fvdw » Sat Jul 16, 2022 6:20 pm

Please describe more accurate what you are doing. Seem an authorization issue (wrong user or password) is ip 192.168.1.52:from lenova nas?
fvdw
Site Admin - expert
 
Posts: 13239
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Rsync connection problem....

Postby Jocko » Sat Jul 16, 2022 9:48 pm

Hi,

The issue is here:
Code: Select all
2022/07/15 11:54:46 [2396] auth failed on module publico from UNKNOWN (192.168.1.52) for rsyncd: no matching rule
that means you used the special user account "rsyncd" whereas you do not use rsyncd server over a remote shell connection.
This account can be used only on that case. there is a note on the module tab
(*) account available only with SSH access

I get your behaviour if I attempt to use it
Code: Select all
2022/07/16 23:28:58 [4639] rsyncd version 3.2.4pre2 starting, listening on port 873
2022/07/16 23:29:18 [4653] connect from Acrab.local (127.0.0.1)
2022/07/16 23:29:18 [4653] rsync allowed access on module public from Acrab.local (127.0.0.1)
2022/07/16 23:29:36 [4653] auth failed on module public from Acrab.local (127.0.0.1) for rsyncd: no matching rule
and if I use another authorized account, it is ok
Code: Select all
2022/07/16 23:41:00 [4676] connect from Acrab.local (127.0.0.1)
2022/07/16 23:41:00 [4676] rsync allowed access on module public from Acrab.local (127.0.0.1)
2022/07/16 23:41:21 [4676] rsync on public/ from Jocko@Acrab.local (127.0.0.1)
2022/07/16 23:41:21 [4676] building file list
2022/07/16 23:41:21 [4676] sent 854 bytes  received 29 bytes  total size 6781613
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Rsync connection problem....

Postby Ruvalfa » Wed Jul 20, 2022 7:52 pm

THanks for that info. I'll try...
Ruvalfa
Donator VIP
Donator VIP
 
Posts: 4
Joined: Tue Jun 02, 2020 11:41 pm

Re: Rsync connection problem....

Postby Ruvalfa » Wed Jul 20, 2022 9:24 pm

Work Ok !
thanks again.
2022/07/20 15:22:25 [5885] connect from MASTER.local (192.168.1.47)
2022/07/20 15:22:25 [5885] rsync allowed access on module respaldo from MASTER.local (192.168.1.47)
2022/07/20 15:22:30 [5885] rsync to respaldo/ from Ruben@MASTER.local (192.168.1.47)
2022/07/20 15:22:30 [5885] receiving file list
2022/07/20 15:23:15 [5887] connect from MASTER.local (192.168.1.47)
2022/07/20 15:23:15 [5887] rsync allowed access on module respaldo from MASTER.local (192.168.1.47)
2022/07/20 15:23:21 [5887] rsync to respaldo/ from Ruben@MASTER.local (192.168.1.47)
2022/07/20 15:23:21 [5887] receiving file list
No available Rsync-SSH Log File
Ruvalfa
Donator VIP
Donator VIP
 
Posts: 4
Joined: Tue Jun 02, 2020 11:41 pm


Return to Development

Who is online

Users browsing this forum: No registered users and 2 guests