Re: rsync --daemon complains parsing nonexistant /etc/rsyncd.conf

2022-09-20 Thread Wayne Davison via rsync
On Sun, Sep 18, 2022 at 6:13 AM Paul Slootman wrote: > IMHO rsync is correct in refusing to run with a missing rsyncd.conf. > Yeah, it's one of the ways that some installs prevent a superfluous daemon from starting up -- if it's not configured, you don't want it. ..wayne.. -- Please use reply-a

Re: rsync --daemon complains parsing nonexistant /etc/rsyncd.conf

2022-09-18 Thread Paul Slootman via rsync
On Sat 17 Sep 2022, Colton Lewis via rsync wrote: > This is on a system where /etc/rsyncd.conf does not exist and goes away if > /etc/rsyncd.conf is an empty file. > > Version: rsync version 3.2.5 protocol version 31 > Command: rsync --daemon > What happens: The program outputs "Failed to pars

Re: Rsync Daemon Remote Pull

2020-06-27 Thread Wayne Davison via rsync
On Sat, Jun 27, 2020 at 7:17 AM Chandrasekar Natarajan wrote: > Kindly help me to resolve this. > One thing you can do is to change the initial command from "rsync" to "/usr/bin/rsync" (if that is where the real command is installed in your setup) in order to try to avoid any script & shell alias

Re: Rsync Daemon Remote Pull

2020-06-27 Thread Chandrasekar Natarajan via rsync
Hi Wayne, Thanks for your reply. This is the command I am using now(a simple command) *rsync -vrcz --port u...@x.x.x.xx::Module1 '/cygdrive/d/test 123/'* This is the exception 'Unexpected remote arg: User@x.x.x.x::Module1 rsync error: syntax or usage error (code 1) at main.c(1361) [sender=3.

Re: Rsync Daemon Remote Pull

2020-06-26 Thread Wayne Davison via rsync
On Thu, Jun 25, 2020 at 3:02 PM Chandrasekar Natarajan wrote: > Unexpected remote arg: user@x.x.x.x:port/module > This means that your non-option args starts with a local arg, contains a remote arg somewhere in the middle, and ends with either a local or remote arg. None of those are valid becau

Re: Rsync Daemon Remote Pull

2020-06-26 Thread Chandrasekar Natarajan via rsync
Hi, Even I tried the same syntax but failed. But push is working fine. rsync: Unexpected remote arg: user@x.x.x.x::module. > On 26-Jun-2020, at 5:22 AM, Kevin Korb wrote: > > user@x.x.x.x:port/ModuleName is not correct syntax. You may have > something in your shell config translating that

Re: Rsync Daemon Remote Pull

2020-06-25 Thread Kevin Korb via rsync
user@x.x.x.x:port/ModuleName is not correct syntax. You may have something in your shell config translating that for you. Correct syntax is --port and user@host::module On 6/25/20 6:01 PM, Chandrasekar Natarajan via rsync wrote: > Hi, > > I am trying to pull folders from a windows remote m

Re: Rsync Daemon & network users

2015-09-21 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You can do that with rsync over ssh but not rsyncd. On 09/21/2015 10:57 AM, Simon Wong (Staff) wrote: > Dear all, > > Can someone let me know if it is possible to setup an Rsync server > with domain authenticated users e.g. Active Directory users rat

Re: rsync daemon performance

2010-03-09 Thread Jamie Lokier
Paul Slootman wrote: > On Sat 06 Mar 2010, Wayne Davison wrote: > > On Thu, Feb 25, 2010 at 5:20 PM, Tom Dickson wrote: > > > > > Is it possible to get a "pool" of waiting daemons, similar to how apache > > > runs? > > > > No, there is no support for that in rsync at the moment. I don't think i

Re: rsync daemon performance

2010-03-09 Thread Paul Slootman
On Sat 06 Mar 2010, Wayne Davison wrote: > On Thu, Feb 25, 2010 at 5:20 PM, Tom Dickson wrote: > > > Is it possible to get a "pool" of waiting daemons, similar to how apache > > runs? > > No, there is no support for that in rsync at the moment. I don't think it > would be simple to add, but if

Re: rsync daemon performance

2010-03-06 Thread Wayne Davison
On Thu, Feb 25, 2010 at 5:20 PM, Tom Dickson wrote: > Is it possible to get a "pool" of waiting daemons, similar to how apache > runs? No, there is no support for that in rsync at the moment. I don't think it would be simple to add, but if someone wants to work on patch, I'd consider adding it

Re: rsync --daemon. Can I open more than one instances?

2009-06-09 Thread Rahul Nabar
On Tue, Jun 9, 2009 at 12:41 AM, Daniel.Li wrote: > b) Moniter CPU and mem usage during backup; Yes, you are right. CPU% as given by ps aux seems always very low. Only a few %. > I think you can test the system to find out what is the bottleneck. Trying that now. > I run a daemon on my Nasbox

Re: rsync --daemon. Can I open more than one instances?

2009-06-08 Thread Daniel.Li
On Mon, 2009-06-08 at 22:39 -0500, Rahul Nabar wrote: > > If you're not using different partitions on different disks, then > doing > > anything in parallel is probably going to slow it down > (reading/writing > > all over the disk, means more seektime, which means waiting). > > No, its just a sin

Re: rsync --daemon. Can I open more than one instances?

2009-06-08 Thread Rahul Nabar
On Mon, Jun 8, 2009 at 2:55 PM, Leen Besselink wrote: > I think Daniel was trying to say, cpu might not be the bottleneck, it could > be network or something else (I doubt it's memory rsync 3 pretty much solved > that for most) and if you ask me it's probably disk. Ah! I see. Thanks for the clarif

Re: rsync --daemon. Can I open more than one instances?

2009-06-08 Thread Leen Besselink
Rahul Nabar wrote: > On Thu, Jun 4, 2009 at 12:09 AM, Daniel.Li wrote: > >> I think multi-client can improve performance, but limit is the same as >> above. > > I don't think I understand! Can I start more than one "rsync --daemon" > instances then? > > >> What kind of performance you are conce

Re: rsync --daemon. Can I open more than one instances?

2009-06-08 Thread Rahul Nabar
On Thu, Jun 4, 2009 at 12:09 AM, Daniel.Li wrote: > I think multi-client can improve performance, but limit is the same as > above. I don't think I understand! Can I start more than one "rsync --daemon" instances then? > What kind of performance you are concerning, network/cpu/ram/disk > IO ...

Re: rsync --daemon. Can I open more than one instances?

2009-06-03 Thread Daniel.Li
On Wed, 2009-06-03 at 20:57 -0500, Rahul Nabar wrote: > Is there a way to speed up rsync by opening more than one daemon in > parallel. daemon will create a process when a connection is established. So the limit is hardware. > I use rsync --daemon to start rsync. I was wondering if > opening m

Re: rsync daemon not answering

2008-06-13 Thread Alejandro Celery
Matt McCutchen escribió: On Fri, 2008-06-06 at 10:02 -0300, Alejandro Celery wrote: I have a problem: I was running rsync --daemon on a Ubuntu 6.10 linux without problems. I used it to sync our company intranet from a Windows host through deltacopy. Then I migrated my system to new hardware

Re: rsync daemon not answering

2008-06-06 Thread Matt McCutchen
On Fri, 2008-06-06 at 10:02 -0300, Alejandro Celery wrote: > I have a problem: I was running rsync --daemon on a Ubuntu 6.10 linux > without problems. I used it to sync our company intranet from a Windows > host through deltacopy. Then I migrated my system to new hardware and > installed Ubuntu

Re: rsync daemon did not chdir back after chdir in module path

2008-03-25 Thread Paul Slootman
On Tue 25 Mar 2008, Ming Zhang wrote: > > Tried to search the list but could not find anything about this. > > I have a rsync daemon running with starting cwd as /usr/local/bin. then > after some io, and after all io finished, its cwd is /fs1 which is one > of the module path. now i need to umoun

Re: Rsync-daemon security advisories for writable daemons

2007-12-16 Thread Wayne Davison
On Mon, Dec 10, 2007 at 04:30:55PM -0500, Matt McCutchen wrote: > The current development rsync ignores all errors, but errors other > than ENOSYS might be significant. Yeah, good idea. I've changed the dev version to only ignore ENOSYS. ..wayne.. -- To unsubscribe or change options: https://li

Re: Rsync-daemon security advisories for writable daemons

2007-12-10 Thread Matt McCutchen
On Mon, 2007-12-10 at 22:20 +0100, Olivier Thauvin wrote: > I don't how to really fix into rsync, > except checking uname to get the running kernel's version. It would seem much more direct to simply attempt the lutimes and ignore an error of ENOSYS (Function not implemented). I don't think it's

Re: Rsync-daemon security advisories for writable daemons

2007-12-10 Thread Olivier Thauvin
Le lundi 10 décembre 2007, Matt McCutchen a écrit : > On Mon, 2007-12-10 at 21:20 +0100, Paul Slootman wrote: > > It seems that people running the Debian 2.6.9-5.1 version which has this > > patch applied. are running into problems where rsync wants to set > > permissions on symlinks. > > In the re

Re: Rsync-daemon security advisories for writable daemons

2007-12-10 Thread Matt McCutchen
On Mon, 2007-12-10 at 21:20 +0100, Paul Slootman wrote: > It seems that people running the Debian 2.6.9-5.1 version which has this > patch applied. are running into problems where rsync wants to set > permissions on symlinks. In the report rsync seems to want to set mtimes, not permissions. > The

Re: Rsync-daemon security advisories for writable daemons

2007-12-10 Thread Paul Slootman
On Tue 27 Nov 2007, Wayne Davison wrote: > > Starting with the 3.0.0-pre6 release, there will be a new daemon option > available: "munge symlinks". This will allow an rsync daemon to accept > symlinks and return them intact (with even a leading slash still there, > which is new for a non-chroot d

Re: rsync daemon troubleshooting

2007-09-18 Thread chuang liu
On Tue, 18 Sep 2007, Wayne Davison wrote: > On Mon, Sep 17, 2007 at 10:41:27PM -0500, chuang liu wrote: > > I already have "port=5550" in the rsyncd.conf. It looks like I still need > > to add "--port=5550" in the command line. Is this a known issue with rsync > > or do I miss anything? I am run

Re: rsync daemon troubleshooting

2007-09-18 Thread Wayne Davison
On Mon, Sep 17, 2007 at 10:41:27PM -0500, chuang liu wrote: > I already have "port=5550" in the rsyncd.conf. It looks like I still need > to add "--port=5550" in the command line. Is this a known issue with rsync > or do I miss anything? I am running rsync version 2.6.3. The "port" and "address" d

Re: rsync daemon troubleshooting

2007-09-18 Thread Alexandros Papadopoulos
On 9/18/07, chuang liu <[EMAIL PROTECTED]> wrote: > This command returns without any error although the daemon does not get > started. Anything in /var/log/messages ? Try invoking the daemon with --no-detach. -A -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync

Re: rsync daemon troubleshooting

2007-09-17 Thread chuang liu
It rans after I added --port in the command line as follows: > rsync -v -v --daemon --config=rsyncd.conf --port=5550 I already have "port=5550" in the rsyncd.conf. It looks like I still need to add "--port=5550" in the command line. Is this a known issue with rsync or do I miss anything? I am run

Re: rsync daemon only accessable as root

2007-04-20 Thread Paul Slootman
On Wed 18 Apr 2007, Peter van Leuven wrote: > > [test] > path = /home/user/test > comment = rsync test > use chroot = yes > gid = nobody > uid = nobody > read only = no > list = yes > auth users = user > secrets file = /etc/rs

Re: rsync --daemon fails on systems with nfs-kernel-server

2003-12-05 Thread Paul Slootman
On Fri 05 Dec 2003, Bill Geddes wrote: > I have been using rsync in daemon mode to get backups of systems. The > daemon would not start on one system. Gave the syslog message that > the 'Address already in use'. netstat, lsof, ps - nothing exposed the > process that was taking the port. It wou

Re: rsync --daemon and logfile that can't be created

2003-11-18 Thread jw schultz
On Mon, Nov 17, 2003 at 01:35:09PM +0100, Paul Slootman wrote: > If the rsyncd.conf has a line such as: > > log file = /var/log/rsync/log > > and /var/log/rsync doesn't exist or isn't a directory (or the log file > can't be opened for any other reason), then there's no warning > whatsoever, as rs

Re: rsync daemon and secrets file

2003-08-26 Thread jw schultz
On Tue, Aug 26, 2003 at 12:04:53PM -0400, Hardy Merrill wrote: > Martin Pool [EMAIL PROTECTED] wrote: > > On Mon, 25 Aug 2003 12:49:36 -0400 > > Hardy Merrill <[EMAIL PROTECTED]> wrote: > > > > > IMHO, it would enhance user understanding to provide a > > > concrete EXAMPLE of this. Also, it would

Re: rsync daemon and secrets file

2003-08-26 Thread Hardy Merrill
I'll include the attachment this time... Hardy Merrill .TH "rsyncd\&.conf" "5" "26 Jan 2003" "" "" .SH "NAME" rsyncd\&.conf \- configuration file for rsync server .SH "SYNOPSIS" .PP rsyncd\&.conf .PP .SH "DESCRIPTION" .PP The rsyncd\&.conf file is the runtime configuration file for rsync wh

Re: rsync daemon and secrets file

2003-08-26 Thread Hardy Merrill
Martin Pool [EMAIL PROTECTED] wrote: > On Mon, 25 Aug 2003 12:49:36 -0400 > Hardy Merrill <[EMAIL PROTECTED]> wrote: > > > IMHO, it would enhance user understanding to provide a > > concrete EXAMPLE of this. Also, it would help in > > 'man rsyncd.conf' not only to see an example of an > > rsyncd.

Re: rsync daemon and secrets file

2003-08-26 Thread Martin Pool
On Mon, 25 Aug 2003 12:49:36 -0400 Hardy Merrill <[EMAIL PROTECTED]> wrote: > rsync -avv [EMAIL PROTECTED]::test-secret/one_secret > /tmp/rsync_test_secret Yes, that's better. > Although 'man rsync' does "technically" describe this > in the CONNECTING TO AN RSYNC SERVER OVER A REMOTE SHELL >

Re: rsync daemon and secrets file

2003-08-25 Thread Hardy Merrill
After seeing another question answered today on the same 'rsyncd.secrets' topic, I solved my problem - I had more than one: 1. in the /etc/rsyncd.conf file, I specified secrets file = /etc/rsync.secrets when the proper file was 'rsyncd.secrets' 2. the one and only line I have in /

Re: rsync daemon caching/memory usage?

2003-05-29 Thread jw schultz
On Wed, May 28, 2003 at 07:15:23PM -0500, Matt Garman wrote: > > I have two computers: a Linux box which I use as my workstation > (day-to-day use) and an OpenBSD box which I designate for server tasks: > gateway, firewall, etc. > > I use rsync to mirror many gigs worth of data from the Linux box

Re: Rsync --daemon v 2.5.5 v26 causing kernel panic

2003-01-14 Thread Edward King
Just did a successful rsync -- problem was with reiser filesystem. Moved all files off the raid, ran reiserfsck with --rebuild-tree (fix-fixable was not enough), ran rsync after rebuild finished -- no problems. There were a number of files that the rebuild-tree found that weren't attached E

Re: Rsync --daemon v 2.5.5 v26 causing kernel panic

2003-01-13 Thread Edward King
After switching much hardware (and getting some helpful suggestions) I moved the specific machine's files on the backup server to a hard drive outside the raid (still on the backup server, /dev/hdi1) and tried rsync -- problem solved. It seems there's a problem with the journaled filesystems (

Re: Rsync --daemon v 2.5.5 v26 causing kernel panic

2003-01-10 Thread jw schultz
On Fri, Jan 10, 2003 at 02:25:57PM -0600, Edward King wrote: > Has anyone seen this? Looking for past experiences / ideas. Will post > progress. > > I'm tracking down a problem that seems to be caused by rsync. When > moving files from a remote server I get a kernel panic. > > We have a numb

Re: rsync --daemon bypasses directory permissions on Linux (PR#3700)

2002-01-06 Thread Martin Pool
[EMAIL PROTECTED] wrote: > On Linux, running 'rsync --daemon' as root bypasses some security > restrictions, allowing access to otherwise inaccessible files. Well, I can see why you think this is confusing, but I think rsync's behaviour is reasonable and consistent with Unix's security design.

Re: rsync daemon and client

2001-03-13 Thread Dave Dykstra
On Tue, Mar 13, 2001 at 06:36:41PM +0200, Giorgos Chatzilias wrote: > Dear all, > I would like please to ask how a client side rsync command is syntaxed. > The daemon runs at port 2000 (--port=2000) > and the rsyncd.conf is: > > [modulename] > path = /usr/tmp/lala > auth users = g

Re: rsync daemon

2000-12-21 Thread Dave Dykstra
On Tue, Dec 19, 2000 at 10:10:46AM -0600, Dave Dykstra wrote: > I noticed this same problem on my redhat 6.2 machine last week. Check > /var/adm/messages. Mine reported > > inetd[415]: rsync/tcp server failing (looping or being flooded), service >terminated for 10 min > > I could see no w

Re: rsync daemon

2000-12-19 Thread David McCabe
> From: Dave Dykstra <[EMAIL PROTECTED]> > Date: Tue, 19 Dec 2000 10:10:46 -0600 > Subject: Re: rsync daemon > > I noticed this same problem on my redhat 6.2 machine last week. Check > /var/adm/messages. Mine reported > > inetd[415]: rsync/tcp server fai

Re: rsync daemon

2000-12-19 Thread Lee Eakin
Subject: Re: rsync daemon > Date: Tue, 19 Dec 2000 10:10:46 -0600 > > I noticed this same problem on my redhat 6.2 machine last week. Check > /var/adm/messages. Mine reported > > inetd[415]: rsync/tcp server failing (looping or being flooded), service >terminated for

Re: rsync daemon

2000-12-19 Thread Dave Dykstra
On Tue, Dec 19, 2000 at 04:39:32PM +1100, Ian Millsom wrote: > > What's your version of rsync? What's your OS, both client and server? > > Please post replies to the list. > > Sorry forgot to mention, all servers running redhat 6.2 rsync version > 2.4.1 on all machines > > Just after this posti

Re: rsync daemon

2000-12-18 Thread Ian Millsom
> What's your version of rsync? What's your OS, both client and server? > Please post replies to the list. Sorry forgot to mention, all servers running redhat 6.2 rsync version = 2.4.1 on all machines Just after this posting, I had checked my version, to the current one on the site, and noticed