LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-15-2005, 04:09 PM   #1
logosys
Member
 
Registered: Jul 2005
Location: Texas
Distribution: RHEL4 - ES
Posts: 178

Rep: Reputation: 31
Can't connect to NFS Server


Howdy,
I'm experimenting with setting up an NFS server, but I can't seem to connect to it once I have it set up. Here's what I did

edited /etc/exports to say :
Code:
/srv/NFS *(ro,no_root_squash)
I then restarted the NFS daemon
Code:
#/sbin/service nfs restart
And got green across the board. Everything should be set, but I get:
Code:
#mount 193.168.1.102:/srv/ /net/
mount to NFS server '193.168.1.102' failed: server is down.
I checked the server to see what the status:
Code:
]# /sbin/service --status-all
acpid (pid 2393) is running...
amd is stopped
anacron is stopped
atd (pid 2583) is running...
Configured Mount Points:
------------------------

Active Mount Points:
--------------------
hcid is stopped
sdpd is stopped
hidd is stopped
cpuspeed is stopped
crond (pid 2538) is running...
cupsd (pid 19563) is running...
cups-config-daemon (pid 2624) is running...
dc_client is stopped
dc_server is stopped
Device not specified in /etc/sysconfig/diskdump
gpm (pid 2528) is running...
hald (pid 2635) is running...
ptal-init is stopped.
Table: filter
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
RH-Firewall-1-INPUT  all  --  0.0.0.0/0            0.0.0.0/0

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
RH-Firewall-1-INPUT  all  --  0.0.0.0/0            0.0.0.0/0

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain RH-Firewall-1-INPUT (2 references)
target     prot opt source               destination
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           icmp type 255
ACCEPT     esp  --  0.0.0.0/0            0.0.0.0/0
ACCEPT     ah   --  0.0.0.0/0            0.0.0.0/0
ACCEPT     udp  --  0.0.0.0/0            224.0.0.251         udp dpt:5353
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:631
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:22
REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited

irattach is stopped
irqbalance is stopped
lisa is stopped
mdmpd is stopped
dbus-daemon-1 (pid 3425 2602) is running...
/etc/init.d/microcode_ctl: microcode device /dev/cpu/microcode doesn't exist?
Server address not specified in /etc/sysconfig/netdump
netplugd is stopped
Configured devices:
lo eth0 eth1
Currently active devices:
lo eth1
NetworkManager is stopped
rpc.mountd (pid 8566) is running...
nfsd (pid 8562 8561 8558 8557 8556 8555 8554 8553) is running...
rpc.rquotad (pid 8549) is running...
rpc.statd (pid 2278) is running...
nscd is stopped
ntpd is stopped
portmap (pid 6896) is running...
Process accounting is disabled.
rhnsd (pid 2614) is running...
rpc.idmapd (pid 2311) is running...
saslauthd is stopped
sendmail (pid 2517 2509) is running...
smartd (pid 2383) is running...
snmpd is stopped
snmptrapd is stopped
spamd (pid 18539 18538 18537 18536 18535 18533) is running...
sshd (pid 2474) is running...
syslogd (pid 2233) is running...
klogd (pid 2237) is running...
Xvnc is stopped
winbindd is stopped
xfs (pid 2564) is running...
xinetd (pid 2489) is running...
ypbind is stopped
Can anyone help me sort through this and get my NFS up and running? Thanks so much!
 
Old 09-15-2005, 04:32 PM   #2
overflowed
LQ Newbie
 
Registered: Oct 2003
Location: Germany - Berlin
Distribution: Debian GNU / Linux
Posts: 8

Rep: Reputation: 0
first you need to have portmap running,
than may you have to run exportfs,
but first check portmap
also have a look
http://nfs.sourceforge.net/nfs-howto/server.html
 
Old 09-15-2005, 04:37 PM   #3
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773
Blog Entries: 1

Rep: Reputation: 34
Post

Firzst flush iptables by #iptables -F .then,
chkconfig --level 35 nfs on
chkconfig --level 35 portmap on
/etc/exports
code:

/srv/NFS *(ro,sync,no_root_squash)
save
#service nfs restart
#rpcinfo -p localhost will show whether it runs or not
in client machine,


code:

#mount 193.168.1.102:/srv/ /net/
mount to NFS server '193.168.1.102' failed: server is down.

first,make sure client machine and server pings.
 
  


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
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM
connect two pc's with nfs rosariowong Slackware 8 04-22-2005 06:00 PM
SuSE 9.0 NFS client with RHL 7.3 NFS server ocjacob Linux - Networking 0 02-01-2005 01:01 PM
windows client, linux nfs server how to connect feetyouwell Linux - Software 1 06-09-2004 03:35 AM

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

All times are GMT -5. The time now is 10:32 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