Linux - Software This 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.
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-30-2004, 03:29 AM
|
#1
|
|
Member
Registered: Feb 2003
Location: The Attic. Nowhere near Texas.
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)?
|
|
|
|
08-30-2004, 03:51 AM
|
#2
|
|
Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546
Rep:
|
Hi TexasDex,
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 -
chkconfig nfs on
Please note that for SUSE, you may need to use
/etc/rc.d/init.d/portmap start
/etc/rc.d/init.d/nfs start
Hope that helps..
--amit
|
|
|
1 members found this post helpful.
|
08-30-2004, 07:26 AM
|
#3
|
|
Member
Registered: Feb 2003
Location: The Attic. Nowhere near Texas.
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??
|
|
|
|
01-23-2005, 11:42 PM
|
#4
|
|
LQ Newbie
Registered: Jan 2005
Location: Calgary, AB
Distribution: Fedora Core 3
Posts: 1
Rep:
|
Can't get NFS to start
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.
Any ideas?
|
|
|
|
09-20-2008, 10:02 PM
|
#5
|
|
Member
Registered: Sep 2003
Posts: 71
Rep:
|
Try this...
Hi skeeter-
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.
cheers
pjz
|
|
|
|
03-18-2010, 03:48 AM
|
#6
|
|
LQ Newbie
Registered: Oct 2009
Posts: 4
Rep:
|
[QUOTE=coolamit78;1142734]Hi TexasDex,
i have tried the command
service nfs start
but the nfs dawmon has failed.
help
i am running RHEL 5 but the above error is coming and also the rpcbind service it not on the system
Last edited by indranil_camellia; 03-18-2010 at 03:50 AM.
|
|
|
|
03-18-2010, 08:51 PM
|
#7
|
|
LQ Newbie
Registered: Sep 2008
Posts: 23
Rep:
|
Quote:
Originally Posted by TexasDex
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.
|
|
|
|
03-23-2010, 01:36 AM
|
#8
|
|
LQ Newbie
Registered: Oct 2009
Posts: 4
Rep:
|
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.
|
|
|
|
03-23-2010, 01:42 AM
|
#9
|
|
Member
Registered: Feb 2010
Location: Bangalore, India
Distribution: Fedora, Linux Mint 10
Posts: 588
Rep:
|
Quote:
Originally Posted by indranil_camellia
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.
|
Then install rpcbind.
http://rpm.pbone.net/index.php3
|
|
|
|
03-23-2010, 02:02 AM
|
#11
|
|
Member
Registered: Feb 2010
Location: Bangalore, India
Distribution: Fedora, Linux Mint 10
Posts: 588
Rep:
|
I was also wondering about this RHEL9 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:44 AM.
|
|
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
|
|