Mail Archives: cygwin/2012/08/12/18:47:20
--------------010207020808040508020809
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hello:
I have a WinXP with cygwin and a couple Fedora 16 boxes on my LAN. Every
once in a awhile, I am unable to ssh/scp/telnet from the Fedora boxes to
the cygwin box (port 22 connection refused). I've never been able to get
a reproducible case and it usually corrects itself the next time I power
up everything.
The WinXP can ssh/scp to the Fedora boxes and the Fedora boxes can all
ssh/scp to each other.
It happened yesterday and I could not get it to start working no matter
how many reboots I did on both machines. I gave up for the night before
I did something stupid, came back today, and it is all working. The only
"weak clue" I have is that I remember twice not being able to do it and
noticing that I hadn't open a cygwin shell on the WinXP box. Shouldn't
make any difference as when it is working, it doesn't matter whether I
have a cygwin shell open. (right?)
I was able to confirm that the problem is most likely on cygwin side
(not positive, but likely) as a self-referring ssh into myself on cygwin
failed.
I can trap an error message from iptables on the Fedora side (yoyo is
the F16 box, 192.168.2.14 is the WinXP cygwin box):
+++
Aug 11 23:43:43 yoyo kernel: [ 779.725071] <IPTABLES: LOG REJECT>
IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1e:8c:c3:21:d6:08:00
SRC=192.168.2.14 DST=192.168.2.255 LEN=229 TOS=0x00 PREC=0x00 TTL=128
ID=33554 PROTO=UDP SPT=138 DPT=138 LEN=209
Aug 11 23:43:48 yoyo kernel: [ 785.386501] <IPTABLES: LOG REJECT>
IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1e:8c:c3:21:d6:08:00
SRC=192.168.2.14 DST=192.168.2.255 LEN=234 TOS=0x00 PREC=0x00 TTL=128
ID=33555 PROTO=UDP SPT=138 DPT=138 LEN=214
+++
I have no idea how to get any log messages on the cygwin side (google
searches indicate that iptables in not available on cygwin/windows). I
did a google on "cygwin ssh intermittent" and saw reported problems, but
none seemed the same (the closest was a "Connection timed out" but I
couldn't find a trail for replies to it).
Any suggestions about how to try to figure it out? (based on the
assumption that I am not able to repeat the failure and I may have to
wait until it decides to show itself again)
Thanks in advance,
Paul
--------------010207020808040508020809
Content-Type: text/plain; charset=windows-1252;
name="cygcheck_12aug12.out"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="cygcheck_12aug12.out"
Usage: cygcheck [-v] [-h] PROGRAM
cygcheck -c [-d] [PACKAGE]
cygcheck -s [-r] [-v] [-h]
cygcheck -k
cygcheck -f FILE [FILE]...
cygcheck -l [PACKAGE]...
cygcheck -p REGEXP
cygcheck --delete-orphaned-installation-keys
cygcheck --enable-unique-object-names Cygwin-DLL
cygcheck --disable-unique-object-names Cygwin-DLL
cygcheck --show-unique-object-names Cygwin-DLL
cygcheck -h
List system information, check installed packages, or query package database.
At least one command option or a PROGRAM is required, as shown above.
PROGRAM list library (DLL) dependencies of PROGRAM
-c, --check-setup show installed version of PACKAGE and verify integrity
(or for all installed packages if none specified)
-d, --dump-only just list packages, do not verify (with -c)
-s, --sysinfo produce diagnostic system information (implies -c)
-r, --registry also scan registry for Cygwin settings (with -s)
-k, --keycheck perform a keyboard check session (must be run from a
plain console only, not from a pty/rxvt/xterm)
-f, --find-package find the package to which FILE belongs
-l, --list-package list contents of PACKAGE (or all packages if none given)
-p, --package-query search for REGEXP in the entire cygwin.com package
repository (requires internet connectivity)
--delete-orphaned-installation-keys
Delete installation keys of old, now unused
installations from the registry. Requires the right
to change the registry.
--enable-unique-object-names Cygwin-DLL
--disable-unique-object-names Cygwin-DLL
--show-unique-object-names Cygwin-DLL
Enable, disable, or show the setting of the
"unique object names" setting in the Cygwin DLL
given as argument to this option. The DLL path must
be given as valid Windows(!) path.
See the users guide for more information.
If you don't know what this means, don't change it.
-v, --verbose produce more verbose output
-h, --help annotate output with explanatory comments when given
with another command, otherwise print this help
-V, --version print the version of cygcheck and exit
Note: -c, -f, and -l only report on packages that are currently installed. To
search all official Cygwin packages use -p instead. The -p REGEXP matches
package names, descriptions, and names of files/paths within all packages.
--------------010207020808040508020809
Content-Type: text/plain; charset=us-ascii
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
--------------010207020808040508020809--
- Raw text -