This is the mail archive of the
mailing list for the Cygwin project.
RE: nfs-server 2.2.47-2
- From: "Michael Lemke, Sternwarte Bamberg, Phone: +49-951-9522216" <ai26 at sternwarte dot uni-erlangen dot de>
- To: cygwin at cygwin dot com
- Cc: ai26 at sternwarte dot uni-erlangen dot de
- Date: Fri, 21 Nov 2003 22:49:30 +0100
- Subject: RE: nfs-server 2.2.47-2
Igor Pechtchanski wrote
to: Michael Lemke
>On Fri, 21 Nov 2003, Michael Lemke wrote:
>> >> >Now I've tried to run the thing on W98 without any success. I just
>> >> >want it to play with it, so I am not concerned with any security or
>> >> stuff.
>> >> >Just a mount from a VMS box should work. But doesn't. I start all
>> >> >manually. First portmapper, then mountd, then nfsd. A netstat -a
>> >> doesn't
>> >> >show any listeners on nfsd, only portmap. telnet localhost nfsd gives
>> >> >connection refused. What am I doing wrong? Just W98? Or would fixing
>> >> >something in /etc/services help? nfs-server-config didn't work at all
>> >> >since cygrunsrv says it cannot run in DOS mode. I am doing this from
>> >> >a rxvt window with tcsh.
>> >> Isn't this the answer to your questions?
>> >> <http://cygwin.com/ml/cygwin/2003-11/msg00730.html>>
>> > Aside from the FAT32 issue, nfs-server is untested on Win9x.
>> > If you run into problems on that platform, I'd be happy to
>> > see diagnostics, and even happier to see a patch.
>> Thanks. The symptoms are pretty much as I outlined above. But
>> before to go any further, what's supposed to be in /etc/services?
>> Does it even read /etc/services or does it take it from the
>> Windows system directory?
>> What should I see with netstat -a?
>FYI, /etc/services on Cygwin should be a symlink to the Windows version of
>that file (ditto for /etc/hosts and /etc/protocols).
Actually, they are. I hadn't noticed.
>Also, Cygwin doesn't have a netstat, it's a Windows implementation, so
>it'll perforce be different from the Linux one.
Sure. But it shows me the listeners.
After doing manually in an rxvt/tcsh
I see these processes
PID PPID PGID WINPID TTY UID STIME COMMAND
71678853 1 71678853 4223288443 con 500 20:48:55 /usr/bin/RXVT
71596297 71678853 71596297 4222986767 0 500 20:49:02 /usr/bin/TCSH
72074065 1 72074065 4222893231 ? 500 20:53:06 /USR/SBIN/PORTMAP
72046605 1 72046605 4222920691 ? 500 20:53:38 /USR/SBIN/RPC.MOUNTD
72151529 1 72030025 4222815767 0 500 20:54:42 /USR/SBIN/RPC.NFSD
72134153 71596297 72134153 4222844427 0 500 20:54:46 /usr/bin/PS
and netstat -a shows
micha> netstat -a
Proto Local Address Foreign Address State
TCP micha:1027 MICHA:0 LISTENING
TCP micha:1620 MICHA:0 LISTENING
TCP micha:portmap MICHA:0 LISTENING
TCP micha:portmap MICHA:0 LISTENING
TCP micha:123 MICHA:0 LISTENING
TCP micha:1027 a400.sternwarte.uni-erlangen.de:ssh ESTABLISHED
TCP micha:137 MICHA:0 LISTENING
TCP micha:138 MICHA:0 LISTENING
TCP micha:nbsession MICHA:0 LISTENING
TCP micha:2313 MICHA:0 LISTENING
TCP micha:8080 MICHA:0 LISTENING
TCP micha:1715 MICHA:0 LISTENING
UDP micha:1620 *:*
UDP micha:portmap *:*
UDP micha:ntp *:*
UDP micha:nbname *:*
UDP micha:nbdatagram *:*
Trying to mount from a Linux box gives
stein:~ # mount -v -t nfs xx.xx.xx.xx:/ /root/micha
mount: RPC: Unable to receive; errno = Connection refused
/etc/exports has a line
/ *.xxxxx.xxxxx.xxxx(rw) trusty(rw,no_root_squash)
So, what do I need to test next? I'd expect some nfs listener process
to show in netstat.
Sternwarte Bamberg, University of Erlangen-Nürnberg, Germany
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html