NFS, rpc.mountd, SLES 11 problems
Hi,
I've a problem with the rpc.mountd on SLES11.
I've configured the NFS-Server and than did a:
#rcnfsserver start
#Starting kernel based NFS server: mountd statd nfsd sm-notify
#exportfs -v
/home 192.168.100.100(rw,async,wdelay,root_squash,no_sub tree_check)
#tail /var/log/messages
Oct 21 11:28:34 xx049 rpc.statd[22895]: Version 1.1.3 Starting
Oct 21 11:28:34 xx049 rpc.statd[22895]: Flags:
Oct 21 11:28:35 xx049 kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Oct 21 11:28:35 xx049 kernel: NFSD: starting 90-second grace period
Oct 21 11:28:35 xx049 sm-notify[22905]: Already notifying clients; Exiting!
#rpcinfo -p
program vers proto port
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100021 1 udp 59460 nlockmgr
100021 3 udp 59460 nlockmgr
100021 4 udp 59460 nlockmgr
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 tcp 40344 nlockmgr
100021 3 tcp 40344 nlockmgr
100021 4 tcp 40344 nlockmgr
I can't fint the mountd process and some minutes after starting the NFS-Server I receive the following message on the console where I
started the server from:
rpc.mountd: sockbuf.c:89: ber_sockbuf_ctrl: Assertion `( (sb)->sb_opts.lbo_valid == 0x3 )' failed.
Trying to mount the exported /home from the client results in:
mount.nfs: mount to NFS server 'xx049:/home' failed: RPC Error: Program not registered
That's the missing mountd on the server side I guess.
Firewall is switched off!
#cat /etc/hosts.deny
ALL : ALL EXCEPT LOCAL
#cat /etc/hosts.allow
sshd : 192.168.100.0/24 127.0.0.1
statd : 192.168.100.0/24 127.0.0.1
rpcbind : 192.168.100.0/24 127.0.0.1
mountd : 192.168.100.0/24 127.0.0.1
Where's my mistake? :)
Thanks,
Michael
|