Thomas Lambert
2001-Nov-06 07:09 UTC
Failed to dup/close : The descriptor is a file, not a socket
I am getting this error on a Win98SE pc, but not on WinNT4 or Linux Redhat 7.1 or 7.2. Failed to dup/close : The descriptor is a file, not a socket The command I used was rsync -e ssh gas.exe 10.105.50.180:src/ It works like I said on NT4 and from my Linux pc. I have cygwin installed on the win98 and NT. Rsync is version 2.4.6 Is it just because Win9x SU**s? Also where can I get a list of environment variables that I can use? I didn't see a list of them in the MAN or readme. Thanks Thomas Lambert VP DSC Associates, Inc. thomas@dscassociates.com
tim.conway@philips.com
2001-Nov-06 07:40 UTC
Failed to dup/close : The descriptor is a file, not a socket
[This email is either empty or too large to be displayed at this time]
David Bolen
2001-Nov-06 09:26 UTC
Failed to dup/close : The descriptor is a file, not a socket
Thomas Lambert [thomas@dscassociates.com] writes:> I am getting this error on a Win98SE pc, but not on WinNT4 or Linux Redhat > 7.1 or 7.2. > > Failed to dup/close : The descriptor is a file, not a socket > > The command I used was > > rsync -e ssh gas.exe 10.105.50.180:src/ > > It works like I said on NT4 and from my Linux pc. I have cygwin installed > on the win98 and NT. Rsync is version 2.4.6 Is it just because Win9x > SU**s?Probably at least partially :-) But are you running the same Cygwin release on both your win98 and NT boxes? I believe this problem may have started showing up with the 1.3.3 Cygwin DLL. I think reverting to 1.3.2 would fix it although I don't run either of those yet on my production systems (not that they're bad, I'm just behind). There was some discussion on the Cygwin mailing list on fixing this in the rsync source (perhaps by adding a shutdown() call), but I also think the Cygwin developers are trying to resolve it in the 1.3.4 release. -- David /-----------------------------------------------------------------------\ \ David Bolen \ E-mail: db3l@fitlinxx.com / | FitLinxx, Inc. \ Phone: (203) 708-5192 | / 860 Canal Street, Stamford, CT 06902 \ Fax: (203) 316-5150 \ \-----------------------------------------------------------------------/
Thomas Lambert
2001-Nov-07 06:09 UTC
Failed to dup/close : The descriptor is a file, not a socket
I just downloaded the latest cygwin - 1.3.4 and it fixed my problem on my win98 pc. :-) I have a new question now. I have 12 pc servers (NT4) that only have dialup access to the internet. Is there a way I can have them automatically login when they run rsync (through ssh) to my Linux Server (DSL connection)? I was looking at the ssh help/man pages and it said somthing about /etc/ssh_known_hosts and $HOME/.ssh/known_hosts. But since they don't have a "fixed" ip address, what do I have to do? Is it possible? Can I just use their host/domain names? Any help would be GREAT! Thanks. Thomas Lambert VP DSC Associates, Inc. thomas@dscassociates.com ----- Original Message ----- From: "Thomas Lambert" <thomas@dscassociates.com> To: <rsync@lists.samba.org> Sent: Monday, November 05, 2001 3:09 PM Subject: Failed to dup/close : The descriptor is a file, not a socket> I am getting this error on a Win98SE pc, but not on WinNT4 or Linux Redhat > 7.1 or 7.2. > > Failed to dup/close : The descriptor is a file, not a socket > > The command I used was > > rsync -e ssh gas.exe 10.105.50.180:src/ > > It works like I said on NT4 and from my Linux pc. I have cygwin installed > on the win98 and NT. Rsync is version 2.4.6 Is it just because Win9x > SU**s? > > Also where can I get a list of environment variables that I can use? I > didn't see a list of them in the MAN or readme. > > Thanks > Thomas Lambert > VP > DSC Associates, Inc. > thomas@dscassociates.com > > >
tim.conway@philips.com
2001-Nov-07 06:20 UTC
Failed to dup/close : The descriptor is a file, not a socket
The server doesn't care where the client connects from... if he stays static, your clients won't be hanging waiting to approve a new host key. no, host name will help... it goes by IP... any host can say it's you, but it takes a bit more work to spoof in on your IP, and MUCH more to steal the host key. As long as your dialup client intercepts the connection attempt and makes it before ssh or rsync times out, you're golden. Tim Conway tim.conway@philips.com 303.682.4917 Philips Semiconductor - Longmont TC 1880 Industrial Circle, Suite D Longmont, CO 80501 Available via SameTime Connect within Philips, n9hmg on AIM perl -e 'print pack(nnnnnnnnnnnn, 19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), ".\n" ' "There are some who call me.... Tim?" "Thomas Lambert" <thomas@dscassociates.com> Sent by: rsync-admin@lists.samba.org 11/06/2001 12:09 PM To: <rsync@lists.samba.org> cc: (bcc: Tim Conway/LMT/SC/PHILIPS) Subject: Re: Failed to dup/close : The descriptor is a file, not a socket Classification: I just downloaded the latest cygwin - 1.3.4 and it fixed my problem on my win98 pc. :-) I have a new question now. I have 12 pc servers (NT4) that only have dialup access to the internet. Is there a way I can have them automatically login when they run rsync (through ssh) to my Linux Server (DSL connection)? I was looking at the ssh help/man pages and it said somthing about /etc/ssh_known_hosts and $HOME/.ssh/known_hosts. But since they don't have a "fixed" ip address, what do I have to do? Is it possible? Can I just use their host/domain names? Any help would be GREAT! Thanks. Thomas Lambert VP DSC Associates, Inc. thomas@dscassociates.com ----- Original Message ----- From: "Thomas Lambert" <thomas@dscassociates.com> To: <rsync@lists.samba.org> Sent: Monday, November 05, 2001 3:09 PM Subject: Failed to dup/close : The descriptor is a file, not a socket> I am getting this error on a Win98SE pc, but not on WinNT4 or LinuxRedhat> 7.1 or 7.2. > > Failed to dup/close : The descriptor is a file, not a socket > > The command I used was > > rsync -e ssh gas.exe 10.105.50.180:src/ > > It works like I said on NT4 and from my Linux pc. I have cygwininstalled> on the win98 and NT. Rsync is version 2.4.6 Is it just because Win9x > SU**s? > > Also where can I get a list of environment variables that I can use? I > didn't see a list of them in the MAN or readme. > > Thanks > Thomas Lambert > VP > DSC Associates, Inc. > thomas@dscassociates.com > > >