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!

what's wrong with my Rsync setup between 2 nas4free boxes?

Synchronize files & directories to/from XigmaNAS with minimal data transfer.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
supercazzola
Starter
Starter
Posts: 29
Joined: 30 Dec 2012 05:54
Status: Offline

what's wrong with my Rsync setup between 2 nas4free boxes?

Post by supercazzola »

two machines, both on local net, both running NAS4Free-9.1.0.1/9.1.0.1.573

machine 192.168.1.222:
set up as rsync server.
has the empty space I want to use for storing my backups.
mapped to a user.
has module named test222, mapped to directory /mnt/Mirror/Mirror/RsyncData/ that same user has drwx permissions to

machine 192.168.1.223:
setup as rsync client.
houses the data I want to backup at /home/user/Downloads/
has remote module source: test222
has remote ip address corresponding to machine 192.168.1.222
has remote local share pointing to directory where I want to pull data from (destination, but reverse direction is enabled).
who: root
reverse direction enabled.

Diagnostic - information:
RSYNC Client informations
Detected RSYNC remote shares:

RSYNC client number 0:
- Remote server address: 192.168.1.222
- Remote share name configured : test222
- Detected shares on this server:
test222 comment_for_test222

so it appears everything is set up correctly. but when I click on execute now in the client, nothing happens.
i can manually ssh into 223 and run a command similar to this, and it works. But the GUI doesn't seem to work for me.

Code: Select all

rsync -v -a -e "ssh -l username" /home/user/Downloads/* username@192.168.1.222:/mnt/Mirror/Mirror/RsyncData/
Does anyone have any ideas why it won't work from the GUI? What did I do wrong?

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

Re: what's wrong with my Rsync setup between 2 nas4free boxe

Post by al562 »

Hi Supercazzola,

Please remember to use the report generator per the rules and guidelines when starting a new topic.
supercazzola wrote:when I click on execute now in the client, nothing happens.
Something must be happening, check the logs on both servers to find out what. Remember that the WebGUI will not let you do anything else until the rsync is finished, so rather than "executing now" set the timer and have it go off automatically two minutes in the future.
supercazzola wrote:run a command similar to this, and it works.
Far as I can tell the command you posted would not work. There is no need to have
supercazzola wrote:"ssh -l username"
in it and I don't see where you specified the module name.

Please post any error messages you find, an exact command that definitely works and a screenshot of the rsync configuration page so we can compare them. Then it may be possible to see if you made a mistake somewhere.

Thanks,
Al

supercazzola
Starter
Starter
Posts: 29
Joined: 30 Dec 2012 05:54
Status: Offline

Re: what's wrong with my Rsync setup between 2 nas4free boxe

Post by supercazzola »

al562 wrote:Hi Supercazzola,

Please remember to use the report generator per the rules and guidelines when starting a new topic.
(sorry, I interpreted that it was optional "Topics that include complete output from WebGUI Tab> Help|Report Generator will be given priority over those that do not"). Here they are:


NAS4Free 9.1.0.1 (revision 573) x64-embedded
GATEWA 05DT048 Intel(R) Pentium(R) 4 CPU 3.20GHz 3318MiB RAM

BCM5752 1000BASE-T media interface Intel ICH7 UDMA100 controller Intel
82801GB/R (ICH7) USB 2.0 controller Intel 82801G (ICH7) USB controller
USB-A Intel 82801G (ICH7) USB controller USB-B Intel 82801G (ICH7) USB
controller USB-C Intel 82801G (ICH7) USB controller USB-D bus=1
hubaddr=5 port=4 devaddr=2 interface=0
Subject:
222 report generator
Description:
troubleshooting rsync permissions


NAS4Free 9.1.0.1 (revision 573) x64-embedded
ALASKA A M I Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz 16886MiB RAM

XHCI (generic) USB 3.0 controller bus=1 hubaddr=1 port=3 devaddr=2
interface=0 Intel Panther Point USB 3.0 controller bus=2 hubaddr=6
port=1 devaddr=4 interface=0 Intel Panther Point USB 2.0 controller
bus=2 hubaddr=1 port=1 devaddr=3 interface=0 bus=1 hubaddr=1 port=1
devaddr=2 interface=0
Subject:
223 rsync
Description:
troubleshooting rsync

al562 wrote: Something must be happening, check the logs on both servers to find out what.
222 is showing permission errors when rsync is trying to make directories:

Jan 17 06:34:39 nas4free rsyncd[6514]: *** Skipping any contents from this failed directory ***
Jan 17 06:34:39 nas4free rsyncd[6514]: rsync: recv_generator: mkdir "/72_Clint Eastwood" (in test222) failed: Permission denied (13)
Jan 17 06:34:39 nas4free rsyncd[6514]: *** Skipping any contents from this failed directory ***
Jan 17 06:34:39 nas4free rsyncd[6514]: rsync: recv_generator: mkdir "/73_Darth Vader" (in test222) failed: Permission denied (13)
Jan 17 06:34:39 nas4free rsyncd[6514]: *** Skipping any contents from this failed directory ***


al562 wrote: Far as I can tell the command you posted would not work.
well, it does work, but the username in my code was my actual username. I grabbed the sample from here,
http://wiki.nas4free.org/doku.php?id=do ... ync:basics
under the section "Rsync Usage Examples" - Backup Multiple files using ssh:

al562 wrote: Thanks,
Al
thank you Al, I appreciate any insight you can help me gain as to why there are permission errors. As I mentioned, I set 222 to a valid user (the same user that works with rsync usage example above), and 223 to root.

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

Re: what's wrong with my Rsync setup between 2 nas4free boxe

Post by al562 »

Thanks for the error messages, those are helpful.

Please post
al562 wrote:an exact command that definitely works and a screenshot of the rsync configuration page so we can compare them.
supercazzola wrote: I grabbed the sample from here
For the particular configuration LDKramer used that would work, I don't think your configuration is the same, that's why I need to compare the information requested above. If the command you previously posted definitely works then just post the screenshot.

Thanks,
Al

supercazzola
Starter
Starter
Posts: 29
Joined: 30 Dec 2012 05:54
Status: Offline

Re: what's wrong with my Rsync setup between 2 nas4free boxe

Post by supercazzola »

al562 wrote:Thanks for the error messages, those are helpful.

Please post
al562 wrote:an exact command that definitely works and a screenshot of the rsync configuration page so we can compare them.
supercazzola wrote: I grabbed the sample from here
For the particular configuration LDKramer used that would work, I don't think your configuration is the same, that's why I need to compare the information requested above. If the command you previously posted definitely works then just post the screenshot.

Thanks,
Al
here is the screenshot. Please note, blue is the machine 223, and green is the 222.
Screen-Shot-2013-01-17-at-11.06.jpg
You do not have the required permissions to view the files attached to this post.

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

Re: what's wrong with my Rsync setup between 2 nas4free boxe

Post by al562 »

Hi Supercazzola,

That was a good screenshot and it helps, but sorry, maybe I wasn't clear. I am interested in
al562 wrote:a screenshot of the rsync configuration page
from the WebGUI of each server, that way I can compare them to each other and the command you are using.

Sorry for the mixup,
Al

Post Reply

Return to “RSYNC”