RH-6.1: rpc.mountd, rpc.nfsd NOT running!

RH-6.1: rpc.mountd, rpc.nfsd NOT running!

Post by Didier Guillevi » Fri, 08 Oct 1999 04:00:00



Bonjour,

Just upgraded one box from RedHat-5.2 to 6.1.  From that box, I can "see
the world" and automount any machines in my network; e.g.:

  RH-6.1>  ls /net/RH-5.1-Box  /net/HPUX-Box

No problem from that new box to my other boxes running other flavours of
Unix.  The problem is to access the RH-6.1 from my other machines.  I
simply cannot do it; e.g.:

  RH-5.1>  ls /net/RH-6.1-Box
  ls: /net/RH-6.1-Box: Resource temporarily unavailable

If I try mount, I get:

  RH-5.1>  mount RH-6.1-Box:/  /mnt/RH-6.1-Box
  mount: RPC: Program not registered

Reading the Network's Administrator Guide, I saw that the daemons
'mountd' and 'nfsd' have to be running for a machine to be able to share
its disks.  And upon checking, I see that those daemons are not running
in the RH-6.1 box.  (They were running when that box was a RH-5.2).

  RH-6.1>  ps aux | grep rpc
  root  341  0.0  0.0     0    0 ?   SW  15:09   0:00 [rpciod]
  root  541  0.0  0.4  1124  292 ?   S   15:09   0:00 rpc.rusersd

Soooo, no 'rpc.mountd' and 'rpc.nfsd' running...

I noticed that the S60nfs file has been moved from rc3.d/ to rc4.d/ in
the new RH-6.1.  So I made sure that my initdefault is set to 5 (and not
3) in /etc/inittab.  Still, after reboot, the 'mountd' and 'nfsd'
processes are still not running.  And I am still not able to mount the
RH-6.1 box from my other machines...

Any idea?!

Thanks a lot for your time and any input,

Didier

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

RH-6.1: rpc.mountd, rpc.nfsd NOT running!

Post by Didier Guillevi » Fri, 08 Oct 1999 04:00:00




Quote:> Bonjour,

> Just upgraded one box from RedHat-5.2 to 6.1.  From that box, I can
"see
> the world" and automount any machines in my network; e.g.:

>   RH-6.1>  ls /net/RH-5.1-Box  /net/HPUX-Box

> No problem from that new box to my other boxes running other flavours
of
> Unix.  The problem is to access the RH-6.1 from my other machines.  I
> simply cannot do it; e.g.:

>   RH-5.1>  ls /net/RH-6.1-Box
>   ls: /net/RH-6.1-Box: Resource temporarily unavailable

> If I try mount, I get:

>   RH-5.1>  mount RH-6.1-Box:/  /mnt/RH-6.1-Box
>   mount: RPC: Program not registered

> Reading the Network's Administrator Guide, I saw that the daemons
> 'mountd' and 'nfsd' have to be running for a machine to be able to
share
> its disks.  And upon checking, I see that those daemons are not
running
> in the RH-6.1 box.  (They were running when that box was a RH-5.2).

>   RH-6.1>  ps aux | grep rpc
>   root  341  0.0  0.0     0    0 ?   SW  15:09   0:00 [rpciod]
>   root  541  0.0  0.4  1124  292 ?   S   15:09   0:00 rpc.rusersd

> Soooo, no 'rpc.mountd' and 'rpc.nfsd' running...

> I noticed that the S60nfs file has been moved from rc3.d/ to rc4.d/ in
> the new RH-6.1.  So I made sure that my initdefault is set to 5 (and
not
> 3) in /etc/inittab.  Still, after reboot, the 'mountd' and 'nfsd'
> processes are still not running.  And I am still not able to mount the
> RH-6.1 box from my other machines...

> Any idea?!

> Thanks a lot for your time and any input,

> Didier

> Sent via Deja.com http://www.deja.com/
> Before you buy.

Huuummm, it seems that I managed to make it work by simply adding links
to /etc/rc.d/init.d/nfs, not only at the run level 4 (default
installation), but also at run levels 3 and 5:

 rc3.d/S60nfs -> ../init.d/nfs
 rc4.d/S60nfs -> ../init.d/nfs
 rc5.d/S60nfs -> ../init.d/nfs

And now I have the rpc.mountd running.  The rpc.nfsd is not there but I
found in the newsgroup archive that it was `normal' for RedHat-6.*.

Thanks for your time if you read this far.

Didier

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

RH-6.1: rpc.mountd, rpc.nfsd NOT running!

Post by Richard Zac » Fri, 08 Oct 1999 04:00:00


Quote:>   mount: RPC: Program not registered
> Any idea?!

You need to make sure portmap is running on your RH6.1 box, and you need to
make sure it is loaded before your nfsd and mountd programs are running.

If portmap is installed, there is problably a /etc/rc.d/init.d/portmap
file.  Use that to start and stop the service.  Same thing goes for nfs.

Good Luck!


Red Hat Certified Engineer (RHCE)

Pantek Incorporated  -  www.pantek.com
---------------------------------------------------
Commercial Linux Support and Solutions Center
Network Consulting and Network Security
Internet Access Solutions
440-708-1855
---------------------------------------------------

 
 
 

RH-6.1: rpc.mountd, rpc.nfsd NOT running!

Post by QuestionExchang » Wed, 13 Oct 1999 04:00:00


Use the 'ntsysv' utility to control which services are
automatically started when your computer boots.  Make sure
you turn on nfs, netfs, and portmap.  portmap is like a
"meta-process" that dispatches RPC requests to the correct
process; sort of the same thing that inetd does for TCP,
portmap does for RPC.

Quote:> Bonjour,

> Just upgraded one box from RedHat-5.2 to 6.1.  From that box,
I can "see
> the world" and automount any machines in my network; e.g.:

>   RH-6.1>  ls /net/RH-5.1-Box  /net/HPUX-Box

> No problem from that new box to my other boxes running other
flavours of
> Unix.  The problem is to access the RH-6.1 from my other
machines.  I
> simply cannot do it; e.g.:

>   RH-5.1>  ls /net/RH-6.1-Box
>   ls: /net/RH-6.1-Box: Resource temporarily unavailable

> If I try mount, I get:

>   RH-5.1>  mount RH-6.1-Box:/  /mnt/RH-6.1-Box
>   mount: RPC: Program not registered

> Reading the Network's Administrator Guide, I saw that the
daemons
> 'mountd' and 'nfsd' have to be running for a machine to be
able to share
> its disks.  And upon checking, I see that those daemons are
not running
> in the RH-6.1 box.  (They were running when that box was a
RH-5.2).

>   RH-6.1>  ps aux | grep rpc
>   root  341  0.0  0.0     0    0 ?   SW  15:09   0:00
[rpciod]
>   root  541  0.0  0.4  1124  292 ?   S   15:09   0:00
rpc.rusersd

> Soooo, no 'rpc.mountd' and 'rpc.nfsd' running...

> I noticed that the S60nfs file has been moved from rc3.d/ to
rc4.d/ in
> the new RH-6.1.  So I made sure that my initdefault is set to
5 (and not
> 3) in /etc/inittab.  Still, after reboot, the 'mountd' and
'nfsd'
> processes are still not running.  And I am still not able to
mount the
> RH-6.1 box from my other machines...

> Any idea?!

> Thanks a lot for your time and any input,

> Didier

> Sent via Deja.com http://www.deja.com/
> Before you buy.

--
  This answer is courtesy of QuestionExchange.com
  http://www.questionexchange.com/showUsenetGuest.jhtml?ans_id=5023&cus...
 
 
 

1. How to use rpc.portmap, rpc.mountd, rpc.nfsd?

[Q2] Stupid but non-FAQ NFS question #2:
Thanks for the help of finding out the rpc.portmap, rpc.mountd, rcp.nfsd.  
Still, after reading the NFS-FAQ, Linux Network Admin Guide, none of these guys
seem to work at all.  I still get the message of RPC fault: program is not
registered.  I guess I really need a cookbook example.

Let's say I have machines A and B which both of them can telnet and ftp to each
other.  In other words, they are properly connected.  Now, this is how I did.
I add three statements at the begninning of the rc.inet2 at machine A:

/usr/sbin/rpc.portmap
/usr/sbin/rpc.mountd
/usr/sbin/rpc.nfsd
/bin/mount -t nfs B:/home /mnt

Then, I add /mnt B[rw] at /etc/exports at machine A.
Then, reboot machine A, and it prompts RPC fault: program is not registered.
Can anyone provide me an idiot-proof way of attacking this?  Thanks.
BTW, someone mention "premeter".  What is that?

--

Salem

2. Reading MS Word files on Unix

3. Where are rpc.portmap, rpc.mountd, rpc.nfsd?

4. HACMP and J50s

5. Dangers of rpc.portmap, rpc.mountd, rpc.nfsd

6. Previous Question(.....Continuing )

7. rpc.nfsd and rpc.mountd won't start from rsh

8. FAQ/Reference requested for IOCTLS

9. pre2.0.7-8 break rpc.mountd, rpc.nfsd

10. rpc.mountd and rpc.nfsd killed and restarting automatically

11. rpc.nsfd and rpc.mountd does not start

12. rpc.moutnd & rpc.nfsd not spawned