Re: [SLUG] nfs and Debian what am I missing

From: Matt Miller (Matt.Miller@mptotalcare.com)
Date: Mon Aug 11 2003 - 16:57:10 EDT


On Mon, 2003-08-11 at 16:09, Michael Manchester wrote:
> Here's what I get.
> tango:~# netstat -pnl|egrep "nfsd|mountd"
> tcp 0 0 0.0.0.0:4323 0.0.0.0:*
> LISTEN
> 19611/rpc.mountd
> udp 0 0 0.0.0.0:1045 0.0.0.0:*
> 19611/rpc.mountd

It looks like nfsd isn't listening. I assume a -

    $ ps axf|grep nfsd|grep -v grep
    
- returns no results either.

Have you tried manually launching (as root ) /usr/sbin/rpc.nfsd from a
command prompt? If you receive an error, this may be an indication of a
lack of kernel support for nfsd. If you receive no errors, check ps
again to see if nfsd is running.

> tango:~# showmount -e
> Export list for tango:
> / 192.168.1.0/255.255.255.0
> /etc 192.168.1.0/255.255.255.0
> /usr 192.168.1.0/255.255.255.0
> /var 192.168.1.0/255.255.255.0
> /data 192.168.1.0/255.255.255.0
> /data/kickstart 192.168.1.0/255.255.255.0
> /home 192.168.1.0/255.255.255.0

Looks OK.

> tango:~# modprobe nfsd
> modprobe: Can't locate module nfsd
> tango:~# lsmod
> Module Size Used by
> af_packet 6136 0 (unused)

What does the following command return?
 
    $ find /lib/modules/`uname -r`/ -name "nfsd*"

If the kernel module exists, you should find it somewhere in that
directory tree.
    
If not, nfsd support could be already compiled into the kernel; look for
something similar to the following in your /var/log/kern.log.
 
    "Installing knfsd (copyright (C) 1996 okir@monad.swb.de)"

If it is already loaded in the kernel, then go back to the question
about what happens when you run /usr/sbin/rpc.nfsd from a command
prompt.

-- 

Matt Miller Systems Administrator MP TotalCare gpg public key id: 08BC7B06

-- Insanity in individuals is something rare - but in groups, parties, nations and epochs, it is the rule. -- Nietzsche


----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:27:19 EDT