error code 10 when using ::
Gav....
brightoncomputers at brightontown.com.au
Fri Jan 4 09:41:45 GMT 2008
Hi All, finally got round to trying this again....
> -----Original Message-----
> From: Matt McCutchen [mailto:matt at mattmccutchen.net]
> Sent: Wednesday, 2 January 2008 12:46 AM
> To: Gav....
> Cc: rsync at lists.samba.org
> Subject: Re: error code 10 when using ::
>
> On Tue, 2008-01-01 at 17:44 +0900, Gav.... wrote:
> > This works :
> >
> > sudo rsync -rtlzv --delete root at 123.456.789.000:/var/virtual/web
> > /usr/local/websites
> >
> > This does not :
> >
> > sudo rsync -rtlzv --delete root at 123.456.789.000::websites
> > /usr/local/websites
> >
> > I created a [websites] section in a new /etc/rsyncd.conf file then
> restarted
> > xinetd.
...
> In addition to creating /etc/rsyncd.conf , you may need to add the rsync
> daemon as an xinetd service. If you still can't get the daemon to work,
> please post the exact error message and your /etc/rsyncd.conf and xinetd
> configuration files so we can figure out what's wrong.
My xinetd.d/rsync file says :-
service rsync
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/bin/rsync
server_args = --daemon
log_on_failure += USERID
}
My /etc/rsyncd.conf file says :-
[websites]
path = /path/to/websites
comment = Customer Websites
Client Connect details
$ rsync -rtlzv 123.456.789.000::websites /var/local/websites
after about 2 minutes I get :-
rsync: failed to connect to 123.456.789.000: Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(104)
[receiver=2.6.9]
I can ping the server IP address no problem 100%
rsync --version reveals 2.6.3 on server
I haven't created a /var/log/rsync[d].log file so where else would I find
any logged errors from the server (if you need any).
Thanks for any help.
Gav...
More information about the rsync
mailing list