delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/31/13:42:26

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B65CEF2.9020804@gmail.com>
Date: Sun, 31 Jan 2010 10:41:54 -0800
From: Brian Wolf <brw314 AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: sshd for running a cluster process
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi,

I don't know much about ports and networking things.  I am  using cygwin 
under Windows XP. I followed the cygwin directions for installing 
sshd,and I believe its  running, ie



$ ssh localhost
Last login: Sun Jan 31 09:37:39 2010 from 127.0.0.1:0.0


and ...



I    4220       1    4220       4596    2 1007 02:33:34 /usr/bin/bash
     2152       1    2152       2152    3 1007 09:37:35 /usr/bin/xterm
     5440    2152    5440       3928    4 1007 09:37:38 /usr/bin/bash
     2628    5440    2628       3468    4 1007 09:53:03 /usr/bin/ssh
     1608    3684    1608       5752    ?   18 09:53:05 /usr/sbin/sshd


I have an (open source) process I would like to run  that in theory 
creates and manages a cluster of computers using sshd under cygwin  The 
configuration file examples use ports 9000 and 9001,and I went with 
these, the configuration files look like:

<name>fs.default.name</name>
<value>hdfs://localhost:9000</value>
</property>
<property>
<name>mapred.job.tracker</name>
<value>localhost:9001</value>
</property>


However, when I run it, port 9000 isn't cooperating:



10/01/31 09:46:34 INFO ipc.Client: Retrying connect to server: 
localhost/127.0.0.1:9000. Already tried 0 time(s).
10/01/31 09:46:36 INFO ipc.Client: Retrying connect to server: 
localhost/127.0.0.1:9000. Already tried 1 ti



when I netstat  -an     I get::

     127.0.0.1:1327         ESTABLISHED
  TCP    127.0.0.1:1324         127.0.0.1:1328         ESTABLISHED
  TCP    127.0.0.1:1326         127.0.0.1:1324         ESTABLISHED
  TCP    127.0.0.1:1327         127.0.0.1:1324         ESTABLISHED
  TCP    127.0.0.1:1328         127.0.0.1:1324         ESTABLISHED
  TCP    127.0.0.1:1462         127.0.0.1:22           CLOSE_WAIT
  TCP    127.0.0.1:2874         127.0.0.1:6000         ESTABLISHED
  TCP    127.0.0.1:4664         0.0.0.0:0              LISTENING
  TCP    127.0.0.1:5152         0.0.0.0:0              LISTENING
  TCP    127.0.0.1:5152         127.0.0.1:1366         CLOSE_WAIT
  TCP    127.0.0.1:5354         0.0.0.0:0              LISTENING
  TCP    127.0.0.1:6000         127.0.0.1:2874         ESTABLISHED
  TCP    127.0.0.1:27015        0.0.0.0:0              LISTENING

port 9000 and 9001 don't show up. what do I do next? Do I need to do 
something to activate them,ot configure the process to run on other 
ports? I guess that ssh is a tcp process, and that works  only on 
certain ports?

Thanks,
Brian





--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019