Enhancement suggestion: improve the host not found error message
Dave Dykstra
dwd at bell-labs.com
Tue May 7 17:07:47 EST 2002
What operating system are you talking about? Solaris 2.7 reports
rsync: getaddrinfo: g45 873: no address associated with hostname.
and Linux kernel 2.4.18 reports
rsync: getaddrinfo: g45 873: Name or service not known
- Dave Dykstra
On Sat, May 04, 2002 at 12:06:42AM -0400, Chris Pepper wrote:
> When I feed a bogus hostname to rsync, it reports "Undefined
> error". It would be useful if instead it would say something more
> informative, like "Host not found".
>
>
> Thanks for rsync!
>
>
> Chris Pepper
> PS-Please cc: me on any replies -- I'm not a subscriber.
>
> >[imobile:~/Sites/cvs/apache-clone] pepper% rsync -CHaz --delete
> >--stats --progress g45::cvs-apache ~/Sites/cvs/apache-clone/
> >rsync: failed to connect to g45: Undefined error: 0
> >rsync error: error in socket IO (code 10) at clientserver.c(97)
> >[imobile:~/Sites/cvs/apache-clone] pepper% rsync --version
> >rsync version 2.5.5 protocol version 26
> >Copyright (C) 1996-2002 by Andrew Tridgell and others
> ><http://rsync.samba.org/>
> >Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
> > no IPv6, 32-bit system inums, 64-bit internal inums
> >
> >rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
> >are welcome to redistribute it under certain conditions. See the GNU
> >General Public Licence for details.
>
> --
> Chris Pepper: <http://www.reppep.com/~pepper/>
> Rockefeller University: <http://www.rockefeller.edu/>
>
> --
> To unsubscribe or change options:
> http://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
More information about the rsync
mailing list