LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   unable to Mount server home directory to clients (https://www.linuxquestions.org/questions/linux-networking-3/unable-to-mount-server-home-directory-to-clients-330786/)

abhishek124 06-06-2005 04:09 AM

unable to Mount server home directory to clients
 
Hi
I have a nis server and i want to mount home directory.
in /etc/exports file i have done the following configuration
/home *(rw,sync)

chkconfig nfs on
chkconfig iptables off
chkconfig nfslock on
/sbin/rpc.statd start
service portmap start
chkconfig portmap on
chkconfig ypserv on

in vi /etc/hosts.allow
portmap : 132.0.0.0 : allow
ALL : 132.0.0.

when i mount the /home directory in a client machine
mount 132.0.0.2:/home /home

i get following error
Mount RPC: unable to receive errno=Connection refused
output from rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 1024 status
100024 1 tcp 1024 status
100004 2 udp 802 ypserv
100004 1 udp 802 ypserv
100004 2 tcp 805 ypserv
100004 1 tcp 805 ypserv
391002 2 tcp 1025 sgi_fam
100009 1 udp 983 yppasswdd
100011 1 udp 970 rquotad
100011 2 udp 970 rquotad
100011 1 tcp 973 rquotad
100011 2 tcp 973 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100021 1 udp 1027 nlockmgr
100021 3 udp 1027 nlockmgr
100021 4 udp 1027 nlockmgr
100021 1 tcp 1031 nlockmgr
100021 3 tcp 1031 nlockmgr

100021 4 tcp 1031 nlockmgr
100005 1 udp 988 mountd
100005 1 tcp 991 mountd
100005 2 udp 988 mountd
100005 2 tcp 991 mountd
100005 3 udp 988 mountd
100005 3 tcp 991 mountd

WELL ON CLIENTMACHINE, I DID THIS

[root@delapache root]# showmount -e 132.0.0.2
Export list for 132.0.0.2:
/home 132.0.0.0/24
[root@delapache root]# mount 132.0.0.2:/home /home
mount: RPC: Unable to receive; errno = Connection refused

ITS GIVING ME THE SAME ERROR, HOW EVER
when i restart the nfs service

[root@delnis root]# service nfs restart

Shutting down NFS mountd: [FAILED]
Shutting down NFS daemon: nfsd: last server has exited
nfsd: unexporting all filesystems
[ OK ]
Shutting down NFS quotas: [ OK ]
Shutting down NFS services: [ OK ]
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]


__________________

a1ex_007 06-24-2005 02:44 AM

Buddy I think ur problem is with your firewall. get a portscan of the server and see if all the necessary ports are open.


All times are GMT -5. The time now is 03:12 AM.