Lisa Hickey | 1 Nov 16:20 2004
Picon

Configure error: Cannot find a type to use in place of socklen_t

Hi,
I'm using rsync with cygwin (i'm working on a windows OS) but when the config script is running i get an error -
"Cannot find a type to use in place of socklen_t".

I have searched google but most of the solutions said to edit the configure file but none of their files that
they are editing look like my configure file. 

Does anyone know how i might fix this error?
Thanks in advance

--

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Steve Sether | 2 Nov 04:30 2004

rsync doesn't delete unreferenced directories.

I'm using rsync to backup multiple directories, i.e.
rsync -azq --delete --relative /dog /cat /fish user <at> rsync-server::modulename
Everything works fine, except if I remove a directory from the list of 
those being backed
up, it isn't deleted on the other side.  For example:

rsync -azq --delete --relative /dog /cat /fish user <at> rsync-server::modulename
/dog /cat /fish are all backed up to the remote server.
rsync -azq --delete --relative /dog /cat user <at> rsync-server::modulename
/dog and /cat are backed up, /fish isn't deleted.

I realize this behaviour is probbably by design but is there a way to 
get rsync to
delete directories no longer being backed up?
--

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Dale Amon | 2 Nov 11:40 2004

Re: Remote file deletion

On Thu, Oct 28, 2004 at 09:54:00AM -0700, Wayne Davison wrote:
> On Thu, Oct 28, 2004 at 01:15:18PM +0100, Dale Amon wrote:
> > I've looked at the shell command hack but don't see a way to get a
> > remote 'rm /mydir/foo' to execute that way.
> 
> If you're using ssh or rsh as your rsync connection, you can simply do
> this:
> 
>     ssh host rm /mydir/foo /mydir/bar /yourdir/baz
> 
> or even this:
> 
>     ssh host xargs rm -rf </tmp/local-list-of-files-and-dirs
> 
> If you're trying to do this by talking to a daemon or a restricted
> rsync-only ssh setup, you should be able to transfer an empty directory
> with some simple excludes to do what you want, but it's easiest to copy
> into each directory separately.  For instance, if you want to delete
> mydir/foo, mydir/bar, and yourdir/baz on host "host" in module "mod",
> you could do this:
> 
> mkdir emptydir
> rsync -av --include=foo --include=bar --exclude='*' --delete emptydir/ host::mod/mydir
> rsync -av --include=baz --exclude='*' --delete emptydir/ host::mod/yourdir
> rmdir emptydir

Thanks. I opted for the straight ssh option and it 
solved the problem in a simple and foolproof way. I don't
know why I didn't think of that. But there you go. The
value of having people to talk to.
(Continue reading)

Paul Slootman | 2 Nov 13:04 2004
Picon

Re: rsync doesn't delete unreferenced directories.

On Mon 01 Nov 2004, Steve Sether wrote:

> I'm using rsync to backup multiple directories, i.e.
> rsync -azq --delete --relative /dog /cat /fish user <at> rsync-server::modulename
> Everything works fine, except if I remove a directory from the list of 
> those being backed
> up, it isn't deleted on the other side.  For example:
[...]
> I realize this behaviour is probbably by design but is there a way to 
> get rsync to
> delete directories no longer being backed up?

Perhaps use --delete-excluded and --exclude the directory?

Paul Slootman
--

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

samba-bugs | 2 Nov 13:59 2004
Picon

[Bug 1985] New: rsync hangs reading pipe

https://bugzilla.samba.org/show_bug.cgi?id=1985

           Summary: rsync hangs reading pipe
           Product: rsync
           Version: 2.6.3
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned <at> samba.org
        ReportedBy: ro <at> suse.de
         QAContact: rsync-qa <at> samba.org

(got this bug report as maintainer here at suse) 
If rsync runs with --link-dest and there is a named pipe in link-dest with the 
same name as one of the regular files in the source dir, rsync hangs in opening 
this pipe (to compare the content with the file). 

If the object types are different (file vs named pipe), no comparison is needed 
any more.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
--

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
(Continue reading)

Wayne Davison | 2 Nov 17:12 2004
Picon

Re: Configure error: Cannot find a type to use in place of socklen_t

On Mon, Nov 01, 2004 at 03:20:17PM +0000, Lisa Hickey wrote:
> I'm using rsync with cygwin (i'm working on a windows OS) but when the
> config script is running i get an error - "Cannot find a type to use
> in place of socklen_t".

I would recommend snagging the cygwin source archive and looking to see
how they compile rsync.  When last I looked, I didn't see any special
configure code (which was a while back), so perhaps you just need to
install some developer packages (i.e. you might have missing header
files).

..wayne..
--

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Wayne Davison | 2 Nov 18:12 2004
Picon

Re: rsync doesn't delete unreferenced directories.

On Mon, Nov 01, 2004 at 09:30:10PM -0600, Steve Sether wrote:
> I realize this behaviour is probbably by design but is there a way to
> get rsync to delete directories no longer being backed up?

Yes, it is by design since you just omitted the directory in the arg
list, and rsync can't assume it should delete args that don't get
mentioned on successive commands.  Rsync only deletes inside directories
that it sends, so either put the items you want to backup into a single
directory and send that single directory (perhaps using excludes to
avoid sending too many dirs), or see the following message for how to
delete things remotely:

http://www.mail-archive.com/rsync <at> lists.samba.org/msg11823.html

..wayne..
--

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Dan Livney | 2 Nov 18:51 2004

What does this mean: "ERROR: The remote path must start with a module name"

Hi, 

I have an rsync daemon running on a remote server:

# rsync --daemon

with an entry in the /etc/rsyncd.conf file "path = /panpci/arch"

On another server I want to rsync its directory, with the /panpci/arch specified in the remote rsyncd.conf file:

rsync -autWvz -e 'ssh -i /panpci/oracle/.ssh/id_dsa' orpanpci <at> pdt01::/panpci/arch /sanpci/arch/PANPCI

ERROR: The remote path must start with a module name

What does this error mean, what am I doing wrong??

Thanks,
Dan Livney
Mi-Services Group
--

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Wayne Davison | 2 Nov 19:22 2004
Picon

Re: What does this mean: "ERROR: The remote path must start with a module name"

On Tue, Nov 02, 2004 at 12:51:53PM -0500, Dan Livney wrote:
> What does this error mean, what am I doing wrong??

You probably didn't really mean to use "::" -- use ":" instead (and stop
that rsync daemon -- you don't need it if you go this route).

Alternately, read the rsyncd.conf manpage to learn how to properly setup
a rsyncd.conf file, complete with one or more modules (and leave the
daemon running if you go this route).

..wayne..
--

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

samba-bugs | 3 Nov 07:13 2004
Picon

[Bug 1985] rsync hangs reading pipe

https://bugzilla.samba.org/show_bug.cgi?id=1985

------- Additional Comments From Uwe.Girlich <at> philosys.de  2004-11-02 23:13 -------
Created an attachment (id=753)
 --> (https://bugzilla.samba.org/attachment.cgi?id=753&action=view)
shell script to reproduce the rsync problem

This shell script creates some directories, a file and a named pipe. Then
it tries to copy the "from" directory to "to" with respect to the directory
"link". rsync is started with maximum verbose mode. It will hang opening the
pipe.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
--

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Gmane