Chris Pepper
2002-May-03 21:14 UTC
Enhancement suggestion: improve the host not found error message
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/>
Dave Dykstra
2002-May-07 17:07 UTC
Enhancement suggestion: improve the host not found error message
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
Apparently Analagous Threads
- Apache handler?
- [Bug 1157] ssh-keygen doesn't handle DOS line breaks
- [Bug 1631] New: ./configure errors on missing headers are misleading on Linux
- [Bug 1781] New: Document how to use Solaris 10 /dev/random
- [Bug 1186] unprotected keys are not properly ignored