Operating System - HP-UX
1837655 Members
2963 Online
110117 Solutions
New Discussion

How do I start mountd from the command line

 
SOLVED
Go to solution
Brad Beard
Occasional Advisor

How do I start mountd from the command line

I need to start mountd (rpc.mountd) from the command line since it didn't start during my reboot. I cannot reboot at this time, so I need to get it running via the command line. Thanks.
2 REPLIES 2
Anthony Goonetilleke
Esteemed Contributor
Solution

Re: How do I start mountd from the command line

Check /etc/rc.config.d/nfsconf

There should be a line with the following

START_MOUNTD=1

once you have set this you can do the following

/sbin/init.d/nfs.server start

This will start it up.

If you want the exact syntax have a look inside the nfs.server script.

regards,
Anthony
Minimum effort maximum output!
eRT
Occasional Advisor

Re: How do I start mountd from the command line

Just for clarification you do not need that variable set in the configuration file. You can just use:
usr/sbin/rpc.mountd stop
usr/sbin/rpc.mountd start

from the command line. Although most people do have the variable set in the configuration file to start the daemon automatically.

Regards