LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2004, 09:21 AM   #1
kamesh3183
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
problem with nfs


hi..
i have setup nfs sever on my machine and i wanted to test it..but it is not working..iam providing all messages &files which are required..please help me with this problem

[root@localhost root]# service nfs status
rpc.mountd (pid 3370) is running...
nfsd (pid 3362 3361 3360 3359 3358 3357 3356 3355) is running...
rpc.rquotad (pid 3351) is running...

my /etc/exports file looks like this
/share *(rw)
/var *(rw)
/root *(rw)

and i havenot made any entries in /etc/hosts.allow and /etc/hosts.deny.

[root@localhost root]# mount 127.0.0.1:/root /mnt/share
mount: 127.0.0.1:/root failed, reason given by server: Permission denied

and /root directory permissions are like this:drwxrwxrwx

please help me..
 
Old 04-02-2004, 10:29 AM   #2
hp_tux
Member
 
Registered: Mar 2004
Location: Germany
Distribution: Slackware 14
Posts: 87

Rep: Reputation: 15
Hello,

Quote:
mount 127.0.0.1:/root /mnt/share
hmm, I'm not quite sure, but I think, the problem is the IP address! "127.0.0.1" is "localhost" and can't be used in a network. You have to use the hostname or the IP address assigned to your NIC instead.

cu

hp_tux
 
Old 04-03-2004, 04:18 AM   #3
kamesh3183
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Original Poster
Rep: Reputation: 0
thanks
 
Old 04-03-2004, 08:26 AM   #4
Veteq
Member
 
Registered: Feb 2004
Posts: 155

Rep: Reputation: 30
the ip is a problem,
this is how mine are mounted

mount -t nfs ip-address:/user/share ./localmnt
 
Old 04-17-2004, 06:13 PM   #5
cswor
Member
 
Registered: Apr 2004
Location: TN
Distribution: Only used RH but have heard good things about Mandrake. BSD might be interesting.
Posts: 46

Rep: Reputation: 15
i was going to write some instructions, but its probably just as well to point to a how-to:

http://nfs.sourceforge.net/nfs-howto/intro.html

it looks like it should help. on the down side, i've been trying to do essentially the same thing and have a Server: permission denied problem.

there appears to be a lot of good info in these forums. good luck.
 
Old 07-25-2004, 12:51 AM   #6
sonesay
Member
 
Registered: May 2004
Location: AUCKLAND
Distribution: Fedora core 2 , RH9
Posts: 64

Rep: Reputation: 15
I have the same problem.. It was mounting ok a few days ago. I dunno what could of changed
 
  


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
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 06:16 AM
nfs client on knoppix 3.9 - problem mounting nfs drive Rod Butcher Linux - Networking 1 09-21-2005 05:18 AM
NFS Problem systemhackerz Red Hat 21 08-02-2005 04:09 AM
Lan configuration problem - NFS boot problem - RX&TX packets errors 242VDM242 Linux - Networking 4 11-25-2004 02:35 PM
NFS problem kushalkoolwal Linux - Networking 4 03-01-2004 09:15 AM


All times are GMT -5. The time now is 06:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration