Code:
[root@Meg root]# /etc/init.d/nfs start
Starting NFS services: [ OK ]
Starting NFS quotas: Cannot register service:
RPC: Unable to receive; errno = Connection refused
rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp).
[FAILED]
Starting NFS daemon:
(at this point it does nothing for several minutes,
and I have to press Ctrl+C to stop it)
Each time that you start the NFS service, a dynamic port number is assigned to nfsd. This assignment is made through the 'Portmapper' daemon. So, before starting NFS, you need to switch on the portmapper service...In Red Hat 8/9, you can do that with
service portmap start
and If you want portmapper to start everytime at startup then as root
chkconfig portmap on
Now once portmapper gets running, you can start your NFS server
service nfs start
To start NFS at system startup, as root, give the command -
chkconfig nfs on
Please note that for SUSE, you may need to use
/etc/rc.d/init.d/portmap start
/etc/rc.d/init.d/nfs start
Hope that helps..