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!

[SOLVED] Rsyncd unable to start

Synchronize files & directories to/from XigmaNAS with minimal data transfer.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Conti93
NewUser
NewUser
Posts: 1
Joined: 28 Jan 2016 17:08
Status: Offline

[SOLVED] Rsyncd unable to start

Post by Conti93 »

Hello
I've just finished embedded installing (for the third time) N4F 10.2.0.2 rev2268 on a Core 2 Duo machine with 2GB RAM, 500GB HD and 4GB USB thumb drive; default config, only a 500GB HD UFS formatted and mounted.
I've tried to enable Rsync, but when I click "Apply" in fails showing "Error: The changes could not be applied (error code 1)."
If I check the log there are messages about "failed to start rsyncd", screenshotted in the attachment.
What am I missing?

Regards from Italy.
Mattia
You do not have the required permissions to view the files attached to this post.

riki
Starter
Starter
Posts: 54
Joined: 17 Mar 2015 14:04
Status: Offline

Re: Rsyncd unable to start

Post by riki »

I had a similar problem, but just restarting the system solved it. It seems like rsyncd must be run at boot time. I hope this helps you!

aerou
NewUser
NewUser
Posts: 3
Joined: 16 Jan 2016 05:01
Status: Offline

Re: Rsyncd unable to start

Post by aerou »

I have the same problem since upgrading to 10.2.0.2.2268

Having to restart the whole server is not a solution. I like to change, add and remove modules on the fly.

okuturn
NewUser
NewUser
Posts: 3
Joined: 16 Dec 2015 06:22
Status: Offline

Re: Rsyncd unable to start

Post by okuturn »

I have this problem on the 3 boxes I've upgraded to 10.2.0.2 rev2268. It occurs when you toggle rsync on and off as well as any change to a server side module. Client side modules don't seem to be affected by the condition which I suspect but haven't looked means that it doesn't cause rsync to be restarted. I have to make my changes, whether a server module or turning the rsync on or off, then reboot in order for it to work. It sucks as a solution but hardly anyone complains of this so I figure it isn't used much by the populace. I tried to migrate to syncthing but it is so much slower between the two boxes on the same subnet.

Edit: I did forget to mention that it occurs on a clean install as well as an install that has the config imported from a previous installation.

jim71
Starter
Starter
Posts: 22
Joined: 09 Nov 2012 00:22
Status: Offline

Re: Rsyncd unable to start

Post by jim71 »

I have the same problem. I am running latest version 10.2.0.2.2268. I cannot say if it was on older version as I was not using rsync before.
I got this 2 logs:

rsyncd[4472]: rsync: getpeername on fd0 failed: Socket is not connected (57)
rsyncd[4472]: rsync error: error in socket IO (code 10) at clientname.c(173) [Receiver=3.1.1]

do not understand what fd0 has to do here (floppy ?) ? My system has a hostname and domain as nas4free.home.

The reboot trick does not seem to work, rsyncd is not running.

jim71
Starter
Starter
Posts: 22
Joined: 09 Nov 2012 00:22
Status: Offline

Re: Rsyncd unable to start

Post by jim71 »

Actually what I said is not exact. Rebooting does start rsyncd. But as soon as you modify the config in the GUI, the config is correctly modified (/var/etc/rsyncd.conf) but the daemon is stopped and not restarted.

A much easier and less painful workaround than rebooting is to simply start the daemon in cli (as root):

/etc/rc.d/rsyncd start

So for me there is definitely a bug in nas4free here.

riki
Starter
Starter
Posts: 54
Joined: 17 Mar 2015 14:04
Status: Offline

Re: Rsyncd unable to start

Post by riki »

jim71 wrote: A much easier and less painful workaround than rebooting is to simply start the daemon in cli (as root):
/etc/rc.d/rsyncd start
Good point, thanks! :)
So for me there is definitely a bug in nas4free here.
Agreed. Hope they fix the relevant scripts with next release.

jim71
Starter
Starter
Posts: 22
Joined: 09 Nov 2012 00:22
Status: Offline

Re: Rsyncd unable to start

Post by jim71 »

For info version 10.2.0.2.2332 has just been release a few hours ago.

In the fix list you have:

- Fix rsync does not start/restart on WebGUI.

I've not upgraded yet, but it should fix our problem :-)

Thanks !

fouinix
NewUser
NewUser
Posts: 1
Joined: 05 Mar 2016 00:46
Status: Offline

Re: [SOLVED] Rsyncd unable to start

Post by fouinix »

Hello,
For information, I have this issue with a fresh install (2332).
I can start rsyncd manually with "/etc/rc.d/rsyncd start".
But in the RSYNC Server module settings, I can't apply change : Error: The changes could not be applied (error code 1).
When I try to apply new change rsyncs is stopped and not restarted.

If I start manually I can connect and transfer files to rsyncd without any authentication!

User avatar
ms49434
Developer
Developer
Posts: 828
Joined: 03 Sep 2015 18:49
Location: Neuenkirchen-Vörden, Germany - GMT+1
Contact:
Status: Offline

Re: [SOLVED] Rsyncd unable to start

Post by ms49434 »

fouinix wrote:Hello,
For information, I have this issue with a fresh install (2332).
I can start rsyncd manually with "/etc/rc.d/rsyncd start".
But in the RSYNC Server module settings, I can't apply change : Error: The changes could not be applied (error code 1).
When I try to apply new change rsyncs is stopped and not restarted.

If I start manually I can connect and transfer files to rsyncd without any authentication!
A workaround has been added to the new release (2407).
So please report back here.
1) XigmaNAS 12.1.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U3, 22GB out of 32GB ECC RAM, LSI 9300-8i IT mode in passthrough mode. Pool 1: 2x HGST 10TB, mirrored, L2ARC: Samsung 850 Pro; Pool 2: 1x Samsung 860 EVO 1TB, SLOG: Samsung SM883, services: Samba AD, CIFS/SMB, ftp, ctld, rsync, syncthing, zfs snapshots.
2) XigmaNAS 12.1.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U3, 8GB out of 32GB ECC RAM, IBM M1215 crossflashed, IT mode, passthrough mode, 2x HGST 10TB , services: rsync.

Post Reply

Return to “RSYNC”