Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nfs server problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Thu Apr 25, 2002 10:59 pm    Post subject: nfs server problem Reply with quote

i put this line in /etc/exports:
/usr/local 192.168.0.0/255.255.255.0(ro,no_root_squash)

and then started the portmap, nfs, and nfs mount services, but when i try to mount the nfs volume on a remote machine, i get this error:
mount: RPC: Program not registered

i'm assuming i need to set some permissions in something similar to a hosts.allow file, but i don't know where.

thanks
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Apr 25, 2002 11:12 pm    Post subject: Reply with quote

On the localhost what does 'exportfs' show?
Back to top
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Thu Apr 25, 2002 11:19 pm    Post subject: solved! Reply with quote

ok, it works now!

here's what i did:
i set my /etc/exports file correctly, like i listed above.
then in /etc/rc.conf and /etc/conf.d/nfs i set the lines that said NFSSERVER to yes.

then i made sure nfsmount, nfs, and portmap were all stopped.

then i typed this:
/etc/init.d/nfsmount stop
/etc/init.d/nfs stop
/etc/init.d/portmap stop
/etc/init.d/portmap start
/etc/init.d/nfs start

Something must not have seen all the changes until i shut all the servers down and restarted them.
Back to top
View user's profile Send private message
Cr0t
l33t
l33t


Joined: 27 Apr 2002
Posts: 881
Location: USA

PostPosted: Tue Apr 30, 2002 9:42 pm    Post subject: Reply with quote

thX dude... I had the same problem :lol:
_________________
cya
    ©®0t
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum