Can not mount remote path
I have a RHEL 5 server 192.168.0.1 , installed rsh , rsh-server
rpm -qa |grep rsh rsh-server-0.17-40.el5_7.1 rsh-0.17-38.el5 The r service has been started . rexec: on rlogin: on rsh: on rsync: on The path has been export for mount in /etc/exports and run exportfs -a /tmp/share 192.168.0.2(rw,sync) I have another server which is RHEL 3 , want to mount it but fail mount 192.168.0.1:/tmp/share /tmp/mount The error is asbelow . mount: mount to NFS server '192.168.0.1' failed: RPC Error: Program not regis tered. Can advise what is wrong ? what I need to check and re-config ? thanks |
well rsh has *NOTHING* to do with NFS for a start... which protocol do you want to use??
|
deleted
|
thx reply ,
I mixed up nfs and rsh . I just checked , the nfsd is started , but still can't be mounted by other server , can advise what is wrong ? thx /sbin/chkconfig --list |grep nfs nfs 0 off 1 off 2 on 3 on 4 on 5 on 6 off |
in my first post , I have mixed up rsh and nfs .
Now , I checked , the nfsd is started , but still not work, cand advise what I need to do ? thx |
Please don't post additional responses without showing what extra research you have done in the meaning etc.
That error, which I hope you have been reading up on, is usually down to portmap not running. check that service is also up and at it. |
Quote:
you mean the portmap service ? I just checked , the portmap service is on portmap 0 off 1 off 2 off 3 on 4 on 5 on 6 off |
Try the following on your nfs server
Code:
ps -ef|grep nfs https://www.linuxquestions.org/quest...ersion-627485/ https://access.redhat.com/knowledge/...de/ch-nfs.html |
thanks reply ,
I have started the nfs service , it works now. But I have a question about the service , I use service to check to check it , it is stopped . # service nfs status rpc.mountd is stopped nfsd is stopped rpc.rquotad is stopped When I use chkconfig to check nfs , it is on . #chkconfig --list |grep nfs nfs 0off 1:off 2:on 3:on 4:on 5:on 6:off can advise what is the difference between this two ways to check the service ? thanks. |
chkconfig says whether it CAN be on & it will be set on at next reboot.
service turns it on on/off immediately, WITHOUT regard to chkconfig settings. See http://linux.die.net/man/8/chkconfig http://www.linuxtopia.org/online_boo...chkconfig.html http://linux.die.net/man/8/service http://www.linuxtopia.org/online_boo...es-ntsysv.html |
All times are GMT -5. The time now is 05:10 PM. |