Re: password problem with rsync

2003-10-01 Thread Payal Rathod
On Tue, Sep 30, 2003 at 10:45:00PM -0700, jw schultz wrote:
> > 
> > ftp wrappers, you mean something like ncftpget?  Anymore???
> 
> Many more.  wget for one.

BTW, is rsync used to "mirror" a machine? I want to completely mirror the
machine after ever few hours.
e.g. when I go to www.qmail.org, I see list of mirrors. How do these
people keep that site on their server "updated"?

With warm regards,
-Payal

-- 
"Visit GNU/Linux Success Stories"
http://payal.staticky.com
Guest-Book Section Updated.
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


rsync error code 12 at phase "unknown"

2003-10-01 Thread Edward King
Any suggestions on tracking this problem down?  We've had it happen on a 
few machines -- some through VPN's, one from a Mac OS X to a Linux 
machine on the local network.

Some machines never have this problem.  We think it's a hiccup in the 
network connection -- but it's very minor.  We've setup pings and 
tracked the data sent through the interface and have never seen it drop 
below 300 bytes / 5 second slice (so we know the connection isn't 
crashing down on us -- besides, the retry should catch it.)

I have checked the usual culprits and think my next step is to wade into 
the code (disk space good, timeouts virtually nonexistent, cpu load low, 
lots of free memory, etc.)

The phase shows unknown, and the call in io.c is simply a write function 
-- any suggestions on back tracking to find what is calling the write?  
Maybe we can restart the phase that's failing (kind of like transaction 
framing for sql -- perform a commit/rollback operation.)  It works 
great, just seems vulnerable to a lost packet somewhere.

Log from "rsync --partial -v -a -z --delete --backup --suffix='.backup' 
--bwlimit=15 /. 10.1.1.61::/save/":

building file list ... done
etc/cups/certs/0
etc/mail/statistics
etc/mail/logs/092603
rsync: writefd_unbuffered failed to write 16385 bytes: phase "unknown": 
Connection timed out
rsync error: error in rsync protocol data stream (code 12) at io.c(515)

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


Here's A Quick Double

2003-10-01 Thread Chance

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


Re: rsync error code 12 at phase "unknown"

2003-10-01 Thread Wayne Davison
On Wed, Oct 01, 2003 at 09:33:01AM -0500, Edward King wrote:
> Any suggestions on tracking this problem down?

Since you're using the -z (compress) option, are you using the CVS
version of rsync?  It has several fixes installed for compression
problems.  It also has improvements for handling large 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


excluding subdirectories

2003-10-01 Thread Streubert, Christoph
How can I exclude a list of subdirectories from a file system tree?
Do you recommend ...
a) to use the --exclude option and try to match the patterns
b) to use the --exclude-from option to exclude anything this file
contains
c) something else I do not think of?

I appreciate your response,

Christoph Roman Streubert
The Walt Disney Company

"The only place where success comes before work is in the dictionary."
- S.B. Fuller


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


--password-file=

2003-10-01 Thread Clint Boggio
I am moving from an anonymous rsync setup to a password protected rsync
setup. I have my module involved in the test configured to auth only for
one user. The secrets file is working just fine for I have tested it.
Before I decided to go with a password protected setup, I had a script
that cron ran every night at 2 am. worked like a charm. I added the
--password-file=/etc/rsyncd.secrets argument to the script and it says
"AUTH FAILED FOR MODULE XXX".  So I ran the command without that
argument and it prompted me for a password. I gave the password that is
in the secrets file and it proceeded. I can post the config files if it
would help. 

Secrets file is readable only by root

I am on the client, connecting to the rsync server running in --daemon
mode.


-- 
Clint Boggio <[EMAIL PROTECTED]>
Hogan Hardwoods & Moulding


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


Re: --password-file=

2003-10-01 Thread jw schultz
On Wed, Oct 01, 2003 at 02:34:43PM -0500, Clint Boggio wrote:
> I am moving from an anonymous rsync setup to a password protected rsync
> setup. I have my module involved in the test configured to auth only for
> one user. The secrets file is working just fine for I have tested it.
> Before I decided to go with a password protected setup, I had a script
> that cron ran every night at 2 am. worked like a charm. I added the
> --password-file=/etc/rsyncd.secrets argument to the script and it says
> "AUTH FAILED FOR MODULE XXX".  So I ran the command without that
> argument and it prompted me for a password. I gave the password that is
> in the secrets file and it proceeded. I can post the config files if it
> would help. 
> 
> Secrets file is readable only by root
> 
> I am on the client, connecting to the rsync server running in --daemon
> mode.

The "secrets file" and the --password-file have different
formats.  You cannot use the same file for both.

-- 

J.W. SchultzPegasystems Technologies
email address:  [EMAIL PROTECTED]

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


password file

2003-10-01 Thread Clint Boggio
Ahhh yes silly me. Toying around with it I came to that conclusion.
Specifying the secrets file as the source of the password was my
problem. I created a file on the local machine and put the password in
there just as plain as could be. I made it readable only for root. Then
I ran the command and it worked like a charm. Now I am off to figure out
a way to make each module log to a different logfile.

If I knew anything about code I would add an option to read a file to
gather the source of the archive like tar -t. Thank you very much for
your help. I will hang around and see if I can help somebody with this
powerfull tool. Thanks again!!!
-- 
Clint Boggio <[EMAIL PROTECTED]>
Hogan Hardwoods & Moulding


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


--disable-ipv6: configure sits at "checking whether defines needed by getaddrinfo exist..."

2003-10-01 Thread Frédéric L. W. Meunier
It just sits at "checking whether defines needed by getaddrinfo
exist..." and the CPU usage increases until I kill it. ps
reported

fredlwm  23258 99.9  0.0  1340  328 pts/3R20:07   1:05 yes

I'm compiling current CVS with builddir != srcdir under Linux
2.6.0-test6. I don't enabled IPV6 in the kernel. It configured
and compiled without --disable-ipv6.

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


Using rsync to mirror FTP servers

2003-10-01 Thread fred pasteck
Hi,

I have two different FTP servers that I'd like to
always have the same content. The problem is that
there isn't one "primary" server that can push or pull
the content from other server -- they both always have
to have the same content and files can be added or
deleted from either.

Is there a way to use rsync to determine whether a
file on one server should be added to the remote, or
deleted from the local?

Maybe there's another application that can manage
something like this?

I'm thinking this is probably something for "find
-newer" and managing a list of files and comparing
them on each side before deleting/adding?

Thanks,
Fred



__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: Using rsync to mirror FTP servers

2003-10-01 Thread Steve Bonds
On Wed, 1 Oct 2003, fred pasteck fred_pasteck-at-yahoo.com |Rsync List|
wrote:

> Is there a way to use rsync to determine whether a file on one server
> should be added to the remote, or deleted from the local?
>
> Maybe there's another application that can manage something like this?

Rsync is a one-way tool, for something like what you have in mind, I would
look at Unison:

http://www.cis.upenn.edu/~bcpierce/unison/

It's free/GPL and even works on Win32 systems.

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