This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: different DLL....


Igor Pechtchanski <pechtcha <at> cs.nyu.edu> writes:

> 
> On Sat, 30 Jul 2005, Jason FU wrote:
> 
> > tsfu <at> Zeus ~
> > $ ps -e
> >       PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
> >       396       1     396        396    ?   18 15:10:03 /usr/bin/cygrunsrv
> >       812       1     812        812    ?   18 15:10:03 /usr/bin/cygrunsrv
> >      1264       1    1264       1264    ?   18 15:10:04 /usr/bin/cygrunsrv
> >      1760       1    1760       1760    ? 1019 15:10:06 /usr/bin/cygrunsrv
> 
> What do you think those 4 lines are?
> 

There should also be:
$ ps -e
      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
       91       1      91         91    ?   18 08:30:02 /usr/bin/cygrunsrv
       95      91      95        105    ?   18 08:30:03 /usr/sbin/cygserver
      110       1     110        110    ?   18 08:30:03 /usr/bin/cygrunsrv
      140       1     140        140    ?   18 08:30:03 /usr/bin/cygrunsrv
      136     110     136        151  con   18 08:30:03 /sbin/init
      148     140     148        153    ?   18 08:30:03 /usr/sbin/portmap
      157       1     157        157    ?   18 08:30:03 /usr/bin/cygrunsrv
      162     157     162        165    ?   18 08:30:04 /usr/sbin/sshd
      168       1     168        168    ?   18 08:30:04 /usr/bin/cygrunsrv
      149       1     149        149    ?   18 08:30:04 /usr/bin/cygrunsrv
      177     168     177        188    ?   18 08:30:05 /usr/sbin/rpc.mountd
      181     149     181        190    ?   18 08:30:05 /usr/sbin/rpc.nfsd
      212       1     212        212    ?   18 08:30:08 /usr/sbin/xinetd
I     250       1     250        250  con 11171 08:31:25 /usr/bin/bash
      266     250     266        258  con 11171 08:31:30 /usr/bin/sh
      255     266     266        275  con 11171 08:31:30 /usr/X11R6/bin/xinit
      241     255     241        259  con 11171 08:31:30 /usr/X11R6/bin/XWin
      242     255     242        290  con 11171 08:31:36 /usr/bin/xterm
I     301     242     301        213    0 11171 08:31:37 /usr/bin/bash
      325       1     325        337    1 11171 08:31:42 /usr/bin/xterm
      316     325     316        305    2 11171 08:31:43 /usr/bin/bash
      261     316     261        315    2 11171 09:18:00 /usr/bin/ps

I could start Cygwin services like init, xinetd, sshd, nfs-server and the
cygserver before and you could see that there is no more line like 

      177     168     177        188    ?   18 08:30:05 /usr/sbin/rpc.mountd
      181     149     181        190    ?   18 08:30:05 /usr/sbin/rpc.nfsd
      212       1     212        212    ?   18 08:30:08 /usr/sbin/xinetd
      162     157     162        165    ?   18 08:30:04 /usr/sbin/sshd
      148     140     148        153    ?   18 08:30:03 /usr/sbin/portmap
      136     110     136        151  con   18 08:30:03 /sbin/init
       95      91      95        105    ?   18 08:30:03 /usr/sbin/cygserver


> > And this confirms the services do not go up at all.
> >
> > tsfu <at> Zeus ~
> > $ telnet Zeus
> > Trying 218.190.210.33...
> > telnet: Unable to connect to remote host: Connection refused
> 
> Umm, no.  Which services?  This only confirms that you don't have a
> properly configured telnet server on Cygwin (seen in the above ps output
> as well).
> 

I've tried ssh as well. telnet works since I've set up xinetd too.

> > Please help. Thanks.
> 
> Try ssh'ing to your Cygwin machine -- since sshd is shown as running, that
> should work.  Alternatively, if you want telnet, setup inetd (you can use
> the iu-config script that comes with inetutils).
> 	Igor

tsfu@ITO2 ~
$ ssh ito2           
ssh: connect to host ito2 port 22: Connection refused

tsfu@ITO2 ~
$ 

Jason


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]