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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-20-2012, 05:10 AM
|
#1
|
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130
Rep:
|
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
|
|
|
08-20-2012, 05:14 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well rsh has *NOTHING* to do with NFS for a start... which protocol do you want to use??
|
|
|
08-20-2012, 06:48 AM
|
#3
|
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130
Original Poster
Rep:
|
deleted
Last edited by ust; 08-20-2012 at 06:52 AM.
|
|
|
08-20-2012, 06:52 AM
|
#4
|
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130
Original Poster
Rep:
|
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
|
|
|
08-20-2012, 09:44 AM
|
#5
|
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130
Original Poster
Rep:
|
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
|
|
|
08-20-2012, 09:49 AM
|
#6
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
08-20-2012, 07:32 PM
|
#7
|
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130
Original Poster
Rep:
|
Quote:
Originally Posted by acid_kewpie
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.
|
thx reply ,
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
|
|
|
08-21-2012, 03:23 AM
|
#9
|
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130
Original Poster
Rep:
|
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 ff 2 n 3 n 4 n 5 n 6 ff
can advise what is the difference between this two ways to check the service ?
thanks.
|
|
|
08-21-2012, 07:22 PM
|
#10
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,403
|
|
|
|
All times are GMT -5. The time now is 03:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|