LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-06-2005, 04:09 AM   #1
abhishek124
LQ Newbie
 
Registered: May 2005
Location: Bangalore,India
Distribution: Red Hat Linux Enterprise 3&4
Posts: 24

Rep: Reputation: 15
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 ]


__________________
 
Old 06-24-2005, 02:44 AM   #2
a1ex_007
LQ Newbie
 
Registered: Mar 2005
Location: Imphal
Distribution: Fedora Core 3 x86_64
Posts: 26

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to access home directory zillah Solaris / OpenSolaris 50 07-07-2005 07:39 AM
unable to mount /home dir in a client machine abhishek124 Linux - Networking 18 06-06-2005 07:57 AM
Home Network Setup Help Linux Server running Windoze XP clients + ADSL router BeaverusIV Linux - Networking 10 04-22-2005 04:07 PM
apache unable to access /home/*/public_html directory cavemanf16 Linux - Software 6 07-08-2004 05:43 AM
Unable to connect to RH9 server from Win XP clients gavinc Linux - Networking 0 08-19-2003 08:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration