LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
Search this Thread
Old 08-30-2004, 03:29 AM   #1
TexasDex
Member
 
Registered: Feb 2003
Location: The Attic. Nowhere near Texas.
Distribution: Gentoo, Kubuntu, formerly LFS, SuSE, and RedHat
Posts: 133

Rep: Reputation: 15
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)?
 
Old 08-30-2004, 03:51 AM   #2
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
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.
Old 08-30-2004, 07:26 AM   #3
TexasDex
Member
 
Registered: Feb 2003
Location: The Attic. Nowhere near Texas.
Distribution: Gentoo, Kubuntu, formerly LFS, SuSE, and RedHat
Posts: 133

Original Poster
Rep: Reputation: 15
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??
 
Old 01-23-2005, 11:42 PM   #4
skeeter4872
LQ Newbie
 
Registered: Jan 2005
Location: Calgary, AB
Distribution: Fedora Core 3
Posts: 1

Rep: Reputation: 0
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?
 
Old 09-20-2008, 10:02 PM   #5
pjz
Member
 
Registered: Sep 2003
Posts: 71

Rep: Reputation: 15
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
 
Old 03-18-2010, 03:48 AM   #6
indranil_camellia
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Rep: Reputation: 0
[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.
 
Old 03-18-2010, 08:51 PM   #7
linest
LQ Newbie
 
Registered: Sep 2008
Posts: 23

Rep: Reputation: 1
Quote:
Originally Posted by TexasDex View Post
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 View Post
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.
 
Old 03-23-2010, 01:36 AM   #8
indranil_camellia
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Rep: Reputation: 0
Smile

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.
 
Old 03-23-2010, 01:42 AM   #9
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Bangalore, India
Distribution: Linux Mint 13
Posts: 590

Rep: Reputation: 64
Quote:
Originally Posted by indranil_camellia View Post
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
 
Old 03-23-2010, 01:54 AM   #10
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,280

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
@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.

Also, no such thing as RHEL 9; if you mean RH 9 (codename Shrike) that's completely obsolete; hasn't been updated (inc security)i in years. Do yourself and us a favour and get a current distro eg Centos (free version of RHEL) currently v5.4
http://en.wikipedia.org/wiki/Red_Hat_Linux
http://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux
http://en.wikipedia.org/wiki/CentOS
http://www.linuxtopia.org/online_boo...ion/index.html
 
Old 03-23-2010, 02:02 AM   #11
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Bangalore, India
Distribution: Linux Mint 13
Posts: 590

Rep: Reputation: 64
I was also wondering about this RHEL9
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
boot fails due to large harddrive Oh Cisco Debian 3 10-27-2004 12:24 AM
nfsd will not start TheOneAndOnlySM Slackware 2 06-08-2004 06:19 PM
snort fails at startup due to rule zuessh Linux - Security 2 12-06-2003 08:49 AM
RedHat 7.2 Gnome fails due to segmentation fault chris.hicks Linux - Software 3 09-23-2003 10:27 AM
rpc.statd won't start mahaabaala Linux - Software 0 01-24-2003 05:04 AM


All times are GMT -5. The time now is 06:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration