manoj@hpldsla.HP.COM (Manoj Joshi) (08/17/89)
I am not able to mount a directory from a remote host onto my local
host using mount:
mount remote:/users/xxxx /users/xxxx/nfs_test
gives the error:
remote server not responding: RPC_PROG_NOT_REGISTERED
Now when I try running mountd on the remote by typing:
/usr/etc/rpc.mount
it complains with:
mountd: getsockname: Socket operation on non-socket
Any light on why this does not work? Is there is any
configuration missing? Any help will be greatly appreciated.
Manoj Joshi
manoj%hpldas5.HP.COM@hp-sdemanoj@hpldsla.HP.COM (Manoj Joshi) (08/22/89)
Thanks for everyone's response on the mail. But it still doesn't
work.
I added an entry for rpc.mountd in the /etc/inetd.conf of the
remote host. I also added an entry for the filesystem to be
exported in the remote host's /etc/exports directory. I also
verified that nfsd and rpc.mountd were up and running after
restarting inetd. (i restarted by first killing /etc/inetd -k,
and then again /etc/inetd). /etc/portmap is up and running too!
Now when I try to mount the directory on the remote host, by
typing:
/etc/mount host1:/users/manoj /users/manoj/nfs_test
I get a new error:
mount: access denied for host1:/users/manoj
The host1's /etc/exports file has the entry
/users/manoj
(which I presume should be enough for this example)
The host1's /etc/inetd.conf has the entry
rpc dgram udp wait root /usr/etc/rpc.mountd 100005 1 rpc.mountd
Since I restarted the inetd without rebooting the system, is there
something else that should have got updated? chris@wugate.wustl.edu (Chris Myers) (08/25/89)
In article <5200002@hpldsla.HP.COM> manoj@hpldsla.HP.COM (Manoj Joshi) writes: >[...] >Now when I try to mount the directory on the remote host, by >typing: > > /etc/mount host1:/users/manoj /users/manoj/nfs_test > >I get a new error: > > mount: access denied for host1:/users/manoj > >The host1's /etc/exports file has the entry > >/users/manoj >[...] Did you restart mountd after adding the /users/manoj entry to /etc/exports? Mountd caches the contents of the /etc/exports file when it is started up and will not notice that you added something to the export list... Chris Myers Software Engineer Office of the Network Coordinator Washington University (St. Louis, MO) n e w s f o d d e r
chuq@Apple.COM (Chuq Von Rospach) (08/25/89)
>Now when I try to mount the directory on the remote host, by >typing: > > /etc/mount host1:/users/manoj /users/manoj/nfs_test >I get a new error: > mount: access denied for host1:/users/manoj >The host1's /etc/exports file has the entry Are you running SunOS 4.0.X? If so, did you run the exportfs program to update the exports database? Prior to 4.0, changes to /etc/exports were seen immediately. STarting with 4.0, you have to run a program to write them into the database that the mountd reads. Chuq Von Rospach =|= Editor,OtherRealms =|= Member SFWA/ASFA chuq@apple.com =|= CI$: 73317,635 =|= AppleLink: CHUQ [This is myself speaking. No company can control my thoughts.]