Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
Distribution: Gentoo, Kubuntu, formerly LFS, SuSE, and RedHat
Posts: 133
Rep:
NFSd fails to start due to RPC?
My network has been running Samba as it's primary file-service ever since I first started using Linux with my RedHat 8.0 server. I continued using Samba even after I switched my computer and my brother's computer to SuSE 9.1, but it has given us both problems with file permissions and mounting.
I would like to start using NFS on the server, but the service refuses to start:
Code:
[root@Meg root]# /etc/init.d/nfs start
Starting NFS services: [ OK ]
Starting NFS quotas: Cannot register service:
RPC: Unable to receive; errno = Connection refused
rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp).
[FAILED]
Starting NFS daemon:
(at this point it does nothing for several minutes,
and I have to press Ctrl+C to stop it)
I don't use filesystem quotas, and I don't know of any particular setting that I changed since I installed RedHat 8.0. What is happening here? Is there some problem with my configuration? Or should I just try to re-install the whole NFSd (or a newer version)?
Each time that you start the NFS service, a dynamic port number is assigned to nfsd. This assignment is made through the 'Portmapper' daemon. So, before starting NFS, you need to switch on the portmapper service...In Red Hat 8/9, you can do that with
service portmap start
and If you want portmapper to start everytime at startup then as root
chkconfig portmap on
Now once portmapper gets running, you can start your NFS server
service nfs start
To start NFS at system startup, as root, give the command -
Distribution: Gentoo, Kubuntu, formerly LFS, SuSE, and RedHat
Posts: 133
Original Poster
Rep:
Thank you.
NFS is up. Now how do I use it?
I've gotten as far as exporting and mounting a directory, but I don't have the permissions working. It almost seems like you need to have the exact same UID on both computers. How do I fix that without having to change the UIDs on all of the computers to match eachother??
I am having exactly the same trouble that TexasDex was having. Unfortunately the fix outlined below is not working for me. I would really appreciate some assistance.
When I enter:
service portmap start - I get:
bash: service: command not found
When I enter:
chkconfig portmap on - I get:
bash: chkconfig: command not found
Because I cannot get portmapper running, I can't start my NFS server.
You should check your /etc/init.d directory for the portmap script. If you don't have a portmap script, nothing is going to happen when you call out the portmap start. I'm running FC9 and I looked on a RH9 system, lifted the portmap script whole, and got past this problem.
I've gotten as far as exporting and mounting a directory, but I don't have the permissions working. It almost seems like you need to have the exact same UID on both computers.
Yes, that is exactly correct.
Quote:
Originally Posted by TexasDex
How do I fix that without having to change the UIDs on all of the computers to match eachother??
You do it by changing the UIDs on all the computers to match each other. Sorry, that's how it's done.
If you're environment is going to grow, set up an LDAP server and centralize your account information. Having the same password everywhere is pretty useful.
i am very much helpful with the suggestion regarding nfs from you
but i am having a problem with rpcbind
it says rpcbind package not installed i am using rhel 9
can you help me solve this problem.
i am very much helpful with the suggestion regarding nfs from you
but i am having a problem with rpcbind
it says rpcbind package not installed i am using rhel 9
can you help me solve this problem.
@indranil_camellia: Thread started in 2004, had replies in 2005, 2008.
You should really have started a brand new one; try not to revive yrs dead threads.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.