Help with NIS+NFS in Squeeze
Dear,
Please, I'm confused!
I'm trying to configure the services NIS+NFS in a small network (7 PCs),
all running Squeeze.
The NIS service seems to be working but NFS don't mounts the /home
partition on the clients during boot.
But I can manually mount the /home partition on the clients with the
command:
mount 192.168.0.1:/home /home
I found the strange message in dmesg:
svc: failed to register lockdv1 RPC service (errno 97)
How can I discover what is wrong?
Thanks for any help.
Markos
markos@c2o.pro.br
----------------------------------------------------------------
PS: I followed the steps below to configure the NFS (Server):
apt-get install nfs-kernel-server
In file /etc/exports I included the line
/home/ 192.168.0.0/255.255.255.0(rw,sync,no_root_squash)
And started the nfs server with the command:
/etc/init.d/nfs-kernel-server start
------------------------------------------------------------
And NFS client:
apt-get install nfs-common
In file /etc/fstab I included the line
192.168.10.101:/home /home nfs
rw,bg,tcp,rsize=32768,wsize=32768,hard,nointr,nolock,noac,timeo=600,user,auto 0 0
-------------------------------------------------------------
And the followed steps to configure the NIS (Server):
apt-get install portmap
apt-get install nis
In /etc/hosts
192.168.0.1 servidor.pimentel.edu servidor
In /etc/defaultdomain
pimentel.edu
In /etc/ypserv.securenets
255.255.255.0 192.168.0.0
In /etc/default/nis
NISSERVER=master
NISCLIENT=false
And the command
/etc/init.d/nis stop
/etc/init.d/nis start
And the command
/usr/lib/yp/ypinit -m
servidor and CTRL+D
In the file /etc/ypserv.conf I included
dns: no
files: 30
slp: no
xfr_check_port: yes
In the file /etc/yp.conf I included
ypserver 192.168.0.1
Edited /var/yp/Makefile
MERGE_PASSWD=false
MERGE_GROUP=false
And after create new users run make at /var/yp
--------------------------------------------------------
And the followed steps to configure the NIS (Client):
apt-get install portmap
apt-get install nis
In file /etc/defaultdomain
pimentel.edu
In file /etc/yp.conf I included
ypserver 192.168.0.1
Then the commands
echo + >> /etc/passwd
echo + >> /etc/group
echo + >> /etc/shadow
echo + >> /etc/gshadow
Reply to: