Re: starting nfs - allow/deny - more
Alvin,
Thanks for trying - I wish I had good news to report. I changed the
/etc/exports, /etc/hosts.deny and /etc/host.allow per your suggestions
knuth:/etc# ps ax |grep portmap
85 ? S 0:00 /sbin/portmap
678 pts/3 S 0:00 grep portmap
knuth:/etc# ps ax |grep rpc
170 ? S 0:00 /sbin/rpc.statd
200 ? S 0:00 /usr/sbin/rpc.mountd
here's tail on /var/log/messages:
Apr 16 14:43:16 knuth rpc.mountd: authenticated mount request from
feynman.amplepower.com:862 for /tmp (/)
Apr 16 14:43:16 knuth rpc.mountd: getfh failed: Function not implemented
Is the /tmp (/) a concern?
knuth:/etc# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda3 497699 14352 457643 3% /
/dev/hda5 77742 12618 61110 17% /root
/dev/hda2 31109 892 28611 3% /boot
/dev/hda6 3027936 655404 2218712 23% /usr
/dev/hda7 5043900 156 4787512 0% /home
/dev/hda8 3027936 45284 2828832 2% /var
/dev/hda9 3027936 44 2874072 0% /tmp
/dev/hda10 10079928 20 9567840 0% /lfs
/dev/hda11 10079928 20 9567840 0% /leaf
/dev/hda13 3952852 20 3752024 0% /play
/dev/hdb1 13044696 20 12382000 0% /hdb
I could find getfh.o on the system and it wasn't in the map. I tryed
apt-get on nfs-utils and nfs-util because I did see reference to `it'
somewhere in all the docs I've read since last Thursday.
--
Sincerely,
David Smead
http://www.amplepower.com.
On Tue, 16 Apr 2002, Alvin Oga wrote:
>
> hi ya david
>
> what is the output of
> knuth# /etc/init.d/portmap start
> - you need to have portmapper and rpc.mountd running
>
> ---------------
>
> simplify your problem by starting from scratch...
>
> add/change to the following lines in the three files
>
> knuth# vi /etc/exports
> /tmp 192.168.8.0/255.255.255.0(rw)
>
> knuth# /etc/init.d/nfs-server stop ; sleep 1 ; /etc/inet.d/nfs-server
> start
>
> knuth# vi /etc/hosts.deny
> ALL: ALL
>
> knuth# vi /etc/hosts.allow
> portmap: 192.168.8.0/255.255/255.0
> rpc.mountd: 192.168.8.0/255.255.255.0
>
> knuth# /etc/init.d/inetd stop ; sleep 1 ; /etc/init.d/inetd start
>
>
> #
> # try it again
> #
> feynman# /etc/init.d/portmap stop ; sleep 1 ; /etc/init.d/portmap start
> feynman# /etc/init.d/nfs-client stop ; sleep 1 ; /etc/init.d/nfs-client start
> feynman# mount knuth:/tmp /mnt/test
>
>
> have fun
> alvin
>
>
> On Tue, 16 Apr 2002, David Smead wrote:
>
> > Alvin,
> >
> > smead@knuth:~$ cat /proc/filesystems
> > ext2
> > msdos
> > vfat
> > nodev proc
> > nodev nfs
>
> good
>
> > smead@knuth:/boot$ grep -i nfs config-2.2.19-idepci
> > CONFIG_NFS_FS=y
>
> good
>
> > Apr 16 09:58:38 knuth kernel: Linux PCMCIA Card Services 3.1.22
> > Apr 16 09:58:38 knuth kernel: kernel build: 2.2.19-idepci #1 Sat May 19
> > 11:34$
> good
>
> > Starting NFS Common utilities statd lockd
>
> bad
>
> > <snip>
> > Starting NFS kernel daemon:nfsdnfssvc: function not implemented mountd
>
> bad,,,,
>
>
>
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: