I have installed Slackware using NFS previously but now I can't. The nfs server machine which I used successfully before, has the following config files:
/etc/exports:
Code:
/mnt/cdrom 192.168.1.0/24(ro,no_subtree_check)
/etc/hosts.allow:
Code:
portmap: 192.168.1.0/24
rquotad: 192.168.1.1 , 192.168.1.2
mountd: 192.168.1.1 , 192.168.1.2
ps -A shows that nfsd,portmap,statd,quotas, and lockd are running
running exportfs command reveals:
Code:
/mnt/cdrom 192.168.1.0/24
I am booting nfs client from slackware 11 bare.i,install.1,install.2 I then
load pcmcia.dsk and network.dsk which gets my 3com nic up and running. I can
then run:
Code:
ifconfig eth0 192.168.1.2 up
and ping my router and the nfs server succesfully.
I then run /sbin/rpc.portmap then mkdir /mount
mount 192.168.1.101:/mnt/cdrom /mount fails with the following error:
Code:
mount: RPC: Program not registered
A google search revealed that this could be due to rpc.portmap not running but ps -A shows that it is...:
Code:
ps -A |grep rpc
2125 ? 00:00:00 rpc.portmap
2134 ? 00:00:00 rpc.statd
2137 ? 00:00:00 rpc.rquotad
2140 ? 00:00:00 rpciod/0
2150 ? 00:00:00 rpc.mountd
also the command rpcinfo -p on the server shows:
Code:
rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 617 status
100024 1 tcp 620 status
100011 1 udp 619 rquotad
100011 2 udp 619 rquotad
100011 1 tcp 622 rquotad
100011 2 tcp 622 rquotad
100021 1 udp 1025 nlockmgr
100021 3 udp 1025 nlockmgr
100021 4 udp 1025 nlockmgr
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100021 1 tcp 4451 nlockmgr
100021 3 tcp 4451 nlockmgr
100021 4 tcp 4451 nlockmgr
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100005 1 udp 630 mountd
100005 1 tcp 633 mountd
100005 2 udp 630 mountd
100005 2 tcp 633 mountd
100005 3 udp 630 mountd
100005 3 tcp 633 mountd
How can I further troubleshoot this?
/var/log/messages didn't have any usefull info.
I use shorewall firewall but I have disabled it with chmod -x /etc/rc.d/rc.firewall.