LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 03-09-2005, 02:54 PM   #1
calebsg
LQ Newbie
 
Registered: Nov 2001
Posts: 13

Rep: Reputation: 0
Unable to mount via NFS


Two RH computers. Server is 69.69.1.76. Client is 69.69.1.77. Command to mount is:

Code:
mount -t nfs 69.69.1.76:/demos/rundir /mnt/mondo_rundir
Error message is: mount: RPC: Timed out

Can anyone give me any ideas?

Here is the rpcinfo query from the client:
rpcinfo -p 69.69.1.76
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32768 status
391002 2 tcp 32769 sgi_fam
100011 1 udp 617 rquotad
100011 2 udp 617 rquotad
100011 1 tcp 620 rquotad
100011 2 tcp 620 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100021 1 udp 32774 nlockmgr
100021 3 udp 32774 nlockmgr
100021 4 udp 32774 nlockmgr
100005 1 udp 4003 mountd
100005 1 tcp 4003 mountd
100005 2 udp 4003 mountd
100005 2 tcp 4003 mountd
100005 3 udp 4003 mountd
100005 3 tcp 4003 mountd

iptables file on the server:
# Firewall configuration written by lokkit
# Manual customization of this file is not recommended.
# Note: ifup-post will punch the current nameservers through the
# firewall; such entries will *not* be listed here.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Lokkit-0-50-INPUT - [0:0]
-A INPUT -j RH-Lokkit-0-50-INPUT
-A FORWARD -j RH-Lokkit-0-50-INPUT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 80 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 21 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 22 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 23 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 139 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 137:138 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -i lo -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 0:1023 --syn -j REJECT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 2049 --syn -j REJECT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 0:1023 -j REJECT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 2049 -j REJECT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 6000:6009 --syn -j REJECT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 7100 --syn -j REJECT
COMMIT

Exports file on server:
/demos/rundir 69.69.1.77(ro)

hosts.allow on server:
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
portmap: 69.69.1.0/255.255.255.0
lockd: 69.69.1.0/255.255.255.0
rquotad: 69.69.1.0/255.255.255.0
mountd: 69.69.1.0/255.255.255.0
statd: 69.69.1.0/255.255.255.0


hosts.deny on server:
#
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow. In particular
# you should know that NFS uses portmap!
portmap: ALL
mountd: ALL
lockd: ALL
rquotad: ALL
statd: ALL

/etc/sysconfig/nfs file:
STATD_PORT=4001
LOCKD_TCPPORT=4002
LOCKD_UDPPORT=4002
MOUNTD_PORT=4003

I'd really appreciate some help if anyone had any suggestion as to why this isn't working.

TIA Caleb
 
Old 03-09-2005, 07:27 PM   #2
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
Just a wild guess (I'm not familiar with RH), but did you give permissions on the server to mount nfs with the /etc/exports file?
 
Old 03-10-2005, 08:24 AM   #3
calebsg
LQ Newbie
 
Registered: Nov 2001
Posts: 13

Original Poster
Rep: Reputation: 0
How do you mean? the /rundir folder is set to drwxrwxrwx. exports file is -rw-r--r--

Or had you something else in mind?

Thanks
Caleb
ps. what I'm trying to do is mount this folder on the client box which is running Apache so that I can call pages from it through a webserver. I don't have Apache (and don't want it) on the [nfs] server box.
 
Old 03-11-2005, 08:37 PM   #4
calebsg
LQ Newbie
 
Registered: Nov 2001
Posts: 13

Original Poster
Rep: Reputation: 0
Bump: Still stuck, would really like to get this going.
Thanks.
 
  


Reply



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
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
Unable To Create LAN Using NFS numbersix Linux - Newbie 7 02-15-2005 07:56 AM
Mount Nfs! UltraSoul Linux - Networking 3 01-03-2005 08:48 AM
can't access ntfs mount through nfs mount bezoomny Linux - Networking 9 04-14-2004 10:25 AM

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

All times are GMT -5. The time now is 02:45 PM.

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