Undelivered mail

2005-07-13 Thread owner-LISTSERV
-- Error description:
Error-For:  K12NEWSLETTERS@LISTSERV.CLASSROOM.COM
Error-Code: 3
Error-Text: No such list.

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


syncing from the file-list option

2005-07-13 Thread Monty Ree

Hello, all.

I'm a begineer for rsync and please help me.

I would like to sync data between two ftp sevrer.
If one change/add/delete data usingf ftp, other ftp server should sync from 
the main ftp servert.
In my thought, full data directory syncing is too slow, so if the client 
uses  --files-from option, sync speed more fast than full data directory 
syncing.
 
file list is like below. 


# tail -f /var/log/xferlog | awk '{print $9}'

/home/abc/images/card_pay_contents.gif

So I executed like below at client.
/tmp/test contains the file list like above.

# rsync -avr --delete --recursive --files-from=/tmp/test 
remote_server::root  /


works well...
But if the files are deleted at the remote_server, client doesn't delete 
the file like below and print error. 
I would like to like this.
If the file is creates or modified at the main server, client must creates 
or modify.

If the file is deleted  at the main server, client must delete.


receiving file list ... rsync: link_stat 
/home/abc/images/card_pay_contents.gif  failed: No such file or directory 
(2)

done
client: nothing to do: perhaps you need to specify some filenames or the 
--recursive option?

rsync error: some files could not be transferred (code 23) at main.c(723)


How to do solve this problem?

Thanks in advance for your help.

_
보다 빠르고 보기 편한 뉴스. 오늘의 화제는 MSN 뉴스에서 확인하세요.   
http://www.msn.co.kr/news/  


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


In Response to your AskERIC Question

2005-07-13 Thread askeric
Greetings,

The AskERIC site and question-answer service was discontinued on December 
19, 2003. Therefore, we are unable to respond to your request. To ensure 
your privacy, your email has been deleted. To keep our tradition of service 
alive, the resources at askeric.org have moved to a new home, the 
Educator's Reference Desk (www.eduref.org).

The Educator's Reference Desk includes the 2000 lesson plans, 3000 
value-added pointers to education information  organizations, and the 200 
question archives you have been accessing at askeric.org for over 10 years. 
You can also continue to access the ERIC database at the Educator's 
Reference Desk. Please visit this new site (www.eduref.org) today!

If you are looking for ERIC related information, please go to www.eric.ed.gov.

We'd like to take this opportunity to thank you for your use and support of 
AskERIC. Over the past decade, our experts responded to over 335,000 
requests for education information, and our web site served 4.5 million 
visitors a year. With your help, AskERIC was called one of the greatest 
educator resources online. Thanks for making our project such a success!

AskERIC Staff


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


[Bug 2873] New: Including username and hostname in both source and dest fails

2005-07-13 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=2873

   Summary: Including username and hostname in both source and dest
fails
   Product: rsync
   Version: 2.6.3
  Platform: PPC
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P3
 Component: core
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]


If you include the username and hostname in both the source and destination 
path, the rsync command 
fails.

Example:

rsync --progress -av [EMAIL PROTECTED]:/root/path/file.ext [EMAIL 
PROTECTED]:/root/path/file.ext

Results in error message:

mkstemp /root/path/[EMAIL PROTECTED]:/root/path/.file.ext.bEpHF5 failed: No 
such file or directory

It would appear that the path given to mkstemp is corrupted and cannot work.

One has to login to one of the two hosts and change the rsync command syntax to 
get the copy to 
work.

-- 
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: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


rsync.log - two differ timestamps

2005-07-13 Thread Steve Magee
Just upgraded from rsync 2.6.2  protocol version 28 to 2.6.3 protocol 
version 28.

Linux kernel upgraded from 2.6.5-1 to 2.6.9-11.

From the client side, I issued...
rsync -av web::app_web /app   /dev/null

From the server side, the config shows...
[app_web]
 comment = Moving webs Inside  Outside
 path = /app
 auth users = root
 secrets file = /etc/rsyncd.secrets
 read only = true
 uid = root

In /var/log/rsync.log, I get two records recorded for the single issue 
or rsync from the
client side.  The problem is the timestamp are using localtime and 
Greenwich time.  While
running on the older version of the kernel, both timestamps were using 
localtime.


Jul 13 16:44:59 web rsyncd[26323]: rsync on app_web from 
[EMAIL PROTECTED] (xxx.xxx.xxx.xxx) 
Jul 13 23:45:11 web rsyncd[26323]: wrote 4335227 bytes  read 295 bytes  
total  size 31683130932 


Is there a way to get both timestamps, stamping localtime?

Thanks

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


Re: @ERROR: access denied

2005-07-13 Thread Eberhard Moenkeberg

Hi,

On Thu, 14 Jul 2005 [EMAIL PROTECTED] wrote:


I'm trying to set up an rsync daemon on my OS X machine to sync my
remote subversion repositories. My config file /etc/rsyncd.conf looks
like this:

motd file = /etc/motd
max connections = 25
syslog facility = local3

[repositories]
 comment = Subversion Repositories
 path = /usr/local/repositories
 read only = no
 list = yes
 hosts allow = 127.0.0.1
 auth users = username
 secrets file = /etc/rsyncd.secrets

However running rsync [EMAIL PROTECTED]::repositories I get:

@ERROR: access denied to repositories from localhost (::1)
rsync: connection unexpectedly closed (71 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)

What am I missing here?


The username:password line in /etc/rsyncd.secrets?
Or the
   export RSYNC_PASSWORD=...
setting before invocing the rsync command?

Cheers -e
--
Eberhard Moenkeberg ([EMAIL PROTECTED], [EMAIL PROTECTED])
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: @ERROR: access denied

2005-07-13 Thread Wayne Davison
On Thu, Jul 14, 2005 at 12:00:54AM +, [EMAIL PROTECTED] wrote:
 @ERROR: access denied to repositories from localhost (::1)

Did you check the log file to see what the daemon had to say about the
failure?  Perhaps the permissions are wrong on your secrets file (which
would cause rsync to ignore it and log that fact).

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


Re: rsync.log - two differ timestamps

2005-07-13 Thread Wayne Davison
On Wed, Jul 13, 2005 at 05:01:55PM -0700, Steve Magee wrote:
 The problem is the timestamp are using localtime and Greenwich time.

This has come up:

http://lists.samba.org/archive/rsync/2005-January/011353.html

... several times before:

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

Unfortunately, I have not heard of anyone discovering exactly what the
problem is, though it appears to be outside of rsync's control.

One way to work around the problem may be to set use chroot = off in
your rsyncd.conf file.  Does your system use syslogd (the daemon for
syslog() calls)?  If not, try enabling that.  This all works fine on my
Debian Sarge/Etch systems (which use libc6-2.6.2.ds1, just in case
that's pertinent).

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


Re: rsync breaks suddenly while syncing

2005-07-13 Thread Wayne Davison
On Tue, Jul 12, 2005 at 09:51:21AM +0200, Markus Darges wrote:
 rsync: read error: Connection reset by peer (104)

Have you check the issues and debugging page yet?  (See item #3):

http://rsync.samba.org/issues.html

Also, it's possible that the TCP connection has started to fail for
reasons outside of rsync's control (such as a router rebooting).  Can
you keep a normal remote-shell connection open for extended periods of
time between the two systems involved?

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


Re: rsync --server and max connections

2005-07-13 Thread Wayne Davison
On Tue, Jul 12, 2005 at 10:06:09PM -0400, Jeremy Lepore wrote:
 Is there also [a max connections] when rsync --server (on the target
 node) is us used (in the absence of a rsyncd.conf file) ? 

There is nothing like that built-in to rsync.  You could, however,
create a wrapper script that would do some kind of locking and refuse to
run rsync if there were too many concurrent rsync invocations (put the
wrapper in place of the normal rsync, and have it call the relocated
rsync if it gets a lock).  As long as the wrapper outputs an error
message on stderr (not stdout) when the locking failed, the user would
see the reason why their rsync command failed.

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


QUARANTINED: rsync@lists.samba.org

2005-07-13 Thread WorkgroupMail Content Filter
The message rsync@lists.samba.org from Mail Administrator, sent on 15/07/2005 
00:00 was quarantined because it contained either an executable file, a batch 
file or a screen saver file. All of these types of attachments are considered 
security risks. Please consult your mail administrator who can release the 
message.

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


Re: syncing from the file-list option

2005-07-13 Thread Wayne Davison
On Wed, Jul 13, 2005 at 07:54:46AM +, Monty Ree wrote:
 But if the files are deleted at the remote_server, client doesn't
 delete the file like below and print error. 

That's correct.  There have been some requests for this, but that isn't
how the --files-from list currently works.  You're providing a list of
files to transfer.  Deletions are only ever receiver-side computed based
on the reception of an entire directory's contents.  So, to delete
individual files requires that you either (1) convey the deletions to
the other system via a method outside of rsync:

cat del-list | ssh remotehost xargs rm

... or (2) that you create a list of parent dirs and exclusions that
fools rsync into deleting what you want.

For example, assume that we want to delete the file baz.txt that used to
be in the directory /var/foo/bar on the sender and is still in the
receiving module's directory bar.  If we do this:

rsync -av --delete --include=baz.txt --exclude='*' /var/foo/bar/ dest::mod/bar

... rsync would delete that one file and copy nothing.  Extending that
to handle multiple directories in a single call is more complicated, but
can be made simple by using a custom script to create a files-from list
and an exclude-from list based on a list of names to delete.  I've
attached a perl script that I whipped up that does this.

Caution: although I tested the script and it appears to work, be sure
to run the rsync command (the one suggested in the comments) using the
-n option to ensure that rsync is going to do what you expect!

..wayne..
#!/usr/bin/perl
# To use this script, give it a list of files to be deleted and then
# run rsync with the my-* files it outputs, like this (note the -r!):
#
# rsync -ar --files-from=my-files --exclude-from=my-excludes --delete /src /dest

use strict;

my(%incl, %excl);

open(EXCLUDES, my-excludes) or die $!;
open(FILES, my-files) or die $!;

while () {
chomp;
s#^/##;
s#/$##;
my $fn = '';
my $path = '';
foreach my $name (split(m#(/)#)) {
$fn .= $name;
if ($name eq '/') {
$path = $fn;
$incl{$path} |= 1;
}
}
$excl{$path} = 1;
$incl{$_} |= 2;
}

foreach (sort keys %incl) {
if (!($incl{$_}  2)) {
my($path) = m#(.*/).+#;
next unless $excl{$path};
}
print EXCLUDES + $_\n;
}

foreach (sort keys %excl) {
print EXCLUDES - $_*\n;
my($path) = m#(.*)/#;
next if $incl{$path}  2;
$path = '.' if $path eq '';
print FILES $path\n;
}

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

CVS update: rsyncweb

2005-07-13 Thread Wayne Davison

Date:   Wed Jul 13 20:31:37 2005
Author: wayned

Update of /data/cvs/rsyncweb
In directory dp.samba.org:/tmp/cvs-serv23300

Modified Files:
index.html 
Log Message:
Made a sentence clearer.


Revisions:
index.html  1.55 = 1.56
http://www.samba.org/cgi-bin/cvsweb/rsyncweb/index.html?r1=1.55r2=1.56
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs