The script have line like

rsync -avz --password-file=/usr/local/etc/rsync.pwd /etc/rsyncd.conf 
rsync://[EMAIL PROTECTED]:/etc_conf

A  pcap file from wriesharck can help you ?

thanks

-----------------------------------
Stéphane PURNELLE                         [EMAIL PROTECTED]
Service Informatique       Corman S.A.           Tel : 00 32 087/342467

[EMAIL PROTECTED] a écrit sur 
24/10/2007 14:00:37 :

> Send rsync mailing list submissions to
>    rsync@lists.samba.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>    https://lists.samba.org/mailman/listinfo/rsync
> or, via email, send a message with subject or body 'help' to
>    [EMAIL PROTECTED]
> 
> You can reach the person managing the list at
>    [EMAIL PROTECTED]
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of rsync digest..."
> To unsubscribe or change options: https://lists.samba.
> org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
> 
> ---------------------------------------Today's Topics:
> 
>    1. Script work fine on sheel, but no on a cron job
>       ([EMAIL PROTECTED])
>    2. Re: Script work fine on sheel, but no on a cron job
>       (Jan-Benedict Glaw)
>       (Jan-Benedict Glaw)
>    3. Are extended attributes supported under cygwin for rsync 3.0
>       pre2 ? (Ben Anderson)
>    4. rsync every 15 min, lots of defunct processes, high iowait
>       (ChrisBeach)
> 
> ----- Message de [EMAIL PROTECTED] sur Tue, 23 Oct 2007 
> 15:59:29 +0200 -----
> 
> Pour:
> 
> rsync@lists.samba.org
> 
> Objet:
> 
> Script work fine on sheel, but no on a cron job
> 
> 
> Hi, 
> 
> I make a script which make some call of rsync to connect to a rsync 
daemon. 
> When I run on a shell, the script work fine. 
> 
> When I run this scripts from a cron-job, the script fail with theses
> messages : 
> 
> rsync: failed to connect to remote-node: Connection refused (111)
> rsync error: error in socket IO (code 10) at clientserver.c(94) 
> 
> What's happen ? 
> 
> thanks 
> 
>         Stéphane 
> -----------------------------------
> Stéphane PURNELLE                         [EMAIL PROTECTED]
> Service Informatique       Corman S.A.           Tel : 00 32 087/342467
> ----- Message de Jan-Benedict Glaw <[EMAIL PROTECTED]> sur Tue, 23 
> Oct 2007 23:18:37 +0200 -----
> 
> Pour:
> 
> [EMAIL PROTECTED]
> 
> cc:
> 
> rsync@lists.samba.org
> 
> Objet:
> 
> Re: Script work fine on sheel, but no on a cron job
> 
> On Tue, 2007-10-23 15:59:29 +0200, [EMAIL PROTECTED] 
> <[EMAIL PROTECTED]> wrote:
> > I make a script which make some call of rsync to connect to a rsync 
> > daemon.
> > When I run on a shell, the script work fine.
> > 
> > When I run this scripts from a cron-job, the script fail with theses 
> > messages : 
> > 
> > rsync: failed to connect to remote-node: Connection refused (111)
> > rsync error: error in socket IO (code 10) at clientserver.c(94)
> 
> Care to show us the script?  You'd debug this by either tcpdump'ing
> the network traffic or by strace'ing one (or both) instances of the
> rsync client/daemon.
> 
> MfG, JBG
> 
> -- 
>       Jan-Benedict Glaw      [EMAIL PROTECTED] +49-172-7608481
>  Signature of:                    Don't believe in miracles: Rely on 
them!
>  the second  :
> [rattachement "signature.asc" supprimé par Stéphane 
PURNELLE/COR/SOPARIND] 
....
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to